OptionalUniformGrid.xaml 1.0 KB

12345678910111213
  1. <UserControl x:Class="NEIntelligentControl2.Views.Basic.OptionalUniformGrid"
  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.Basic"
  7. mc:Ignorable="d"
  8. d:DesignHeight="450" d:DesignWidth="800">
  9. <Grid MouseMove="Grid_MouseMove" Background="#01FFFFFF" MouseLeftButtonDown="Grid_MouseLeftButtonDown" MouseLeftButtonUp="Grid_MouseLeftButtonUp" MouseLeave="Grid_MouseLeave">
  10. <UniformGrid x:Name="_UGMain" Columns="{Binding RelativeSource={RelativeSource AncestorType={x:Type UserControl}, Mode=FindAncestor}, Path=Columns}" VerticalAlignment="Top"/>
  11. <Rectangle x:Name="_RTMain" Fill="#7F6A6A6A" Visibility="Collapsed" Stroke="#FF6A6A6A"/>
  12. </Grid>
  13. </UserControl>