programming-examples/c-sharp/Others/Font Properties Moved.cs
2019-11-15 12:59:38 +01:00

25 lines
822 B
C#

Font Properties Moved
<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
Title="About WPF" SizeToContent="WidthAndHeight"
Background="OrangeRed">
<StackPanel>
<Label FontWeight="Bold" FontSize="24" Foreground="Blue">
WPF Version
</Label>
<Label>2012</Label>
<Label>Installed Dll:</Label>
<ListBox>
<ListBoxItem>1</ListBoxItem>
<ListBoxItem>2</ListBoxItem>
</ListBox>
<StackPanel TextElement.FontSize="30" TextElement.FontStyle="Italic"
Orientation="Horizontal" HorizontalAlignment="Center">
<Button MinWidth="80" Margin="10">Help</Button>
<Button MinWidth="80" Margin="10">OK</Button>
</StackPanel>
<StatusBar>You have successfully registered this product.</StatusBar>
</StackPanel>
</Window>