Skip to content

Commit 5fe63f4

Browse files
author
msftbot[bot]
authored
Uno Platform Compatibility updates (#3651)
## PR Type What kind of change does this PR introduce? - Refactoring (no functional changes, no api changes) ## What is the new behavior? This PR adds a set of forward compatibilty changes to ease the cross-compilation of the community toolkit to Uno Platform targets. - Partials are needed for code generation - Use `TargetFrameworks` instead of `TargetFramework` to allow for late modification of the platform list ## PR Checklist Please check if your PR fulfills the following requirements: - [ ] Tested code with current [supported SDKs](../readme.md#supported) - [ ] Pull Request has been submitted to the documentation repository [instructions](..\contributing.md#docs). Link: <!-- docs PR link --> - [ ] Sample in sample app has been added / updated (for bug fixes / features) - [ ] Icon has been created (if new sample) following the [Thumbnail Style Guide and templates](https://github.com/windows-toolkit/WindowsCommunityToolkit-design-assets) - [ ] New major technical changes in the toolkit have or will be added to the [Wiki](https://github.com/windows-toolkit/WindowsCommunityToolkit/wiki) e.g. build changes, source generators, testing infrastructure, sample creation changes, etc... - [ ] Tests for the changes have been added (for bug fixes / features) (if applicable) - [ ] Header has been added to all new source files (run *build/UpdateHeaders.bat*) - [x] Contains **NO** breaking changes <!-- If this PR contains a breaking change, please describe the impact and migration path for existing applications below. Please note that breaking changes are likely to be rejected within minor release cycles or held until major versions. --> ## Other information
2 parents 05a42e3 + f3c17bf commit 5fe63f4

File tree

43 files changed

+47
-43
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+47
-43
lines changed

Microsoft.Toolkit.Uwp.Connectivity/Microsoft.Toolkit.Uwp.Connectivity.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="MSBuild.Sdk.Extras">
22

33
<PropertyGroup>
4-
<TargetFramework>uap10.0.17763</TargetFramework>
4+
<TargetFrameworks>uap10.0.17763</TargetFrameworks>
55
<Title>Windows Community Toolkit Devices</Title>
66
<Description>This library enables easier consumption of connectivity Devices/Peripherals and handle its connection to Windows devices. It contains BluetoothLE and Network connectivity helpers.</Description>
77
<PackageTags>UWP Toolkit Windows Devices Bluetooth BluetoothLE BLE Networking</PackageTags>

Microsoft.Toolkit.Uwp.DeveloperTools/AlignmentGrid/AlignmentGrid.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ namespace Microsoft.Toolkit.Uwp.DeveloperTools
1212
/// <summary>
1313
/// AlignmentGrid is used to display a grid to help aligning controls
1414
/// </summary>
15-
public class AlignmentGrid : ContentControl
15+
public partial class AlignmentGrid : ContentControl
1616
{
1717
/// <summary>
1818
/// Identifies the <see cref="LineBrush"/> dependency property.

Microsoft.Toolkit.Uwp.DeveloperTools/FocusTracker/FocusTracker.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace Microsoft.Toolkit.Uwp.DeveloperTools
2424
[TemplatePart(Name = "ControlType", Type = typeof(TextBlock))]
2525
[TemplatePart(Name = "ControlAutomationName", Type = typeof(TextBlock))]
2626
[TemplatePart(Name = "ControlFirstParentWithName", Type = typeof(TextBlock))]
27-
public class FocusTracker : Control
27+
public partial class FocusTracker : Control
2828
{
2929
/// <summary>
3030
/// Defines the <see cref="IsActive"/> dependency property.

Microsoft.Toolkit.Uwp.DeveloperTools/Microsoft.Toolkit.Uwp.DeveloperTools.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="MSBuild.Sdk.Extras">
22

33
<PropertyGroup>
4-
<TargetFramework>uap10.0.17763</TargetFramework>
4+
<TargetFrameworks>uap10.0.17763</TargetFrameworks>
55
<Title>Windows Community Toolkit Developer Tools</Title>
66
<Description>This library provides XAML user controls and services to help developers build their app. It is part of the Windows Community Toolkit.
77

Microsoft.Toolkit.Uwp.UI.Animations/CompositionAnimations/Animations/AnimationBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ namespace Microsoft.Toolkit.Uwp.UI.Animations
1414
/// Abstract class providing common dependency properties for composition animations
1515
/// </summary>
1616
[ContentProperty(Name = nameof(KeyFrames))]
17-
public abstract class AnimationBase : DependencyObject
17+
public abstract partial class AnimationBase : DependencyObject
1818
{
1919
/// <summary>
2020
/// Identifies the <see cref="Target"/> property

Microsoft.Toolkit.Uwp.UI.Animations/CompositionAnimations/KeyFrames/KeyFrame.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace Microsoft.Toolkit.Uwp.UI.Animations
99
/// <summary>
1010
/// Provides common Dependency properties for KeyFrames
1111
/// </summary>
12-
public abstract class KeyFrame : DependencyObject
12+
public abstract partial class KeyFrame : DependencyObject
1313
{
1414
/// <summary>
1515
/// Identifies the <see cref="Key"/> dependency property

Microsoft.Toolkit.Uwp.UI.Animations/Extensions/AnimationTools.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace Microsoft.Toolkit.Uwp.UI.Animations
99
/// <summary>
1010
/// Internal tool to link composite transforms to elements
1111
/// </summary>
12-
internal class AnimationTools : DependencyObject
12+
internal partial class AnimationTools : DependencyObject
1313
{
1414
/// <summary>
1515
/// Attached property used to link composite transform with UIElement

Microsoft.Toolkit.Uwp.UI.Animations/Microsoft.Toolkit.Uwp.UI.Animations.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="MSBuild.Sdk.Extras">
22

33
<PropertyGroup>
4-
<TargetFramework>uap10.0.17763</TargetFramework>
4+
<TargetFrameworks>uap10.0.17763</TargetFrameworks>
55
<Title>Windows Community Toolkit Animations</Title>
66
<Description>
77
This library provides helpers and extensions on top of Windows Composition and XAML storyboards. It is part of the Windows Community Toolkit.

Microsoft.Toolkit.Uwp.UI.Controls.DataGrid/Microsoft.Toolkit.Uwp.UI.Controls.DataGrid.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="MSBuild.Sdk.Extras">
22
<PropertyGroup>
3-
<TargetFramework>uap10.0.17763</TargetFramework>
3+
<TargetFrameworks>uap10.0.17763</TargetFrameworks>
44
<Title>Windows Community Toolkit Controls DataGrid</Title>
55
<Description>
66
This library provides a XAML DataGrid control. It is part of the Windows Community Toolkit.

Microsoft.Toolkit.Uwp.UI.Controls.Layout/Microsoft.Toolkit.Uwp.UI.Controls.Layout.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="MSBuild.Sdk.Extras">
22

33
<PropertyGroup>
4-
<TargetFramework>uap10.0.17763</TargetFramework>
4+
<TargetFrameworks>uap10.0.17763</TargetFrameworks>
55
<TargetPlatformVersion Condition="'$(TargetPlatformVersion)' == '' ">10.0.19041.0</TargetPlatformVersion>
66
<Title>Windows Community Toolkit Layout</Title>
77
<Description>

Microsoft.Toolkit.Uwp.UI.Controls.Markdown/Microsoft.Toolkit.Uwp.UI.Controls.Markdown.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="MSBuild.Sdk.Extras">
22
<PropertyGroup>
3-
<TargetFramework>uap10.0.17763</TargetFramework>
3+
<TargetFrameworks>uap10.0.17763</TargetFrameworks>
44
<Title>Windows Community Toolkit Controls Markdown</Title>
55
<Description>
66
This library provides a XAML MarkdownTextBlock control, an efficient and extensible control that can parse and render markdown. It is part of the Windows Community Toolkit.

Microsoft.Toolkit.Uwp.UI.Controls/Carousel/Carousel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ namespace Microsoft.Toolkit.Uwp.UI.Controls
2020
/// <summary>
2121
/// A modern UI Carousel control. Really flexible. Works with touch, keyboard, mouse.
2222
/// </summary>
23-
public class Carousel : ItemsControl
23+
public partial class Carousel : ItemsControl
2424
{
2525
/// <summary>
2626
/// Gets or sets the selected item.

Microsoft.Toolkit.Uwp.UI.Controls/Carousel/CarouselItem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace Microsoft.Toolkit.Uwp.UI.Controls
1313
/// <summary>
1414
/// Represents the container for an item in a Carousel control.
1515
/// </summary>
16-
public class CarouselItem : SelectorItem
16+
public partial class CarouselItem : SelectorItem
1717
{
1818
private const string PointerOverState = "PointerOver";
1919
private const string PointerOverSelectedState = "PointerOverSelected";

Microsoft.Toolkit.Uwp.UI.Controls/Carousel/CarouselPanel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace Microsoft.Toolkit.Uwp.UI.Controls
1818
/// <summary>
1919
/// The panel used in the <see cref="Carousel"/> control
2020
/// </summary>
21-
public class CarouselPanel : Panel
21+
public partial class CarouselPanel : Panel
2222
{
2323
// Storyboard on gesture
2424
private Storyboard storyboard = new Storyboard();

Microsoft.Toolkit.Uwp.UI.Controls/ColorPicker/ColorPickerButton.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ namespace Microsoft.Toolkit.Uwp.UI.Controls
1717
/// A <see cref="DropDownButton"/> which displays a color as its <c>Content</c> and it's <c>Flyout</c> is a <see cref="ColorPicker"/>.
1818
/// </summary>
1919
[TemplatePart(Name = nameof(CheckeredBackgroundBorder), Type = typeof(Border))]
20-
public class ColorPickerButton : DropDownButton
20+
public partial class ColorPickerButton : DropDownButton
2121
{
2222
/// <summary>
2323
/// Gets the <see cref="Controls.ColorPicker"/> instances contained by the <see cref="DropDownButton"/>.

Microsoft.Toolkit.Uwp.UI.Controls/HeaderedContentControl/HeaderedContentControl.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace Microsoft.Toolkit.Uwp.UI.Controls
1010
/// <summary>
1111
/// Provides the base implementation for all controls that contain single content and have a header.
1212
/// </summary>
13-
public class HeaderedContentControl : ContentControl
13+
public partial class HeaderedContentControl : ContentControl
1414
{
1515
private const string PartHeaderPresenter = "HeaderPresenter";
1616

Microsoft.Toolkit.Uwp.UI.Controls/HeaderedItemsControl/HeaderedItemsControl.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace Microsoft.Toolkit.Uwp.UI.Controls
1010
/// <summary>
1111
/// Represents a control that contains multiple items and has a header.
1212
/// </summary>
13-
public class HeaderedItemsControl : ItemsControl
13+
public partial class HeaderedItemsControl : ItemsControl
1414
{
1515
/// <summary>
1616
/// Initializes a new instance of the <see cref="HeaderedItemsControl"/> class.

Microsoft.Toolkit.Uwp.UI.Controls/LayoutTransformControl/PropertyChangeEventSource.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ namespace Microsoft.Toolkit.Uwp.UI.Controls
1212
/// Allows raise an event when the value of a dependency property changes when a view model is otherwise not necessary.
1313
/// </summary>
1414
/// <typeparam name="TPropertyType">Type of the DependencyProperty</typeparam>
15-
internal class PropertyChangeEventSource<TPropertyType> : FrameworkElement
15+
internal partial class PropertyChangeEventSource<TPropertyType> : FrameworkElement
1616
{
1717
private readonly DependencyObject _source;
1818

Microsoft.Toolkit.Uwp.UI.Controls/Microsoft.Toolkit.Uwp.UI.Controls.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="MSBuild.Sdk.Extras">
22

33
<PropertyGroup>
4-
<TargetFramework>uap10.0.17763</TargetFramework>
4+
<TargetFrameworks>uap10.0.17763</TargetFrameworks>
55
<Title>Windows Community Toolkit Controls</Title>
66
<Description>
77
This library provides XAML templated controls. It is part of the Windows Community Toolkit.

Microsoft.Toolkit.Uwp.UI.Controls/OrbitView/OrbitView.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace Microsoft.Toolkit.Uwp.UI.Controls
2424
[TemplatePart(Name = "AnchorCanvas", Type = typeof(Canvas))]
2525
[TemplatePart(Name = "OrbitGrid", Type = typeof(Grid))]
2626
[TemplatePart(Name = "CenterContent", Type = typeof(ContentPresenter))]
27-
public class OrbitView : ItemsControl
27+
public partial class OrbitView : ItemsControl
2828
{
2929
private const double AnimationDuration = 200;
3030

Microsoft.Toolkit.Uwp.UI.Controls/OrbitView/OrbitViewDataItem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace Microsoft.Toolkit.Uwp.UI.Controls
1111
/// <summary>
1212
/// A class that can be used to provide data context for <see cref="OrbitView"></see> items by providing distance and diameter values
1313
/// </summary>
14-
public class OrbitViewDataItem : DependencyObject
14+
public partial class OrbitViewDataItem : DependencyObject
1515
{
1616
/// <summary>
1717
/// Gets or sets a value indicating the distance from the center.

Microsoft.Toolkit.Uwp.UI.Controls/OrbitView/OrbitViewItem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ namespace Microsoft.Toolkit.Uwp.UI.Controls
1717
[TemplateVisualState(Name = VsNormal, GroupName = CommonStateGroup)]
1818
[TemplateVisualState(Name = VsPressed, GroupName = CommonStateGroup)]
1919
[TemplateVisualState(Name = VsPointerOver, GroupName = CommonStateGroup)]
20-
public class OrbitViewItem : ContentControl
20+
public partial class OrbitViewItem : ContentControl
2121
{
2222
private const string CommonStateGroup = "CommonStates";
2323
private const string VsNormal = "Normal";

Microsoft.Toolkit.Uwp.UI.Controls/RadialProgressBar/RadialProgressBar.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ namespace Microsoft.Toolkit.Uwp.UI.Controls
1919
[TemplatePart(Name = OutlineArcPartName, Type = typeof(ArcSegment))]
2020
[TemplatePart(Name = BarFigurePartName, Type = typeof(PathFigure))]
2121
[TemplatePart(Name = BarArcPartName, Type = typeof(ArcSegment))]
22-
public class RadialProgressBar : ProgressBar
22+
public partial class RadialProgressBar : ProgressBar
2323
{
2424
private const string OutlineFigurePartName = "OutlineFigurePart";
2525
private const string OutlineArcPartName = "OutlineArcPart";

Microsoft.Toolkit.Uwp.UI.Controls/RemoteDevicePicker/RemoteDevicePicker.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace Microsoft.Toolkit.Uwp.UI.Controls
2525
[TemplatePart(Name = "StatusType", Type = typeof(ComboBox))]
2626
[TemplatePart(Name = "AuthorizationType", Type = typeof(ComboBox))]
2727
[TemplatePart(Name = "AdvancedFiltersGrid", Type = typeof(Grid))]
28-
public sealed class RemoteDevicePicker : ContentDialog
28+
public sealed partial class RemoteDevicePicker : ContentDialog
2929
{
3030
private ListView _listDevices;
3131
private ComboBox _listDeviceTypes;

Microsoft.Toolkit.Uwp.UI.Controls/RotatorTile/RotatorTile.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace Microsoft.Toolkit.Uwp.UI.Controls
2323
[TemplatePart(Name = NextPartName, Type = typeof(FrameworkElement))]
2424
[TemplatePart(Name = TranslatePartName, Type = typeof(TranslateTransform))]
2525
[TemplatePart(Name = StackPartName, Type = typeof(StackPanel))]
26-
public class RotatorTile : Control
26+
public partial class RotatorTile : Control
2727
{
2828
private const string ScrollerPartName = "Scroller";
2929
private const string CurrentPartName = "Current";

Microsoft.Toolkit.Uwp.UI.Controls/ScrollHeader/ScrollHeader.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ namespace Microsoft.Toolkit.Uwp.UI.Controls
1414
/// <summary>
1515
/// Scroll header control to be used with ListViews or GridViews
1616
/// </summary>
17-
public class ScrollHeader : ContentControl
17+
public partial class ScrollHeader : ContentControl
1818
{
1919
/// <summary>
2020
/// Initializes a new instance of the <see cref="ScrollHeader"/> class.

Microsoft.Toolkit.Uwp.UI.Controls/SwitchPresenter/Case.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ namespace Microsoft.Toolkit.Uwp.UI.Controls
1212
/// <see cref="Case"/> is the value container for the <see cref="SwitchPresenter"/>.
1313
/// </summary>
1414
[ContentProperty(Name = nameof(Content))]
15-
public class Case : DependencyObject
15+
public partial class Case : DependencyObject
1616
{
1717
internal SwitchPresenter Parent { get; set; } // TODO: Can we remove Parent need here and just use events?
1818

Microsoft.Toolkit.Uwp.UI.Controls/SwitchPresenter/SwitchPresenter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ namespace Microsoft.Toolkit.Uwp.UI.Controls
1515
/// When provided a set of <see cref="Case"/>s and a <see cref="Value"/>, it will pick the matching <see cref="Case"/> with the corresponding <see cref="Case.Value"/>.
1616
/// </summary>
1717
[ContentProperty(Name = nameof(SwitchCases))]
18-
public sealed class SwitchPresenter : ContentPresenter
18+
public sealed partial class SwitchPresenter : ContentPresenter
1919
{
2020
/// <summary>
2121
/// Gets the current <see cref="Case"/> which is being displayed.

Microsoft.Toolkit.Uwp.UI.Controls/TextToolbar/Symbols/List.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace Microsoft.Toolkit.Uwp.UI.Controls.TextToolbarSymbols
77
/// <summary>
88
/// Creates a List Icon
99
/// </summary>
10-
public class List : Symbol
10+
public partial class List : Symbol
1111
{
1212
/// <summary>
1313
/// Initializes a new instance of the <see cref="List"/> class.

Microsoft.Toolkit.Uwp.UI.Controls/TextToolbar/Symbols/NumberedList.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace Microsoft.Toolkit.Uwp.UI.Controls.TextToolbarSymbols
77
/// <summary>
88
/// Creates a Numbered List Icon
99
/// </summary>
10-
public class NumberedList : Symbol
10+
public partial class NumberedList : Symbol
1111
{
1212
/// <summary>
1313
/// Initializes a new instance of the <see cref="NumberedList"/> class.

Microsoft.Toolkit.Uwp.UI.Controls/TextToolbar/Symbols/Symbol.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace Microsoft.Toolkit.Uwp.UI.Controls.TextToolbarSymbols
1313
/// </summary>
1414
[TemplateVisualState(GroupName = Common, Name = Normal)]
1515
[TemplateVisualState(GroupName = Common, Name = Disabled)]
16-
public abstract class Symbol : Control
16+
public abstract partial class Symbol : Control
1717
{
1818
internal const string Common = "CommonStates";
1919
internal const string Normal = "Normal";

Microsoft.Toolkit.Uwp.UI.Controls/TextToolbar/ToolbarItems/DefaultButton.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace Microsoft.Toolkit.Uwp.UI.Controls.TextToolbarButtons
99
/// <summary>
1010
/// Specifies a DefaultButton, modifies a Button Instance
1111
/// </summary>
12-
public class DefaultButton : DependencyObject
12+
public partial class DefaultButton : DependencyObject
1313
{
1414
/// <summary>
1515
/// Identifies the <see cref="IsVisible"/> dependency property.

Microsoft.Toolkit.Uwp.UI.Controls/TextToolbar/ToolbarItems/ToolbarButton.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ namespace Microsoft.Toolkit.Uwp.UI.Controls.TextToolbarButtons
1414
/// <summary>
1515
/// An Interactive button in the TextToolbar, to perform a formatting task.
1616
/// </summary>
17-
public class ToolbarButton : AppBarButton, IToolbarItem, INotifyPropertyChanged
17+
public partial class ToolbarButton : AppBarButton, IToolbarItem, INotifyPropertyChanged
1818
{
1919
/// <summary>
2020
/// Identifies the <see cref="ToolTip"/> dependency property.
@@ -164,6 +164,7 @@ public int Position
164164
set
165165
{
166166
_position = value;
167+
167168
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(Position)));
168169
}
169170
}

Microsoft.Toolkit.Uwp.UI.Controls/TextToolbar/ToolbarItems/ToolbarSeparator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace Microsoft.Toolkit.Uwp.UI.Controls.TextToolbarButtons
99
/// <summary>
1010
/// Separates a collection of <see cref="IToolbarItem"/>
1111
/// </summary>
12-
public class ToolbarSeparator : AppBarSeparator, IToolbarItem
12+
public partial class ToolbarSeparator : AppBarSeparator, IToolbarItem
1313
{
1414
/// <summary>
1515
/// Initializes a new instance of the <see cref="ToolbarSeparator"/> class.

Microsoft.Toolkit.Uwp.UI.Controls/TokenizingTextBox/PretokenStringContainer.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66

77
namespace Microsoft.Toolkit.Uwp.UI.Controls
88
{
9-
internal class PretokenStringContainer : DependencyObject, ITokenStringContainer
9+
/// <summary>
10+
/// <see cref="TokenizingTextBox"/> support class
11+
/// </summary>
12+
internal partial class PretokenStringContainer : DependencyObject, ITokenStringContainer
1013
{
1114
public string Text
1215
{

Microsoft.Toolkit.Uwp.UI/Behaviors/FocusBehavior.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ public sealed class FocusTargetList : List<FocusTarget>
168168
/// <summary>
169169
/// A target for the <see cref="FocusBehavior"/>.
170170
/// </summary>
171-
public sealed class FocusTarget : DependencyObject
171+
public sealed partial class FocusTarget : DependencyObject
172172
{
173173
/// <summary>
174174
/// The DP to store the <see cref="Control"/> property value.

Microsoft.Toolkit.Uwp.UI/Converters/BoolToObjectConverter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ namespace Microsoft.Toolkit.Uwp.UI.Converters
1212
/// This class converts a boolean value into an other object.
1313
/// Can be used to convert true/false to visibility, a couple of colors, couple of images, etc.
1414
/// </summary>
15-
public class BoolToObjectConverter : DependencyObject, IValueConverter
15+
public partial class BoolToObjectConverter : DependencyObject, IValueConverter
1616
{
1717
/// <summary>
1818
/// Identifies the <see cref="TrueValue"/> property.

Microsoft.Toolkit.Uwp.UI/Converters/DoubleToObjectConverter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ namespace Microsoft.Toolkit.Uwp.UI.Converters
1515
/// Otherwise the logic looks for the value to be GreaterThan or LessThan the specified value.
1616
/// The ConverterParameter can be used to invert the logic.
1717
/// </summary>
18-
public class DoubleToObjectConverter : DependencyObject, IValueConverter
18+
public partial class DoubleToObjectConverter : DependencyObject, IValueConverter
1919
{
2020
/// <summary>
2121
/// Identifies the <see cref="TrueValue"/> property.

Microsoft.Toolkit.Uwp.UI/Converters/EmptyObjectToObjectConverter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ namespace Microsoft.Toolkit.Uwp.UI.Converters
1212
/// This class converts an object value into a an object (if the value is null returns the false value).
1313
/// Can be used to bind a visibility, a color or an image to the value of an object.
1414
/// </summary>
15-
public class EmptyObjectToObjectConverter : DependencyObject, IValueConverter
15+
public partial class EmptyObjectToObjectConverter : DependencyObject, IValueConverter
1616
{
1717
/// <summary>
1818
/// Identifies the <see cref="NotEmptyValue"/> property.

Microsoft.Toolkit.Uwp.UI/Converters/TypeToObjectConverter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace Microsoft.Toolkit.Uwp.UI.Converters
1111
/// <summary>
1212
/// This class returns an object or another, depending on whether the type of the provided value matches another provided Type.
1313
/// </summary>
14-
public class TypeToObjectConverter : DependencyObject, IValueConverter
14+
public partial class TypeToObjectConverter : DependencyObject, IValueConverter
1515
{
1616
/// <summary>
1717
/// Identifies the <see cref="TrueValue"/> property.

Microsoft.Toolkit.Uwp.UI/Helpers/BindableValueHolder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ namespace Microsoft.Toolkit.Uwp.UI.Helpers
1212
/// Can be used to change several objects' properties at a time.
1313
/// </summary>
1414
[ContentProperty(Name = nameof(Value))]
15-
public class BindableValueHolder : DependencyObject
15+
public partial class BindableValueHolder : DependencyObject
1616
{
1717
/// <summary>
1818
/// Identifies the <see cref="Value"/> property.

Microsoft.Toolkit.Uwp.UI/Microsoft.Toolkit.Uwp.UI.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="MSBuild.Sdk.Extras">
22

33
<PropertyGroup>
4-
<TargetFramework>uap10.0.17763</TargetFramework>
4+
<TargetFrameworks>uap10.0.17763</TargetFrameworks>
55
<LangVersion>8.0</LangVersion>
66
<Title>Windows Community Toolkit UI</Title>
77
<Description>

Microsoft.Toolkit.Uwp/Microsoft.Toolkit.Uwp.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="MSBuild.Sdk.Extras">
22

33
<PropertyGroup>
4-
<TargetFramework>uap10.0.17763</TargetFramework>
4+
<TargetFrameworks>uap10.0.17763</TargetFrameworks>
55
<Title>Windows Community Toolkit</Title>
66
<Description>This package includes code only helpers such as Colors conversion tool, Storage file handling, a Stream helper class, etc.</Description>
77
<PackageTags>UWP Toolkit Windows</PackageTags>

0 commit comments

Comments
 (0)