|
27 | 27 | <RowDefinition Height="*"/>
|
28 | 28 | </Grid.RowDefinitions>
|
29 | 29 |
|
30 |
| - <StackPanel Grid.ColumnSpan="3" Orientation="Horizontal"> |
| 30 | + <StackPanelEx Grid.ColumnSpan="3" Orientation="Horizontal" Spacing="8"> |
31 | 31 | <TextBlock Text="Sample Progressbar" Style="{ThemeResource StandardGroupHeader}"/>
|
32 | 32 | <controls:FontIcon Glyph="" Margin="4,0,40,3" FontSize="14" VerticalAlignment="Center"/>
|
33 | 33 | <ProgressBar
|
34 | 34 | x:Name="TestWUXProgressBar"
|
35 |
| - Width="400" |
| 35 | + Width="300" |
36 | 36 | VerticalAlignment="Center"
|
37 | 37 | AutomationProperties.Name="TestWUXProgressBar"
|
38 | 38 | Style="{StaticResource DefaultProgressBarStyle}"
|
39 | 39 | HorizontalAlignment="Left"
|
40 | 40 | IsIndeterminate="{x:Bind ShowIsIndeterminateCheckBox.IsChecked, Converter={StaticResource NullableBooleanToBooleanConverter}, Mode=OneWay}"/>
|
41 | 41 | <controls:ProgressBar
|
42 | 42 | x:Name="TestProgressBar"
|
43 |
| - Width="400" |
| 43 | + Width="300" |
44 | 44 | VerticalAlignment="Center"
|
45 | 45 | AutomationProperties.Name="TestProgressBar"
|
46 | 46 | HorizontalAlignment="Left"
|
47 | 47 | IsIndeterminate="{x:Bind ShowIsIndeterminateCheckBox.IsChecked, Converter={StaticResource NullableBooleanToBooleanConverter}, Mode=OneWay}"
|
48 | 48 | ShowPaused="{Binding IsChecked, ElementName=ShowPausedCheckBox, Mode=OneWay}"
|
49 | 49 | ShowError="{Binding IsChecked, ElementName=ShowErrorCheckBox, Mode=OneWay}"/>
|
50 |
| - </StackPanel> |
| 50 | + </StackPanelEx> |
51 | 51 |
|
52 | 52 | <StackPanel Grid.Row="1">
|
53 | 53 | <StackPanelEx Style="{ThemeResource StandardGroupingStackPanel}">
|
|
105 | 105 | <CheckBox x:Name="ShowErrorCheckBox" AutomationProperties.Name="ShowErrorCheckBox" Content="ShowError"/>
|
106 | 106 | <CheckBox x:Name="ShowIsIndeterminateCheckBox" AutomationProperties.Name="ShowIsIndeterminateCheckBox" Content="IsIndeterminate"/>
|
107 | 107 | </StackPanelEx>
|
108 |
| - |
109 |
| - <StackPanelEx Style="{ThemeResource StandardGroupingStackPanel}" Margin="0,16,0,0"> |
110 |
| - <TextBlock Text="Actions" Style="{ThemeResource StandardGroupHeader}"/> |
111 |
| - <Button x:Name="UpdateMinMaxButton" AutomationProperties.Name="UpdateMinMaxButton" Content="Update Min and Max" Click="UpdateMinMax_Click"/> |
112 |
| - <Button x:Name="UpdateWidthButton" AutomationProperties.Name="UpdateWidthButton" Content="Update Width" Click="UpdateWidth_Click"/> |
113 |
| - <Button x:Name="UpdateValueButton" AutomationProperties.Name="UpdateValueButton" Content="Update Value" Click="UpdateValue_Click"/> |
114 |
| - <RepeatButton x:Name="ChangeValueButton" AutomationProperties.Name="ChangeValueButton" Content="Hold and Change Value" Click="ChangeValue_Click" /> |
115 |
| - <Button x:Name="UpdatePaddingButton" AutomationProperties.Name="UpdatePaddingButton" Content="Update Padding Left and Right" Click="UpdatePadding_Click"/> |
116 |
| - </StackPanelEx> |
117 |
| - |
118 | 108 | </StackPanel>
|
119 | 109 |
|
120 |
| - <StackPanelEx Grid.Column="1" Grid.Row="1" Margin="16,0,0,0" |
121 |
| - Style="{ThemeResource StandardGroupingStackPanel}"> |
| 110 | + <StackPanelEx Style="{ThemeResource StandardGroupingStackPanel}" Grid.Row="1" Grid.Column="1" Margin="16,0,0,0"> |
| 111 | + <TextBlock Text="Actions" Style="{ThemeResource StandardGroupHeader}"/> |
| 112 | + <Button x:Name="UpdateMinMaxButton" AutomationProperties.Name="UpdateMinMaxButton" Content="Update Min and Max" Click="UpdateMinMax_Click"/> |
| 113 | + <Button x:Name="UpdateWidthButton" AutomationProperties.Name="UpdateWidthButton" Content="Update Width" Click="UpdateWidth_Click"/> |
| 114 | + <Button x:Name="UpdateValueButton" AutomationProperties.Name="UpdateValueButton" Content="Update Value" Click="UpdateValue_Click"/> |
| 115 | + <RepeatButton x:Name="ChangeValueButton" AutomationProperties.Name="ChangeValueButton" Content="Hold and Change Value" Click="ChangeValue_Click" /> |
| 116 | + <Button x:Name="UpdatePaddingButton" AutomationProperties.Name="UpdatePaddingButton" Content="Update Padding Left and Right" Click="UpdatePadding_Click"/> |
| 117 | + </StackPanelEx> |
| 118 | + |
| 119 | + <StackPanelEx Grid.Column="2" Grid.Row="1" Margin="16,0,0,0" |
| 120 | + Style="{ThemeResource StandardGroupingStackPanel}"> |
122 | 121 | <TextBlock Text="Properties" Style="{ThemeResource StandardGroupHeader}"/>
|
123 | 122 |
|
124 | 123 | <TextBlock Text="Value" Margin="0, 20, 0, 0"/>
|
|
0 commit comments