1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <UserControl x:Class="Aitex.UI.Charting.View.DataSelectFrame"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:chart="clr-namespace:Aitex.UI.Charting.View"
- mc:Ignorable="d"
- d:DesignHeight="504" d:DesignWidth="855">
- <UserControl.Resources>
- <Style TargetType="{x:Type Label}">
- <Setter Property="Foreground" Value="Black"/>
- </Style>
- </UserControl.Resources>
- <Grid Name="mainGrid">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="220" />
- <ColumnDefinition Width="Auto" />
- <ColumnDefinition Width="500*" />
- </Grid.ColumnDefinitions>
- <Grid Name="leftView" Grid.Column="0">
- <Grid.RowDefinitions>
- <RowDefinition Height="auto" />
- <RowDefinition Height="200*" />
- </Grid.RowDefinitions>
- <ComboBox Name="combBoxDataSourceList" Height="22" VerticalAlignment="Top" ItemsSource="{Binding CommonViewModel.DataSourceNameList}" SelectionChanged="DataSource_SelectionChanged" SelectedItem="{Binding CommonViewModel.CurrentSelectedDataSourceName, Mode=OneWay}"/>
- <TreeView Name="treeViewDataName" Grid.Row="1" MouseDoubleClick="mi_Click" Background="#FFF0F0F0" KeyDown="treeViewVarList_KeyDown" />
- </Grid>
- <GridSplitter Grid.Column="1" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Width="4" />
- <Grid Name="rightView" Grid.Column="2">
- <Grid.RowDefinitions>
- <RowDefinition Height="300" />
- <RowDefinition Height="Auto" />
- <RowDefinition Height="*" />
- </Grid.RowDefinitions>
- <chart:DataSourceView Grid.Row="0"/>
- <GridSplitter Grid.Row="1" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="4" />
- <chart:DataSeriesView Grid.Row="2"/>
- </Grid>
- </Grid>
- </UserControl>
|