A common UI control to configure a view or setting.
$ dotnet add package CommunityToolkit.Uwp.Controls.SegmentedThis package is part of the Windows Community Toolkit from the .NET Foundation.
This package contains the following controls in the CommunityToolkit.WinUI.Controls namespace:
If you're developing with UWP/WinUI 2 or Uno.UI you should be using the CommunityToolkit.Uwp.Controls.Segmented package.
If you're developing with WindowsAppSDK/WinUI 3 or Uno.WinUI you should be using the CommunityToolkit.WinUI.Controls.Segmented package.
For UWP projects, the WinUI 2 reference requires you include the WinUI XAML Resources in your App.xaml file:
<Application.Resources>
<XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
</Application.Resources>
See Getting Started in WinUI 2 for more information.
Further documentation about these components can be found at: https://aka.ms/windowstoolkitdocs
MIT
See License.md in package for more details.