/V2/trunk/RI/Desktop/StockTraderRI/Resources/WindowRegionResource.xaml

# · XAML · 11 lines · 11 code · 0 blank · 0 comment · 0 complexity · 720be9d4cd1586cd2968236909996f1e MD5 · raw file

  1. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  3. <Style x:Key="WindowRegionStyle" TargetType="Window">
  4. <Setter Property="Background" Value="Transparent" />
  5. <Setter Property="Margin" Value="0" />
  6. <Setter Property="Padding" Value="0" />
  7. <Setter Property="Width" Value="400" />
  8. <Setter Property="Height" Value="400" />
  9. <Setter Property="Title" Value="{Binding Path=Content.Title, RelativeSource={RelativeSource Self}}" />
  10. </Style>
  11. </ResourceDictionary>