diff --git a/Uno.Gallery/Uno.Gallery.Shared/Views/SamplePages/ToggleButtonSamplePage.xaml b/Uno.Gallery/Uno.Gallery.Shared/Views/SamplePages/ToggleButtonSamplePage.xaml new file mode 100644 index 000000000..2f07353b4 --- /dev/null +++ b/Uno.Gallery/Uno.Gallery.Shared/Views/SamplePages/ToggleButtonSamplePage.xaml @@ -0,0 +1,125 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Uno.Gallery/Uno.Gallery.Shared/Views/SamplePages/ToggleButtonSamplePage.xaml.cs b/Uno.Gallery/Uno.Gallery.Shared/Views/SamplePages/ToggleButtonSamplePage.xaml.cs new file mode 100644 index 000000000..72ef292ff --- /dev/null +++ b/Uno.Gallery/Uno.Gallery.Shared/Views/SamplePages/ToggleButtonSamplePage.xaml.cs @@ -0,0 +1,13 @@ +using Microsoft.UI.Xaml.Controls; + +namespace Uno.Gallery.Views.Samples +{ + [SamplePage(SampleCategory.UIComponents, "ToggleButton", Description = "Represents a control that a user can select (check) or clear (uncheck). Base class for controls that can switch states, such as CheckBox and RadioButton.", DocumentationLink = "https://learn.microsoft.com/en-us/uwp/api/windows.ui.xaml.controls.primitives.togglebutton?view=winrt-22621")] + public sealed partial class ToggleButtonSamplePage : Page + { + public ToggleButtonSamplePage() + { + this.InitializeComponent(); + } + } +}