Skip to content

Commit

Permalink
add partial qualifier to control classes
Browse files Browse the repository at this point in the history
  • Loading branch information
vgromfeld committed Jul 1, 2024
1 parent 3485d32 commit 35ee63f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion components/Ribbon/src/Ribbon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace CommunityToolkit.WinUI.Controls;
[TemplateVisualState(GroupName = ScrollButtonGroupNameTemplatePart, Name = DecrementButtonStateTemplatePart)]
[TemplateVisualState(GroupName = ScrollButtonGroupNameTemplatePart, Name = IncrementButtonStateTemplatePart)]
[TemplateVisualState(GroupName = ScrollButtonGroupNameTemplatePart, Name = BothButtonsStateTemplatePart)]
public sealed class Ribbon : Control
public sealed partial class Ribbon : Control
{
private const string PanelTemplatePart = "Panel";
private const string ScrollViewerTemplatePart = "ScrollViewer";
Expand Down
2 changes: 1 addition & 1 deletion components/Ribbon/src/RibbonCollapsibleGroup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace CommunityToolkit.WinUI.Controls;
[TemplatePart(Name = CollapsedButtonTemplatePart, Type = typeof(Button))]
[TemplatePart(Name = CollapsedFlyoutTemplatePart, Type = typeof(Flyout))]
[TemplatePart(Name = CollapsedContentPresenterTemplatePart, Type = typeof(ContentPresenter))]
public class RibbonCollapsibleGroup : RibbonGroup
public partial class RibbonCollapsibleGroup : RibbonGroup
{
private const string VisibleContentContainerTemplatePart = "VisibleContentContainer";
private const string CollapsedButtonTemplatePart = "CollapsedButton";
Expand Down
2 changes: 1 addition & 1 deletion components/Ribbon/src/RibbonGroup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace CommunityToolkit.WinUI.Controls;
/// It adds a <see cref="Label"/> to the wrapped <see cref="Content"/>.
/// </summary>
[ContentProperty(Name = nameof(Content))]
public class RibbonGroup : Control
public partial class RibbonGroup : Control
{
/// <summary>
/// The DP to store the <see cref="Content"/> property value.
Expand Down
2 changes: 1 addition & 1 deletion components/Ribbon/src/RibbonPanel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace CommunityToolkit.WinUI.Controls;
/// A panel which will set the <see cref="RibbonCollapsibleGroup"/> items in a collapsed state if there is not enough space to render them.
/// It is used by the <see cref="Ribbon"/> control.
/// </summary>
internal sealed class RibbonPanel : Panel
internal sealed partial class RibbonPanel : Panel
{
private static readonly Size GroupAvailableSize = new(double.PositiveInfinity, double.PositiveInfinity);

Expand Down

0 comments on commit 35ee63f

Please sign in to comment.