blob: 444fbe21803b1b01fca1ba52e40522692545aee5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<VerticalStack Fit="true">
<CheckBox Caption="Can execute ?" IsChecked="{²CanExecute}"/>
<Button Command="{CMDHosted}" Foreground="White" Background="Jet">
<Template>
<Border Style="ButtonBorder" Background="{./Background}" Name="Content" CornerRadius="{../CornerRadius}" >
<HorizontalStack DataSource="{./Command}">
<Label Font="Arial, 14" Name="caption" Margin="${ButtonCaptionMargin}" Foreground="{./Foreground}" Text="{./Caption}"/>
<Label Font="Condensed, 9" Text="{KeyBinding}" Foreground="Grey"/>
</HorizontalStack>
</Border>
</Template>
</Button>
</VerticalStack>
|