You are on page 1of 1

<Window

xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"

xmlns:dxet="http://schemas.devexpress.com/winfx/2008/xaml/editors/themekeys"
xmlns:dxdo="http://schemas.devexpress.com/winfx/2008/xaml/docking"
xmlns:local="clr-namespace:WpfApplication90"
x:Class="WpfApplication90.MainWindow"
Title="MainWindow" Height="350" Width="525">
<Window.DataContext>
<local:ViewModel/>
</Window.DataContext>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<dxg:GridControl AutoGenerateColumns="AddNew" Name="grid"
SelectionMode="Row" ItemsSource="{Binding Customers}" SelectedItems="{Binding
SelectedCustomers}" Grid.Column="0">
<dxg:GridControl.View>
<dxg:TableView Name="view"/>
</dxg:GridControl.View>
</dxg:GridControl>
<dxe:ListBoxEdit Grid.Column="1" DisplayMember="Name"
ItemsSource="{Binding SelectedCustomers}"/>
</Grid>
</Window>

You might also like