|
22 | 22 | <controls:SettingsCard.HeaderIcon>
|
23 | 23 | <FontIcon Glyph="" />
|
24 | 24 | </controls:SettingsCard.HeaderIcon>
|
25 |
| - <controls:Segmented SelectedIndex="{Binding SelectedAppFullScreenIndex, Mode=TwoWay}"> |
26 |
| - <controls:SegmentedItem Width="120"> |
| 25 | + <Grid CornerRadius="5"> |
| 26 | + <ListBox Padding="-2.5" SelectedIndex="{Binding SelectedAppFullScreenIndex, Mode=TwoWay}"> |
27 | 27 | <FontIcon FontSize="16" Glyph="" />
|
28 |
| - </controls:SegmentedItem> |
29 |
| - <controls:SegmentedItem Width="120"> |
30 | 28 | <FontIcon FontSize="16" Glyph="" />
|
31 |
| - </controls:SegmentedItem> |
32 |
| - <controls:SegmentedItem x:Uid="TextPerformanceKill" Visibility="Collapsed" /> |
33 |
| - </controls:Segmented> |
| 29 | + <ListBox.ItemsPanel> |
| 30 | + <ItemsPanelTemplate> |
| 31 | + <VirtualizingStackPanel Orientation="Horizontal" /> |
| 32 | + </ItemsPanelTemplate> |
| 33 | + </ListBox.ItemsPanel> |
| 34 | + </ListBox> |
| 35 | + </Grid> |
34 | 36 | </controls:SettingsCard>
|
35 | 37 |
|
36 | 38 | <controls:SettingsCard x:Uid="AppFocus">
|
37 | 39 | <controls:SettingsCard.HeaderIcon>
|
38 | 40 | <FontIcon Glyph="" />
|
39 | 41 | </controls:SettingsCard.HeaderIcon>
|
40 |
| - <controls:Segmented SelectedIndex="{Binding SelectedAppFocusIndex, Mode=TwoWay}"> |
41 |
| - <controls:SegmentedItem Width="120"> |
| 42 | + <Grid CornerRadius="5"> |
| 43 | + <ListBox Padding="-2.5" SelectedIndex="{Binding SelectedAppFocusIndex, Mode=TwoWay}"> |
42 | 44 | <FontIcon FontSize="16" Glyph="" />
|
43 |
| - </controls:SegmentedItem> |
44 |
| - <controls:SegmentedItem Width="120"> |
45 | 45 | <FontIcon FontSize="16" Glyph="" />
|
46 |
| - </controls:SegmentedItem> |
47 |
| - <controls:SegmentedItem x:Uid="TextPerformanceKill" Visibility="Collapsed" /> |
48 |
| - </controls:Segmented> |
| 46 | + <ListBox.ItemsPanel> |
| 47 | + <ItemsPanelTemplate> |
| 48 | + <VirtualizingStackPanel Orientation="Horizontal" /> |
| 49 | + </ItemsPanelTemplate> |
| 50 | + </ListBox.ItemsPanel> |
| 51 | + </ListBox> |
| 52 | + </Grid> |
49 | 53 | </controls:SettingsCard>
|
50 | 54 | </StackPanel>
|
51 | 55 |
|
|
59 | 63 | <controls:SettingsCard.HeaderIcon>
|
60 | 64 | <FontIcon Glyph="" />
|
61 | 65 | </controls:SettingsCard.HeaderIcon>
|
62 |
| - <controls:Segmented SelectedIndex="{Binding SelectedBatteryPowerIndex, Mode=TwoWay}"> |
63 |
| - <controls:SegmentedItem Width="120"> |
| 66 | + <Grid CornerRadius="5"> |
| 67 | + <ListBox Padding="-2.5" SelectedIndex="{Binding SelectedBatteryPowerIndex, Mode=TwoWay}"> |
64 | 68 | <FontIcon FontSize="16" Glyph="" />
|
65 |
| - </controls:SegmentedItem> |
66 |
| - <controls:SegmentedItem Width="120"> |
67 | 69 | <FontIcon FontSize="16" Glyph="" />
|
68 |
| - </controls:SegmentedItem> |
69 |
| - <controls:SegmentedItem x:Uid="TextPerformanceKill" Visibility="Collapsed" /> |
70 |
| - </controls:Segmented> |
| 70 | + <ListBox.ItemsPanel> |
| 71 | + <ItemsPanelTemplate> |
| 72 | + <VirtualizingStackPanel Orientation="Horizontal" /> |
| 73 | + </ItemsPanelTemplate> |
| 74 | + </ListBox.ItemsPanel> |
| 75 | + </ListBox> |
| 76 | + </Grid> |
71 | 77 | </controls:SettingsCard>
|
72 | 78 |
|
73 | 79 | <controls:SettingsCard x:Uid="PowerSavingModePower">
|
74 | 80 | <controls:SettingsCard.HeaderIcon>
|
75 | 81 | <FontIcon Glyph="" />
|
76 | 82 | </controls:SettingsCard.HeaderIcon>
|
77 |
| - <controls:Segmented SelectedIndex="{Binding SelectedPowerSaveModeIndex, Mode=TwoWay}"> |
78 |
| - <controls:SegmentedItem Width="120"> |
| 83 | + <Grid CornerRadius="5"> |
| 84 | + <ListBox Padding="-2.5" SelectedIndex="{Binding SelectedPowerSaveModeIndex, Mode=TwoWay}"> |
79 | 85 | <FontIcon FontSize="16" Glyph="" />
|
80 |
| - </controls:SegmentedItem> |
81 |
| - <controls:SegmentedItem Width="120"> |
82 | 86 | <FontIcon FontSize="16" Glyph="" />
|
83 |
| - </controls:SegmentedItem> |
84 |
| - <controls:SegmentedItem x:Uid="TextPerformanceKill" Visibility="Collapsed" /> |
85 |
| - </controls:Segmented> |
| 87 | + <ListBox.ItemsPanel> |
| 88 | + <ItemsPanelTemplate> |
| 89 | + <VirtualizingStackPanel Orientation="Horizontal" /> |
| 90 | + </ItemsPanelTemplate> |
| 91 | + </ListBox.ItemsPanel> |
| 92 | + </ListBox> |
| 93 | + </Grid> |
86 | 94 | </controls:SettingsCard>
|
87 | 95 | </StackPanel>
|
88 | 96 |
|
|
96 | 104 | <controls:SettingsCard.HeaderIcon>
|
97 | 105 | <FontIcon Glyph="" />
|
98 | 106 | </controls:SettingsCard.HeaderIcon>
|
99 |
| - <controls:Segmented SelectedIndex="{Binding SelectedRemoteDestopPowerIndex, Mode=TwoWay}"> |
100 |
| - <controls:SegmentedItem Width="120"> |
| 107 | + <Grid CornerRadius="5"> |
| 108 | + <ListBox Padding="-2.5" SelectedIndex="{Binding SelectedRemoteDestopPowerIndex, Mode=TwoWay}"> |
101 | 109 | <FontIcon FontSize="16" Glyph="" />
|
102 |
| - </controls:SegmentedItem> |
103 |
| - <controls:SegmentedItem Width="120"> |
104 | 110 | <FontIcon FontSize="16" Glyph="" />
|
105 |
| - </controls:SegmentedItem> |
106 |
| - <controls:SegmentedItem x:Uid="TextPerformanceKill" Visibility="Collapsed" /> |
107 |
| - </controls:Segmented> |
| 111 | + <ListBox.ItemsPanel> |
| 112 | + <ItemsPanelTemplate> |
| 113 | + <VirtualizingStackPanel Orientation="Horizontal" /> |
| 114 | + </ItemsPanelTemplate> |
| 115 | + </ListBox.ItemsPanel> |
| 116 | + </ListBox> |
| 117 | + </Grid> |
108 | 118 | </controls:SettingsCard>
|
109 | 119 |
|
110 | 120 | <controls:SettingsCard x:Uid="DisplayPauseRule">
|
|
0 commit comments