|
<Window x:Class="Catel.Windows.PleaseWaitWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:Controls="clr-namespace:Catel.Windows.Controls"
Width="Auto" MaxWidth="600"
ResizeMode="NoResize" SizeToContent="WidthAndHeight" WindowStyle="None" ShowInTaskbar="False"
WindowStartupLocation="CenterOwner" Cursor="Wait" AllowsTransparency="True" Background="Transparent"
Topmost="True">
<!-- Content -->
<Grid Height="60" DataContext="{Binding RelativeSource={RelativeSource AncestorType={x:Type Window}}}">
<Border Width="Auto"
BorderBrush="{DynamicResource {x:Static SystemColors.ControlDarkBrushKey}}"
BorderThickness="3"
Background="{DynamicResource {x:Static SystemColors.WindowBrushKey}}"
CornerRadius="5">
<StackPanel Orientation="Horizontal">
<Controls:VisualWrapper x:Name="visualWrapper" Width="32" Height="32" Margin="10"/>
<Label Content="{Binding Text}"
Padding="0,0,10,0"
Foreground="{DynamicResource {x:Static SystemColors.WindowTextBrushKey}}"
FontSize="14"
FontWeight="Bold"
HorizontalContentAlignment="Center"
VerticalContentAlignment="Center"
Width="Auto"/>
</StackPanel>
</Border>
</Grid>
</Window>
|
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.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.