|
82 | 82 | </x:String> |
83 | 83 | </controls:ControlExample.Xaml> |
84 | 84 | </--> |
| 85 | + |
| 86 | + <controls:ControlExample HeaderText="Built-in styles applied to Button."> |
| 87 | + <controls:ControlExample.Example> |
| 88 | + <StackPanel Orientation="Horizontal" Spacing="16"> |
| 89 | + <Button |
| 90 | + AutomationProperties.Name="Accent style" |
| 91 | + Content="Accent style button" |
| 92 | + Style="{StaticResource AccentButtonStyle}" /> |
| 93 | + <Button |
| 94 | + AutomationProperties.Name="Subtle style" |
| 95 | + Content="Subtle style button" |
| 96 | + Style="{StaticResource SubtleButtonStyle}" /> |
| 97 | + </StackPanel> |
| 98 | + |
| 99 | + </controls:ControlExample.Example> |
| 100 | + <controls:ControlExample.Xaml> |
| 101 | + <x:String xml:space="preserve"> |
| 102 | +<Button Style="{StaticResource AccentButtonStyle}" Content="Accent style button"/> |
| 103 | +<Button Style="{StaticResource SubtleButtonStyle}" Content="Subtle style button"/> |
| 104 | + </x:String> |
| 105 | + </controls:ControlExample.Xaml> |
| 106 | + </controls:ControlExample> |
| 107 | + |
85 | 108 | <controls:ControlExample HeaderText="Wrapping Buttons with large content"> |
86 | 109 | <StackPanel> |
87 | 110 | <TextBlock |
|
126 | 149 | </x:String> |
127 | 150 | </controls:ControlExample.Xaml> |
128 | 151 | </controls:ControlExample> |
129 | | - |
130 | | - <controls:ControlExample HeaderText="Accent style applied to Button."> |
131 | | - <controls:ControlExample.Example> |
132 | | - <Button |
133 | | - AutomationProperties.Name="Accent style" |
134 | | - Content="Accent style button" |
135 | | - Style="{StaticResource AccentButtonStyle}" /> |
136 | | - </controls:ControlExample.Example> |
137 | | - <controls:ControlExample.Xaml> |
138 | | - <x:String> |
139 | | - <Button Style="{StaticResource AccentButtonStyle}" Content="Accent style button" /> |
140 | | - </x:String> |
141 | | - </controls:ControlExample.Xaml> |
142 | | - </controls:ControlExample> |
143 | | - |
144 | 152 | </StackPanel> |
145 | 153 | </Page> |
0 commit comments