DataSelectFrame.xaml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <UserControl x:Class="Aitex.UI.Charting.View.DataSelectFrame"
  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:chart="clr-namespace:Aitex.UI.Charting.View"
  7. mc:Ignorable="d"
  8. d:DesignHeight="504" d:DesignWidth="855">
  9. <UserControl.Resources>
  10. <Style TargetType="{x:Type Label}">
  11. <Setter Property="Foreground" Value="Black"/>
  12. </Style>
  13. </UserControl.Resources>
  14. <Grid Name="mainGrid">
  15. <Grid.ColumnDefinitions>
  16. <ColumnDefinition Width="220" />
  17. <ColumnDefinition Width="Auto" />
  18. <ColumnDefinition Width="500*" />
  19. </Grid.ColumnDefinitions>
  20. <Grid Name="leftView" Grid.Column="0">
  21. <Grid.RowDefinitions>
  22. <RowDefinition Height="auto" />
  23. <RowDefinition Height="200*" />
  24. </Grid.RowDefinitions>
  25. <ComboBox Name="combBoxDataSourceList" Height="22" VerticalAlignment="Top" ItemsSource="{Binding CommonViewModel.DataSourceNameList}" SelectionChanged="DataSource_SelectionChanged" SelectedItem="{Binding CommonViewModel.CurrentSelectedDataSourceName, Mode=OneWay}"/>
  26. <TreeView Name="treeViewDataName" Grid.Row="1" MouseDoubleClick="mi_Click" Background="#FFF0F0F0" KeyDown="treeViewVarList_KeyDown" />
  27. </Grid>
  28. <GridSplitter Grid.Column="1" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Width="4" />
  29. <Grid Name="rightView" Grid.Column="2">
  30. <Grid.RowDefinitions>
  31. <RowDefinition Height="300" />
  32. <RowDefinition Height="Auto" />
  33. <RowDefinition Height="*" />
  34. </Grid.RowDefinitions>
  35. <chart:DataSourceView Grid.Row="0"/>
  36. <GridSplitter Grid.Row="1" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="4" />
  37. <chart:DataSeriesView Grid.Row="2"/>
  38. </Grid>
  39. </Grid>
  40. </UserControl>