|
| 1 | +<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. --> |
| 2 | +<Page x:Class="TokenViewExperiment.Samples.TokenViewBasicSample" |
| 3 | + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
| 4 | + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
| 5 | + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
| 6 | + xmlns:labs="using:CommunityToolkit.Labs.WinUI" |
| 7 | + xmlns:local="using:TokenViewExperiment.Samples" |
| 8 | + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
| 9 | + mc:Ignorable="d"> |
| 10 | + |
| 11 | + <Grid> |
| 12 | + <labs:TokenView AllowDrop="True" |
| 13 | + CanReorderItems="True" |
| 14 | + IsWrapped="{x:Bind IsWrapped, Mode=OneWay}" |
| 15 | + SelectedIndex="2" |
| 16 | + SelectionMode="{x:Bind local:TokenViewBasicSample.ConvertStringToListViewSelectionMode(SelectionMode), Mode=OneWay}"> |
| 17 | + <labs:TokenItem Content="All" /> |
| 18 | + |
| 19 | + <labs:TokenItem Content="Apps"> |
| 20 | + <labs:TokenItem.Icon> |
| 21 | + <FontIcon Glyph="" /> |
| 22 | + </labs:TokenItem.Icon> |
| 23 | + </labs:TokenItem> |
| 24 | + <labs:TokenItem Content="Work"> |
| 25 | + <labs:TokenItem.Icon> |
| 26 | + <FontIcon Glyph="" /> |
| 27 | + </labs:TokenItem.Icon> |
| 28 | + </labs:TokenItem> |
| 29 | + <labs:TokenItem Content="Documents"> |
| 30 | + <labs:TokenItem.Icon> |
| 31 | + <FontIcon Glyph="" /> |
| 32 | + </labs:TokenItem.Icon> |
| 33 | + </labs:TokenItem> |
| 34 | + <labs:TokenItem Content="Web"> |
| 35 | + <labs:TokenItem.Icon> |
| 36 | + <FontIcon Glyph="" /> |
| 37 | + </labs:TokenItem.Icon> |
| 38 | + </labs:TokenItem> |
| 39 | + <labs:TokenItem Content="Settings"> |
| 40 | + <labs:TokenItem.Icon> |
| 41 | + <FontIcon Glyph="" /> |
| 42 | + </labs:TokenItem.Icon> |
| 43 | + </labs:TokenItem> |
| 44 | + <labs:TokenItem Content="People"> |
| 45 | + <labs:TokenItem.Icon> |
| 46 | + <FontIcon Glyph="" /> |
| 47 | + </labs:TokenItem.Icon> |
| 48 | + </labs:TokenItem> |
| 49 | + <labs:TokenItem Content="Folders"> |
| 50 | + <labs:TokenItem.Icon> |
| 51 | + <FontIcon Glyph="" /> |
| 52 | + </labs:TokenItem.Icon> |
| 53 | + </labs:TokenItem> |
| 54 | + <labs:TokenItem Content="Photos"> |
| 55 | + <labs:TokenItem.Icon> |
| 56 | + <FontIcon Glyph="" /> |
| 57 | + </labs:TokenItem.Icon> |
| 58 | + </labs:TokenItem> |
| 59 | + </labs:TokenView> |
| 60 | + </Grid> |
| 61 | +</Page> |
0 commit comments