Skip to content

Commit c4d2908

Browse files
authored
Merge pull request #13 from MADE-Apps/feature/tag-input
#10 - Added ChipBox control
2 parents 64711f0 + b8ffdb5 commit c4d2908

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+2190
-33
lines changed

MADE-Uno.sln

Lines changed: 61 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio Version 16
4-
VisualStudioVersion = 16.0.31624.102
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.0.32126.317
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{01380FB8-F8A7-4416-AABA-5407574B7723}"
77
EndProject
@@ -39,6 +39,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MADE.UI.Styling", "src\MADE
3939
EndProject
4040
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MADE.UI.ViewManagement", "src\MADE.UI.ViewManagement\MADE.UI.ViewManagement.csproj", "{442D1E25-FFD1-405D-A1FC-40CAFCAD190C}"
4141
EndProject
42+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MADE.UI.Controls.ChipBox", "src\MADE.UI.Controls.ChipBox\MADE.UI.Controls.ChipBox.csproj", "{D1A16208-5A34-4CC1-B175-01B5AC99E69E}"
43+
EndProject
4244
Global
4345
GlobalSection(SharedMSBuildProjectFiles) = preSolution
4446
samples\MADE.Samples\MADE.Samples.Shared\MADE.Samples.Shared.projitems*{04f1b32d-9056-43fc-b4c2-b8c5481bdacb}*SharedItemsImports = 4
@@ -799,6 +801,62 @@ Global
799801
{442D1E25-FFD1-405D-A1FC-40CAFCAD190C}.Release|x64.Build.0 = Release|Any CPU
800802
{442D1E25-FFD1-405D-A1FC-40CAFCAD190C}.Release|x86.ActiveCfg = Release|Any CPU
801803
{442D1E25-FFD1-405D-A1FC-40CAFCAD190C}.Release|x86.Build.0 = Release|Any CPU
804+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.Ad-Hoc|Any CPU.ActiveCfg = Debug|Any CPU
805+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.Ad-Hoc|Any CPU.Build.0 = Debug|Any CPU
806+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.Ad-Hoc|ARM.ActiveCfg = Debug|Any CPU
807+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.Ad-Hoc|ARM.Build.0 = Debug|Any CPU
808+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.Ad-Hoc|ARM64.ActiveCfg = Debug|Any CPU
809+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.Ad-Hoc|ARM64.Build.0 = Debug|Any CPU
810+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.Ad-Hoc|iPhone.ActiveCfg = Debug|Any CPU
811+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.Ad-Hoc|iPhone.Build.0 = Debug|Any CPU
812+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Debug|Any CPU
813+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.Ad-Hoc|iPhoneSimulator.Build.0 = Debug|Any CPU
814+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.Ad-Hoc|x64.ActiveCfg = Debug|Any CPU
815+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.Ad-Hoc|x64.Build.0 = Debug|Any CPU
816+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.Ad-Hoc|x86.ActiveCfg = Debug|Any CPU
817+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.Ad-Hoc|x86.Build.0 = Debug|Any CPU
818+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.AppStore|Any CPU.ActiveCfg = Debug|Any CPU
819+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.AppStore|Any CPU.Build.0 = Debug|Any CPU
820+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.AppStore|ARM.ActiveCfg = Debug|Any CPU
821+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.AppStore|ARM.Build.0 = Debug|Any CPU
822+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.AppStore|ARM64.ActiveCfg = Debug|Any CPU
823+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.AppStore|ARM64.Build.0 = Debug|Any CPU
824+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.AppStore|iPhone.ActiveCfg = Debug|Any CPU
825+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.AppStore|iPhone.Build.0 = Debug|Any CPU
826+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.AppStore|iPhoneSimulator.ActiveCfg = Debug|Any CPU
827+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.AppStore|iPhoneSimulator.Build.0 = Debug|Any CPU
828+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.AppStore|x64.ActiveCfg = Debug|Any CPU
829+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.AppStore|x64.Build.0 = Debug|Any CPU
830+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.AppStore|x86.ActiveCfg = Debug|Any CPU
831+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.AppStore|x86.Build.0 = Debug|Any CPU
832+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
833+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.Debug|Any CPU.Build.0 = Debug|Any CPU
834+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.Debug|ARM.ActiveCfg = Debug|Any CPU
835+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.Debug|ARM.Build.0 = Debug|Any CPU
836+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.Debug|ARM64.ActiveCfg = Debug|Any CPU
837+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.Debug|ARM64.Build.0 = Debug|Any CPU
838+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.Debug|iPhone.ActiveCfg = Debug|Any CPU
839+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.Debug|iPhone.Build.0 = Debug|Any CPU
840+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
841+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
842+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.Debug|x64.ActiveCfg = Debug|Any CPU
843+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.Debug|x64.Build.0 = Debug|Any CPU
844+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.Debug|x86.ActiveCfg = Debug|Any CPU
845+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.Debug|x86.Build.0 = Debug|Any CPU
846+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.Release|Any CPU.ActiveCfg = Release|Any CPU
847+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.Release|Any CPU.Build.0 = Release|Any CPU
848+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.Release|ARM.ActiveCfg = Release|Any CPU
849+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.Release|ARM.Build.0 = Release|Any CPU
850+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.Release|ARM64.ActiveCfg = Release|Any CPU
851+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.Release|ARM64.Build.0 = Release|Any CPU
852+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.Release|iPhone.ActiveCfg = Release|Any CPU
853+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.Release|iPhone.Build.0 = Release|Any CPU
854+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
855+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
856+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.Release|x64.ActiveCfg = Release|Any CPU
857+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.Release|x64.Build.0 = Release|Any CPU
858+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.Release|x86.ActiveCfg = Release|Any CPU
859+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E}.Release|x86.Build.0 = Release|Any CPU
802860
EndGlobalSection
803861
GlobalSection(SolutionProperties) = preSolution
804862
HideSolutionNode = FALSE
@@ -819,6 +877,7 @@ Global
819877
{0CA60466-059C-42D3-9B68-6BBB75A75090} = {01380FB8-F8A7-4416-AABA-5407574B7723}
820878
{F8D00106-0598-45E7-B92E-EF408249C02E} = {01380FB8-F8A7-4416-AABA-5407574B7723}
821879
{442D1E25-FFD1-405D-A1FC-40CAFCAD190C} = {01380FB8-F8A7-4416-AABA-5407574B7723}
880+
{D1A16208-5A34-4CC1-B175-01B5AC99E69E} = {01380FB8-F8A7-4416-AABA-5407574B7723}
822881
EndGlobalSection
823882
GlobalSection(ExtensibilityGlobals) = postSolution
824883
SolutionGuid = {3921AD86-E6C0-4436-8880-2D9EDFAD6151}

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ As many developers know, projects like MADE Uno are built and maintained in spar
2424
| Package | Current | Preview | Downloads |
2525
| ------ | ------ | ------ | ------ |
2626
| UI | [![NuGet](https://img.shields.io/nuget/v/MADE.UI)](https://www.nuget.org/packages/MADE.UI/) | [![NuGet](https://img.shields.io/nuget/vpre/MADE.UI)](https://www.nuget.org/packages/MADE.UI/) | [![NuGet Downloads](https://img.shields.io/nuget/dt/MADE.UI.svg)](https://www.nuget.org/packages/MADE.UI) |
27+
| UI.Controls.ChipBox | [![NuGet](https://img.shields.io/nuget/v/MADE.UI.Controls.ChipBox)](https://www.nuget.org/packages/MADE.UI.Controls.ChipBox/) | [![NuGet](https://img.shields.io/nuget/vpre/MADE.UI.Controls.ChipBox)](https://www.nuget.org/packages/MADE.UI.Controls.ChipBox/) | [![NuGet Downloads](https://img.shields.io/nuget/dt/MADE.UI.Controls.ChipBox.svg)](https://www.nuget.org/packages/MADE.UI.Controls.ChipBox) |
2728
| UI.Controls.DropDownList | [![NuGet](https://img.shields.io/nuget/v/MADE.UI.Controls.DropDownList)](https://www.nuget.org/packages/MADE.UI.Controls.DropDownList/) | [![NuGet](https://img.shields.io/nuget/vpre/MADE.UI.Controls.DropDownList)](https://www.nuget.org/packages/MADE.UI.Controls.DropDownList/) | [![NuGet Downloads](https://img.shields.io/nuget/dt/MADE.UI.Controls.DropDownList.svg)](https://www.nuget.org/packages/MADE.UI.Controls.DropDownList) |
2829
| UI.Controls.FilePicker | [![NuGet](https://img.shields.io/nuget/v/MADE.UI.Controls.FilePicker)](https://www.nuget.org/packages/MADE.UI.Controls.FilePicker/) | [![NuGet](https://img.shields.io/nuget/vpre/MADE.UI.Controls.FilePicker)](https://www.nuget.org/packages/MADE.UI.Controls.FilePicker/) | [![NuGet Downloads](https://img.shields.io/nuget/dt/MADE.UI.Controls.FilePicker.svg)](https://www.nuget.org/packages/MADE.UI.Controls.FilePicker) |
2930
| UI.Controls.Validator | [![NuGet](https://img.shields.io/nuget/v/MADE.UI.Controls.Validator)](https://www.nuget.org/packages/MADE.UI.Controls.Validator/) | [![NuGet](https://img.shields.io/nuget/vpre/MADE.UI.Controls.Validator)](https://www.nuget.org/packages/MADE.UI.Controls.Validator/) | [![NuGet Downloads](https://img.shields.io/nuget/dt/MADE.UI.Controls.Validator.svg)](https://www.nuget.org/packages/MADE.UI.Controls.Validator) |

assets/SampleIcons.afdesign

9.98 KB
Binary file not shown.
Lines changed: 132 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,132 @@
1+
---
2+
uid: package-ui-controls-chipbox
3+
title: Using the ChipBox control
4+
---
5+
6+
# Using the ChipBox control
7+
8+
The `MADE.UI.Controls.ChipBox` element is a custom-built UI element that works with [Uno's supported platforms](https://platform.uno/) that provides a multi value input for a text box with auto-suggest capabilities. Values added are displayed as removable chips.
9+
10+
The control is a familiar custom input style control used in web applications.
11+
12+
Shown below is the visuals for the control in its default state, with some chip values already added.
13+
14+
<img src="../../images/ChipBox.png" alt="ChipBox with chip values selected" />
15+
16+
## Example usage
17+
18+
```xml
19+
<Page
20+
x:Class="ChipBoxSample.MainPage"
21+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
22+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
23+
xmlns:controls="using:MADE.UI.Controls"
24+
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
25+
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
26+
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
27+
mc:Ignorable="d">
28+
29+
<RelativePanel Padding="12">
30+
<controls:ChipBox
31+
x:Name="ChipBoxControl"
32+
Margin="0,12,0,0"
33+
Suggestions="{x:Bind ChipSuggestions}"
34+
Chips="{x:Bind SelectedChips}"
35+
TextChangeCommand="{x:Bind SuggestionTextChangeCommand}"
36+
Header="ChipBox"
37+
RelativePanel.AlignLeftWithPanel="True"
38+
RelativePanel.AlignRightWithPanel="True"
39+
RelativePanel.AlignTopWithPanel="True" />
40+
</RelativePanel>
41+
</Page>
42+
```
43+
44+
## Retrieving added chip values
45+
46+
The control exposes the selected chips through the `Chips` list property.
47+
48+
The type of objects contained in this collection will be `ChipItem` which contains the contents of the item as a generic `Object` type. This allows the `ChipBox` control to support any type of input value object.
49+
50+
## Providing suggestions for chip values
51+
52+
The `ChipBox` provides a `Suggestions` property that can be used to provide a list of objects that should be displayed to the user as suggestions.
53+
54+
The control exposes a `TextChangeCommand` property and a `TextChanged` event that can be used to provide the ability to customize and provide relevant suggestions based on the text provided. This is not a baked in feature of the control itself. Here is an example of using this in action.
55+
56+
```csharp
57+
private static readonly IList<string> Places = new List<string>
58+
{
59+
"Austria",
60+
"Belgium",
61+
"Bulgaria",
62+
"Croatia",
63+
"Cyprus",
64+
"Czechia",
65+
"Denmark",
66+
"Estonia",
67+
"Finland",
68+
"France",
69+
"Germany",
70+
"Greece",
71+
"Hungary",
72+
"Ireland",
73+
"Italy",
74+
"Latvia",
75+
"Lithuania",
76+
"Luxembourg",
77+
"Malta",
78+
"Netherlands",
79+
"Poland",
80+
"Portugal",
81+
"Romania",
82+
"Slovakia",
83+
"Slovenia",
84+
"Spain",
85+
"Sweden"
86+
};
87+
88+
public ICommand SuggestionTextChangeCommand => new RelayCommand<string>(this.OnSuggestionTextChanged);
89+
90+
public ObservableCollection<string> ChipSuggestions { get; } = new(Places);
91+
92+
private void OnSuggestionTextChanged(string obj)
93+
{
94+
ChipSuggestions.MakeEqualTo(Places.Where(x => x.Contains(obj, StringComparison.CurrentCultureIgnoreCase)));
95+
}
96+
```
97+
98+
It is up to the developer to implement the logic to provide suggestions. This is to ensure any flexibility in search and filtering is determined by the application rather than the control.
99+
100+
## Customizing the ChipBox
101+
102+
The control has many customization properties that are exposed to tailor the experience for your application.
103+
104+
### HeaderTemplate
105+
106+
The `Header` can be customized to include custom UI elements as well as a string resource.
107+
108+
The `HeaderTemplate` is also available to provide a `DataTemplate` for you to define the rendered UI for the `Header`.
109+
110+
### ChipContentTemplate
111+
112+
The rendered UI elements for the chips use a MADE `Chip` content control. By default, the chips will be rendered displaying the string equivalent of the content provided to it. To customize the layout and display of the chip's content, apply a `DataTemplate` to the `ChipContentTemplate` property.
113+
114+
### SuggestionsItemTemplate
115+
116+
As suggestions could be a list of complex objects rather than a simple string, the control provides a `SuggestionsItemTemplate` property that can be used to provide a `DataTemplate` for the suggestions that are displayed to the user.
117+
118+
### IsReadonly
119+
120+
The `ChipBox` has the ability to be rendered in a readonly state. This is useful when you want to display the chips without any user interaction.
121+
122+
When enabled, the auto-suggest text box will not be displayed to the user, and the ability to remove chips will be disabled.
123+
124+
### AllowDuplicate
125+
126+
By default, the `ChipBox` control allows duplicate values to be accepted. The `AllowDuplicate` property can be used to disable this behavior.
127+
128+
### AllowFreeText
129+
130+
The control supports the ability to allow free text input for chip values, as well as the option to only support selections from the suggestions list.
131+
132+
The `AllowFreeText` property, enabled by default, can be used to control this behavior.

docs/articles/intro.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ dotnet add package MADE.UI
2020
| Package | Version |
2121
| --- | --- |
2222
| MADE.UI | [![NuGet](https://img.shields.io/nuget/v/MADE.UI)](https://www.nuget.org/packages/MADE.UI/) |
23+
| MADE.UI.Controls.ChipBox | [![NuGet](https://img.shields.io/nuget/v/MADE.UI.Controls.ChipBox)](https://www.nuget.org/packages/MADE.UI.Controls.ChipBox/) |
2324
| MADE.UI.Controls.DropDownList | [![NuGet](https://img.shields.io/nuget/v/MADE.UI.Controls.DropDownList)](https://www.nuget.org/packages/MADE.UI.Controls.DropDownList/) |
2425
| MADE.UI.Controls.FilePicker | [![NuGet](https://img.shields.io/nuget/v/MADE.UI.Controls.FilePicker)](https://www.nuget.org/packages/MADE.UI.Controls.FilePicker/) |
2526
| MADE.UI.Controls.Validator | [![NuGet](https://img.shields.io/nuget/v/MADE.UI.Controls.Validator)](https://www.nuget.org/packages/MADE.UI.Controls.Validator/) |
@@ -42,6 +43,16 @@ Taking advantage of the Uno Platform, the UI packages provide extensible feature
4243

4344
</span>
4445

46+
#### UI.Controls.ChipBox
47+
48+
The UI Controls ChipBox library contains a cross-platform UI element that provides a multi value input for a text box with auto-suggest capabilities. Values added are displayed as removable chips.
49+
50+
<span class="button">
51+
52+
[Discover UI.Controls.ChipBox](features/ui-controls-chipbox.md)
53+
54+
</span>
55+
4556
#### UI.Controls.DropDownList
4657

4758
The UI Controls DropDownList library contains a Windows UI element that provides a selection user experience, allowing a user to select one or multiple items from a list.

docs/articles/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
href: features/ui.md
99
- name: Controls
1010
items:
11+
- name: ChipBox
12+
href: features/ui-controls-chipbox.md
1113
- name: DropDownList
1214
href: features/ui-controls-dropdownlist.md
1315
- name: FilePicker

docs/images/ChipBox.png

7.78 KB
Loading

samples/MADE.Samples/MADE.Samples.Droid/MADE.Samples.Droid.csproj

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@
7878
<Version>2.1.0-uno.32</Version>
7979
</PackageReference>
8080
<PackageReference Include="Uno.Microsoft.Toolkit.Uwp.UI.Controls.Primitives">
81-
<Version>7.1.10</Version>
81+
<Version>7.1.11</Version>
8282
</PackageReference>
83-
<PackageReference Include="Uno.UI" Version="4.0.11" />
84-
<PackageReference Include="Uno.UI.RemoteControl" Version="4.0.11" Condition="'$(Configuration)'=='Debug'" />
83+
<PackageReference Include="Uno.UI" Version="4.0.13" />
84+
<PackageReference Include="Uno.UI.RemoteControl" Version="4.0.13" Condition="'$(Configuration)'=='Debug'" />
8585
<PackageReference Include="Uno.UniversalImageLoader" Version="1.9.35" />
8686
</ItemGroup>
8787
<ItemGroup>
@@ -107,6 +107,10 @@
107107
<AndroidResource Include="Resources\values\Styles.xml" />
108108
</ItemGroup>
109109
<ItemGroup>
110+
<ProjectReference Include="..\..\..\src\MADE.UI.Controls.ChipBox\MADE.UI.Controls.ChipBox.csproj">
111+
<Project>{d1a16208-5a34-4cc1-b175-01b5ac99e69e}</Project>
112+
<Name>MADE.UI.Controls.ChipBox</Name>
113+
</ProjectReference>
110114
<ProjectReference Include="..\..\..\src\MADE.UI.Controls.FilePicker\MADE.UI.Controls.FilePicker.csproj">
111115
<Project>{774fd8d5-ccc1-4eed-aa14-f7069bfae5ce}</Project>
112116
<Name>MADE.UI.Controls.FilePicker</Name>

samples/MADE.Samples/MADE.Samples.Shared/Features/Home/ViewModels/MainPageViewModel.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ private static ICollection<SampleGroup> GetSampleGroups()
3232
Name = "Controls",
3333
Samples =
3434
{
35+
new Sample(
36+
"ChipBox",
37+
typeof(ChipBoxPage),
38+
"/Features/Samples/Assets/ChipBox/ChipBox.png"),
3539
new Sample(
3640
"FilePicker",
3741
typeof(FilePickerPage),
5.53 KB
Loading

0 commit comments

Comments
 (0)