|
<UserControl x:Class="DynamicType.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:dx="clr-namespace:DevExpress.AgDataGrid;assembly=DevExpress.AgDataGrid.v8.2"
mc:Ignorable="d"
FontSize="14"
d:DesignHeight="300" d:DesignWidth="300"
Loaded="UserControl_Loaded"
>
<Grid x:Name="LayoutRoot" Background="White">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"></ColumnDefinition>
<ColumnDefinition></ColumnDefinition>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"></RowDefinition>
<RowDefinition></RowDefinition>
</Grid.RowDefinitions>
<Border BorderBrush="Orange" BorderThickness="2" Padding="3" Margin="5,15">
<StackPanel Orientation="Vertical"
Margin="7,2,2,2"
HorizontalAlignment="Stretch"
VerticalAlignment="Top"
Grid.Column="0"
Grid.Row="0">
<TextBlock Text="Select your poison(s)"></TextBlock>
<Rectangle Height="1" Fill="Gray" Margin="0,0,0,20"></Rectangle>
<ItemsControl ItemsSource="{Binding PropertysList}" Margin="1">
<ItemsControl.ItemTemplate>
<DataTemplate>
<CheckBox Content="{Binding Name}"
Click="CheckBox_Click"
Tag="{Binding}"
Margin="0,5">
</CheckBox>
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
</StackPanel>
</Border>
<Button Grid.Column="0"
VerticalAlignment="Top"
Grid.Row="1"
Margin="5,20"
Height="25"
MinWidth="100"
Content="Submit"
Click="SubmitButton_Click"
>
</Button>
<dx:AgDataGrid AutoGenerateColumns="True"
x:Name="devGrid"
ColumnsAutoWidth="True"
Grid.Column="1"
Grid.Row="0"
Grid.RowSpan="2"
Margin="5"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch">
</dx:AgDataGrid>
</Grid>
</UserControl>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.