|
8 | 8 | d:DesignHeight="800"
|
9 | 9 | d:DesignWidth="1000"
|
10 | 10 | mc:Ignorable="d">
|
| 11 | + <StackPanel> |
| 12 | + <TextBlock Style="{StaticResource PageTitleTextBlock}" Text="Chip" /> |
| 13 | + |
| 14 | + <TextBlock Style="{StaticResource PageSectionTitleTextBlock}" Text="Action" /> |
11 | 15 |
|
12 |
| - <UserControl.Resources> |
13 |
| - <Style x:Key="ChipsHeadline" |
14 |
| - TargetType="TextBlock" |
15 |
| - BasedOn="{StaticResource MaterialDesignHeadline5TextBlock}"> |
16 |
| - <Setter Property="Margin" Value="0,16,0,16" /> |
17 |
| - </Style> |
18 |
| - </UserControl.Resources> |
19 |
| - |
20 |
| - <Grid VerticalAlignment="Top"> |
21 |
| - <Grid.RowDefinitions> |
22 |
| - <RowDefinition Height="Auto" /> |
23 |
| - <RowDefinition Height="Auto" /> |
24 |
| - <RowDefinition Height="Auto" /> |
25 |
| - <RowDefinition Height="Auto" /> |
26 |
| - <RowDefinition Height="Auto" /> |
27 |
| - <RowDefinition Height="Auto" /> |
28 |
| - </Grid.RowDefinitions> |
29 |
| - |
30 |
| - <TextBlock Margin="0,0,0,16" |
31 |
| - Style="{StaticResource ChipsHeadline}" |
32 |
| - Text="Action Chips" /> |
33 |
| - |
34 |
| - <StackPanel Grid.Row="1"> |
| 16 | + <StackPanel> |
35 | 17 | <WrapPanel smtx:XamlDisplay.Ignore="This" Orientation="Horizontal">
|
36 |
| - <smtx:XamlDisplay Margin="0,0,6,4" UniqueKey="chips_1"> |
| 18 | + <smtx:XamlDisplay Margin="0,0,8,8" UniqueKey="chips_1"> |
37 | 19 | <materialDesign:Chip Content="James Willock">
|
38 | 20 | <materialDesign:Chip.Icon>
|
39 | 21 | <Image Source="Resources/ProfilePic.jpg" />
|
40 | 22 | </materialDesign:Chip.Icon>
|
41 | 23 | </materialDesign:Chip>
|
42 | 24 | </smtx:XamlDisplay>
|
43 | 25 |
|
44 |
| - <smtx:XamlDisplay Margin="0,0,4,4" UniqueKey="chips_2"> |
| 26 | + <smtx:XamlDisplay Margin="0,0,8,8" UniqueKey="chips_2"> |
45 | 27 | <materialDesign:Chip Content="Example Chip" />
|
46 | 28 | </smtx:XamlDisplay>
|
47 | 29 |
|
48 |
| - <smtx:XamlDisplay Margin="0,0,4,4" UniqueKey="chips_3"> |
| 30 | + <smtx:XamlDisplay Margin="0,0,8,8" UniqueKey="chips_3"> |
49 | 31 | <materialDesign:Chip Content="ANZ Bank" Icon="A" />
|
50 | 32 | </smtx:XamlDisplay>
|
51 | 33 |
|
52 |
| - <smtx:XamlDisplay Margin="0,0,4,4" UniqueKey="chips_4"> |
| 34 | + <smtx:XamlDisplay Margin="0,0,8,8" UniqueKey="chips_4"> |
53 | 35 | <materialDesign:Chip Content="ZNA Inc" Icon="Z" />
|
54 | 36 | </smtx:XamlDisplay>
|
55 | 37 |
|
56 |
| - <smtx:XamlDisplay Margin="0,0,4,4" UniqueKey="chips_5"> |
| 38 | + <smtx:XamlDisplay Margin="0,0,8,8" UniqueKey="chips_5"> |
57 | 39 | <materialDesign:Chip Content="Twitter"
|
58 | 40 | IconBackground="{DynamicResource PrimaryHueDarkBrush}"
|
59 | 41 | IconForeground="{DynamicResource PrimaryHueDarkForegroundBrush}">
|
|
65 | 47 | </WrapPanel>
|
66 | 48 |
|
67 | 49 | <WrapPanel smtx:XamlDisplay.Ignore="This" Orientation="Horizontal">
|
68 |
| - <smtx:XamlDisplay Margin="0,0,4,4" UniqueKey="chips_6"> |
| 50 | + <smtx:XamlDisplay Margin="0,0,8,8" UniqueKey="chips_6"> |
69 | 51 | <materialDesign:Chip Click="ButtonsDemoChip_OnClick"
|
70 | 52 | Content="James Willock"
|
71 | 53 | DeleteClick="ButtonsDemoChip_OnDeleteClick"
|
|
78 | 60 | </materialDesign:Chip>
|
79 | 61 | </smtx:XamlDisplay>
|
80 | 62 |
|
81 |
| - <smtx:XamlDisplay Margin="0,0,4,4" UniqueKey="chips_7"> |
| 63 | + <smtx:XamlDisplay Margin="0,0,8,8" UniqueKey="chips_7"> |
82 | 64 | <materialDesign:Chip Content="Example Chip"
|
83 | 65 | IsDeletable="True"
|
84 | 66 | ToolTip="This is an example chip" />
|
85 | 67 | </smtx:XamlDisplay>
|
86 | 68 |
|
87 |
| - <smtx:XamlDisplay Margin="0,0,4,4" UniqueKey="chips_8"> |
| 69 | + <smtx:XamlDisplay Margin="0,0,8,8" UniqueKey="chips_8"> |
88 | 70 | <materialDesign:Chip Content="ANZ Bank"
|
89 | 71 | Icon="A"
|
90 | 72 | IsDeletable="True" />
|
91 | 73 | </smtx:XamlDisplay>
|
92 | 74 |
|
93 |
| - <smtx:XamlDisplay Margin="0,0,4,4" UniqueKey="chips_9"> |
| 75 | + <smtx:XamlDisplay Margin="0,0,8,8" UniqueKey="chips_9"> |
94 | 76 | <materialDesign:Chip Content="ZNA Inc"
|
95 | 77 | Icon="Z"
|
96 | 78 | IconBackground="{DynamicResource PrimaryHueLightBrush}"
|
|
100 | 82 | </WrapPanel>
|
101 | 83 |
|
102 | 84 | <WrapPanel smtx:XamlDisplay.Ignore="This" Orientation="Horizontal">
|
103 |
| - <smtx:XamlDisplay Margin="0,0,6,4" UniqueKey="chips_34"> |
| 85 | + <smtx:XamlDisplay Margin="0,0,8,8" UniqueKey="chips_34"> |
104 | 86 | <materialDesign:Chip Content="James Willock" Style="{StaticResource MaterialDesignOutlineChip}">
|
105 | 87 | <materialDesign:Chip.Icon>
|
106 | 88 | <Image Source="Resources/ProfilePic.jpg" />
|
107 | 89 | </materialDesign:Chip.Icon>
|
108 | 90 | </materialDesign:Chip>
|
109 | 91 | </smtx:XamlDisplay>
|
110 | 92 |
|
111 |
| - <smtx:XamlDisplay Margin="0,0,4,4" UniqueKey="chips_35"> |
| 93 | + <smtx:XamlDisplay Margin="0,0,8,8" UniqueKey="chips_35"> |
112 | 94 | <materialDesign:Chip Content="Example Chip" Style="{StaticResource MaterialDesignOutlineChip}" />
|
113 | 95 | </smtx:XamlDisplay>
|
114 | 96 |
|
115 |
| - <smtx:XamlDisplay Margin="0,0,4,4" UniqueKey="chips_36"> |
| 97 | + <smtx:XamlDisplay Margin="0,0,8,8" UniqueKey="chips_36"> |
116 | 98 | <materialDesign:Chip Content="ANZ Bank"
|
117 | 99 | Icon="A"
|
118 | 100 | Style="{StaticResource MaterialDesignOutlineChip}" />
|
119 | 101 | </smtx:XamlDisplay>
|
120 | 102 |
|
121 |
| - <smtx:XamlDisplay Margin="0,0,4,4" UniqueKey="chips_37"> |
| 103 | + <smtx:XamlDisplay Margin="0,0,8,8" UniqueKey="chips_37"> |
122 | 104 | <materialDesign:Chip Content="ZNA Inc"
|
123 | 105 | Icon="Z"
|
124 | 106 | Style="{StaticResource MaterialDesignOutlineChip}" />
|
125 | 107 | </smtx:XamlDisplay>
|
126 | 108 |
|
127 |
| - <smtx:XamlDisplay Margin="0,0,4,4" UniqueKey="chips_38"> |
| 109 | + <smtx:XamlDisplay Margin="0,0,8,8" UniqueKey="chips_38"> |
128 | 110 | <materialDesign:Chip Content="Twitter"
|
129 | 111 | IconBackground="{DynamicResource PrimaryHueDarkBrush}"
|
130 | 112 | IconForeground="{DynamicResource PrimaryHueDarkForegroundBrush}"
|
|
137 | 119 | </WrapPanel>
|
138 | 120 | </StackPanel>
|
139 | 121 |
|
140 |
| - <StackPanel Grid.Row="2"> |
141 |
| - <Rectangle Height="1" |
142 |
| - Margin="0,24,0,0" |
143 |
| - Fill="{DynamicResource MaterialDesignDivider}" /> |
144 |
| - <TextBlock Style="{StaticResource ChipsHeadline}" Text="Filter Chips" /> |
145 |
| - </StackPanel> |
| 122 | + <Rectangle Style="{StaticResource PageSectionSeparator}" /> |
| 123 | + <TextBlock Style="{StaticResource PageSectionTitleTextBlock}" Text="Filter" /> |
146 | 124 |
|
147 |
| - <StackPanel Grid.Row="3"> |
| 125 | + <StackPanel> |
148 | 126 | <WrapPanel smtx:XamlDisplay.Ignore="This" Orientation="Horizontal">
|
149 |
| - <smtx:XamlDisplay Margin="0,0,4,4" UniqueKey="chips_10"> |
| 127 | + <smtx:XamlDisplay Margin="0,0,8,8" UniqueKey="chips_10"> |
150 | 128 | <CheckBox Content="CheckBox"
|
151 | 129 | IsChecked="True"
|
152 | 130 | Style="{StaticResource MaterialDesignFilterChipCheckBox}" />
|
153 | 131 | </smtx:XamlDisplay>
|
154 | 132 |
|
155 |
| - <smtx:XamlDisplay Margin="0,0,4,4" UniqueKey="chips_11"> |
| 133 | + <smtx:XamlDisplay Margin="0,0,8,8" UniqueKey="chips_11"> |
156 | 134 | <CheckBox Content="Primary"
|
157 | 135 | IsChecked="True"
|
158 | 136 | Style="{StaticResource MaterialDesignFilterChipPrimaryCheckBox}" />
|
159 | 137 | </smtx:XamlDisplay>
|
160 | 138 |
|
161 |
| - <smtx:XamlDisplay Margin="0,0,4,4" UniqueKey="chips_12"> |
| 139 | + <smtx:XamlDisplay Margin="0,0,8,8" UniqueKey="chips_12"> |
162 | 140 | <CheckBox IsChecked="True" Style="{StaticResource MaterialDesignFilterChipSecondaryCheckBox}">Secondary</CheckBox>
|
163 | 141 | </smtx:XamlDisplay>
|
164 | 142 | </WrapPanel>
|
165 | 143 |
|
166 | 144 | <WrapPanel smtx:XamlDisplay.Ignore="This" Orientation="Horizontal">
|
167 |
| - <smtx:XamlDisplay Margin="0,0,4,4" UniqueKey="chips_13"> |
| 145 | + <smtx:XamlDisplay Margin="0,0,8,8" UniqueKey="chips_13"> |
168 | 146 | <CheckBox Content="Outline"
|
169 | 147 | IsChecked="True"
|
170 | 148 | Style="{StaticResource MaterialDesignFilterChipOutlineCheckBox}" />
|
171 | 149 | </smtx:XamlDisplay>
|
172 | 150 |
|
173 |
| - <smtx:XamlDisplay Margin="0,0,4,4" UniqueKey="chips_14"> |
| 151 | + <smtx:XamlDisplay Margin="0,0,8,8" UniqueKey="chips_14"> |
174 | 152 | <CheckBox Content="Primary Outline"
|
175 | 153 | IsChecked="True"
|
176 | 154 | Style="{StaticResource MaterialDesignFilterChipPrimaryOutlineCheckBox}" />
|
177 | 155 | </smtx:XamlDisplay>
|
178 | 156 |
|
179 |
| - <smtx:XamlDisplay Margin="0,0,4,4" UniqueKey="chips_15"> |
| 157 | + <smtx:XamlDisplay Margin="0,0,8,8" UniqueKey="chips_15"> |
180 | 158 | <CheckBox Content="Secondary Outline"
|
181 | 159 | IsChecked="True"
|
182 | 160 | Style="{StaticResource MaterialDesignFilterChipSecondaryOutlineCheckBox}" />
|
|
254 | 232 | </WrapPanel>
|
255 | 233 | </StackPanel>
|
256 | 234 |
|
257 |
| - <StackPanel Grid.Row="4"> |
258 |
| - <Rectangle Height="1" |
259 |
| - Margin="0,24,0,0" |
260 |
| - Fill="{DynamicResource MaterialDesignDivider}" /> |
261 |
| - <TextBlock Style="{StaticResource ChipsHeadline}" Text="Choice Chips" /> |
262 |
| - </StackPanel> |
| 235 | + <Rectangle Style="{StaticResource PageSectionSeparator}" /> |
| 236 | + <TextBlock Style="{StaticResource PageSectionTitleTextBlock}" Text="Choice" /> |
263 | 237 |
|
264 |
| - <StackPanel Grid.Row="5"> |
| 238 | + <StackPanel> |
265 | 239 | <WrapPanel smtx:XamlDisplay.Ignore="This" Orientation="Horizontal">
|
266 |
| - <smtx:XamlDisplay Margin="0,0,4,4" UniqueKey="chips_22"> |
| 240 | + <smtx:XamlDisplay Margin="0,0,8,8" UniqueKey="chips_22"> |
267 | 241 | <RadioButton Content="RadioButton"
|
268 | 242 | GroupName="GroupChoiceChip"
|
269 | 243 | Style="{StaticResource MaterialDesignChoiceChipRadioButton}" />
|
270 | 244 | </smtx:XamlDisplay>
|
271 | 245 |
|
272 |
| - <smtx:XamlDisplay Margin="0,0,4,4" UniqueKey="chips_23"> |
| 246 | + <smtx:XamlDisplay Margin="0,0,8,8" UniqueKey="chips_23"> |
273 | 247 | <RadioButton Content="Primary"
|
274 | 248 | GroupName="GroupChoiceChip"
|
275 | 249 | IsChecked="True"
|
276 | 250 | Style="{StaticResource MaterialDesignChoiceChipPrimaryRadioButton}" />
|
277 | 251 | </smtx:XamlDisplay>
|
278 | 252 |
|
279 |
| - <smtx:XamlDisplay Margin="0,0,4,4" UniqueKey="chips_24"> |
| 253 | + <smtx:XamlDisplay Margin="0,0,8,8" UniqueKey="chips_24"> |
280 | 254 | <RadioButton Content="Secondary"
|
281 | 255 | GroupName="GroupChoiceChip"
|
282 | 256 | Style="{StaticResource MaterialDesignChoiceChipSecondaryRadioButton}" />
|
283 | 257 | </smtx:XamlDisplay>
|
284 | 258 | </WrapPanel>
|
285 | 259 |
|
286 | 260 | <WrapPanel smtx:XamlDisplay.Ignore="This" Orientation="Horizontal">
|
287 |
| - <smtx:XamlDisplay Margin="0,0,4,4" UniqueKey="chips_25"> |
| 261 | + <smtx:XamlDisplay Margin="0,0,8,8" UniqueKey="chips_25"> |
288 | 262 | <RadioButton Content="Outline"
|
289 | 263 | GroupName="GroupChoiceChipOutline"
|
290 | 264 | Style="{StaticResource MaterialDesignChoiceChipOutlineRadioButton}" />
|
291 | 265 | </smtx:XamlDisplay>
|
292 | 266 |
|
293 |
| - <smtx:XamlDisplay Margin="0,0,4,4" UniqueKey="chips_26"> |
| 267 | + <smtx:XamlDisplay Margin="0,0,8,8" UniqueKey="chips_26"> |
294 | 268 | <RadioButton Content="Primary Outline"
|
295 | 269 | GroupName="GroupChoiceChipOutline"
|
296 | 270 | IsChecked="True"
|
297 | 271 | Style="{StaticResource MaterialDesignChoiceChipPrimaryOutlineRadioButton}" />
|
298 | 272 | </smtx:XamlDisplay>
|
299 | 273 |
|
300 |
| - <smtx:XamlDisplay Margin="0,0,4,4" UniqueKey="chips_27"> |
| 274 | + <smtx:XamlDisplay Margin="0,0,8,8" UniqueKey="chips_27"> |
301 | 275 | <RadioButton Content="Secondary Outline"
|
302 | 276 | GroupName="GroupChoiceChipOutline"
|
303 | 277 | Style="{StaticResource MaterialDesignChoiceChipSecondaryOutlineRadioButton}" />
|
|
374 | 348 | </materialDesign:Card>
|
375 | 349 | </WrapPanel>
|
376 | 350 | </StackPanel>
|
377 |
| - </Grid> |
| 351 | + </StackPanel> |
378 | 352 | </UserControl>
|
0 commit comments