WindturbineDetailsCard.xaml 1.2 KB

123456789101112131415161718192021
  1. <UserControl x:Class="NEIntelligentControl2.Views.Infos.WindturbineDetailsCard"
  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.Infos"
  7. mc:Ignorable="d"
  8. d:DesignHeight="450" d:DesignWidth="800" Margin="2">
  9. <Grid>
  10. <Grid.RowDefinitions>
  11. <RowDefinition Height="Auto"/>
  12. <RowDefinition/>
  13. </Grid.RowDefinitions>
  14. <Border Background="#FF4187EE" CornerRadius="7,7,0,0">
  15. <TextBlock Text="{Binding RelativeSource={RelativeSource AncestorType=UserControl, Mode=FindAncestor}, Path=CardTitle}" HorizontalAlignment="Center" Foreground="White" Margin="3" FontSize="14"/>
  16. </Border>
  17. <Border Grid.Row="1" Background="#FFC8EAFF" CornerRadius="0,0,7,7">
  18. <UniformGrid Columns="2" x:Name="ug" Margin="3,3,3,5"/>
  19. </Border>
  20. </Grid>
  21. </UserControl>