Updated MessageBox (markdown)

master
XceedBoucherS 7 years ago
parent
commit
51c81f1f1b
  1. 4
      MessageBox.md

4
MessageBox.md

@ -94,6 +94,8 @@ You can style all instances of your MessageBox control by placing the style defi
[[MessageBox_style_example.jpg]] [[MessageBox_style_example.jpg]]
``` ```
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
<SolidColorBrush x:Key="MyButtonHoverBrush" Color="YellowGreen" /> <SolidColorBrush x:Key="MyButtonHoverBrush" Color="YellowGreen" />
<SolidColorBrush x:Key="MyButtonPressedBrush" Color="Maroon" /> <SolidColorBrush x:Key="MyButtonPressedBrush" Color="Maroon" />
@ -137,7 +139,7 @@ You can style all instances of your MessageBox control by placing the style defi
</Setter> </Setter>
</Style> </Style>
<Style TargetType="{x:Type toolkit:MessageBox}"> <Style TargetType="{x:Type xctk:MessageBox}">
<Setter Property="Background" Value="Aquamarine" /> <Setter Property="Background" Value="Aquamarine" />
<Setter Property="BorderBrush" Value="Red" /> <Setter Property="BorderBrush" Value="Red" />
<Setter Property="CaptionForeground" Value="Orange" /> <Setter Property="CaptionForeground" Value="Orange" />

Loading…
Cancel
Save