ComparisonHeader.xaml 898 B

123456789101112
  1. <UserControl x:Class="NEIntelligentControl2.Views.Windturbine.ComparisonHeader"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:NEIntelligentControl2.Views.Windturbine"
  7. mc:Ignorable="d"
  8. d:DesignHeight="450" d:DesignWidth="800" MinWidth="100" PreviewMouseLeftButtonDown="UserControl_PreviewMouseLeftButtonDown" Background="#FFFFFFFF">
  9. <Grid>
  10. <TextBlock Text="{Binding RelativeSource={RelativeSource AncestorType=UserControl, Mode=FindAncestor}, Path=Header}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="14"/>
  11. </Grid>
  12. </UserControl>