Windows 10 UWP Community toolkit is a collection of a helper class, custom controls and the Application Services. Let’s see the steps to install Windows UWP community toolkit.
Create a new Windows 10 UWP project or open your existing project.
Right click on your project and select Manage NuGet Packages. Search for Microsoft.Toolkit.UWP and install it, as shown in the screen, given below:
This will add Microsoft.Toolkit.Uwp.UI.Controls.dll in 'References' of your project, as shown below:
Add the toolkit reference in your XAML pages and add the namespace in your code at the backend page, as given below:
XAML
xmlns:UWPToolkit="using:Microsoft.Toolkit.Uwp.UI.Controls"
C#
using Microsoft.Toolkit.Uwp.UI.Controls;
Now, you can use the available custom controls in your Application.
The custom controls are available as follows:
- AdaptiveGridView
- HamburgerMenu
- HeaderedTextBlock
- ImageEx
- PullToRefreshListView
- RadialGauge
- RangeSelector
- RotatorTile
- SlideableListItem