|
<controls:ChildWindow x:Class="SLDynamicThemes2.TestChildWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:appControls="clr-namespace:SLDynamicThemes2.Controls"
xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"
mc:Ignorable="d"
Width="400" Height="300"
Title="Test child window"
d:DesignHeight="300" d:DesignWidth="400">
<Grid x:Name="LayoutRoot" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<appControls:PageBackground HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
<TextBlock Name="ThemeNameTextBlock" Loaded="ThemeNameTextBlock_Loaded" TextWrapping="Wrap" FontSize="14" FontWeight="Bold"></TextBlock>
</StackPanel>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Bottom" Margin="0,0,0,10">
<Button Name="OK" Click="Button_Click" Margin="0,0,10,0">OK</Button>
<Button Name="Cancel" Click="Button_Click" Margin="0,0,10,0">Cancel</Button>
</StackPanel>
</appControls:PageBackground>
</Grid>
</controls:ChildWindow>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I have been a software developer for a while and still find this an interesting job.