<Grid Name="maxMinCloseGrid" Height="50" ClipToBounds="False" IsHitTestVisible="True"> <Grid.ColumnDefinitions> <ColumnDefinition Width=".300*" /> <ColumnDefinition Width=".700*" /> </Grid.ColumnDefinitions> <Label Margin="105,5,0,1" Name="titleLabel" DockPanel.Dock="Top" Background="Transparent" ClipToBounds="False" Foreground="{DynamicResource MyDarkBlueSolidBrush}" FontFamily="Tahoma" Grid.Column="1" HorizontalAlignment="Left" Width="185" FontSize="14" FontStyle="Normal" >OMNIKEY Workbench </Label> <Button Name="closeButton" Margin="0,0,2,15" Click="closeButtonClick" Width="25" Height="20" TextBlock.FontWeight="Bold" Background="Transparent" BorderBrush="Transparent" Foreground="{DynamicResource MyDarkBlueSolidBrush}" HorizontalAlignment="Right" Grid.Column="1" BorderThickness="0" FontFamily="Webdings"> r </Button> <Button Margin="0,0,26,15" Click="maximizeButtonClick" Grid.Column="1" BorderThickness="0" Focusable="False" HorizontalAlignment="Right" VerticalAlignment="Center"> </Button> <Button Name="minimizeButton" Margin="0,0,50,15" TextBlock.FontWeight="Bold" Foreground="{DynamicResource MyDarkBlueSolidBrush}" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Width="25" Height="20" FontWeight="Bold" HorizontalAlignment="Right" Click="minimizeButtonClick" Grid.Column="1" FontSize="11" Focusable="False" Content="0" FontFamily="Webdings"> </Button> </Grid>
WindowStyle
None
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)