-
Notifications
You must be signed in to change notification settings - Fork 2
/
MainWindow.xaml
31 lines (31 loc) · 1.75 KB
/
MainWindow.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<Window x:Class="MainWindow" 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:local="clr-namespace:EFCoreIssues"
xmlns:local_issues="clr-namespace:EFCoreIssues.Issues" xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors" mc:Ignorable="d"
Title="MainWindow" Height="450"
Width="800">
<Grid>
<dxg:GridControl x:Name="grid">
<dxg:GridControl.View>
<dxg:TableView ShowFixedTotalSummary="True" />
</dxg:GridControl.View>
<dxg:GridColumn FieldName="Id" IsSmart="True"
ReadOnly="True" />
<dxg:GridColumn FieldName="Subject" IsSmart="True" />
<dxg:GridColumn FieldName="UserId" IsSmart="True"
Header="User">
<dxg:GridColumn.EditSettings>
<dxe:ComboBoxEditSettings x:Name="usersLookup" DisplayMember="Name"
ValueMember="Id" />
</dxg:GridColumn.EditSettings>
</dxg:GridColumn>
<dxg:GridColumn FieldName="Created" IsSmart="True" />
<dxg:GridColumn FieldName="Votes" IsSmart="True" />
<dxg:GridColumn FieldName="Priority" IsSmart="True" />
<dxg:GridControl.TotalSummary>
<dxg:GridSummaryItem SummaryType="Count" Alignment="Right" />
</dxg:GridControl.TotalSummary>
</dxg:GridControl>
</Grid>
</Window>