|
1 | | -<Page x:Class="SettingsControlsExperiment.Samples.SettingsExpanderDragHandleSample" |
| 1 | +<Page x:Class="SettingsControlsExperiment.Samples.SettingsExpanderDragHandleSample" |
2 | 2 | xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
3 | 3 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
4 | 4 | xmlns:Interactivity="using:Microsoft.Xaml.Interactivity" |
|
37 | 37 | FontSize="20" |
38 | 38 | Foreground="{ThemeResource TextFillColorSecondaryBrush}" |
39 | 39 | Text="⠿" /> |
40 | | - <!-- Use Behaviors to hover on pointer --> |
| 40 | + <!-- Use Behaviors to hover on pointer --> |
41 | 41 | <Interactivity:Interaction.Behaviors> |
42 | 42 | <Interactivity:EventTriggerBehavior EventName="PointerEntered"> |
43 | 43 | <Interactivity:ChangePropertyAction PropertyName="Background"> |
|
55 | 55 | </Interactivity:EventTriggerBehavior> |
56 | 56 | </Interactivity:Interaction.Behaviors> |
57 | 57 | </Border> |
58 | | - <!-- Standard Settings Expander (could also just be a Card) --> |
| 58 | + <!-- Standard Settings Expander (could also just be a Card) --> |
59 | 59 | <controls:SettingsExpander Grid.Column="1" |
60 | 60 | Description="{x:Bind Info}" |
61 | 61 | Header="{x:Bind Name}" |
62 | 62 | IsExpanded="{x:Bind IsExpanded, Mode=TwoWay}"> |
63 | 63 |
|
64 | | - <ToggleSwitch OffContent="Off" |
65 | | - OnContent="On" |
66 | | - IsOn="{x:Bind IsExpanded, Mode=TwoWay}"/> |
| 64 | + <ToggleSwitch IsOn="{x:Bind IsExpanded, Mode=TwoWay}" |
| 65 | + OffContent="Off" |
| 66 | + OnContent="On" /> |
67 | 67 |
|
68 | 68 | <controls:SettingsExpander.Items> |
69 | 69 | <controls:SettingsCard Header="{x:Bind LinkDescription}"> |
|
75 | 75 | </Grid> |
76 | 76 | </DataTemplate> |
77 | 77 | </ListView.ItemTemplate> |
78 | | - <!-- Customize Size of Item Container from ListView --> |
| 78 | + <!-- Customize Size of Item Container from ListView --> |
79 | 79 | <ListView.ItemContainerStyle> |
80 | 80 | <Style BasedOn="{StaticResource DefaultListViewItemStyle}" |
81 | 81 | TargetType="ListViewItem"> |
|
0 commit comments