Skip to content

Commit 01acee9

Browse files
committed
refactor: Add partials to classes for Uno Platform
This change enables Uno Platform compatibility forward compatibility.
1 parent 0988d1c commit 01acee9

File tree

34 files changed

+38
-34
lines changed

34 files changed

+38
-34
lines changed

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.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.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

0 commit comments

Comments
 (0)