xaml-sdk/GridView/DistinctValuesFilteringCase.../MainWindow.xaml

29 строки
1.3 KiB
XML

<Window x:Class="WpfApplication1.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
xmlns:my="clr-namespace:DistinctValuesFilteringCaseSensitivity"
Title="MainWindow" Height="592" Width="775">
<Window.Resources>
<my:MyViewModel x:Key="MyViewModel"/>
</Window.Resources>
<Grid DataContext="{StaticResource MyViewModel}">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<TextBlock Text="Case-Sensitive Distinct Values" Grid.Row="0" />
<telerik:RadGridView Name="clubsGrid1"
Grid.Row="1"
ItemsSource="{Binding Clubs}"/>
<TextBlock Text="Case-InSensitive Distinct Values" Grid.Row="2" />
<telerik:RadGridView Name="clubsGrid2"
Grid.Row="3"
ItemsSource="{Binding Clubs}"
Filtered="clubsGrid2_Filtered"
DistinctValuesLoading="clubsGrid2_DistinctValuesLoading"/>
</Grid>
</Window>