-
Notifications
You must be signed in to change notification settings - Fork 6
/
IssueDetailView.xaml
21 lines (21 loc) · 1.38 KB
/
IssueDetailView.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<UserControl x:Class="EFCoreIssues.IssueDetailView" 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:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors" xmlns:dxlc="http://schemas.devexpress.com/winfx/2008/xaml/layoutcontrol"
d:DesignHeight="450" d:DesignWidth="800"
mc:Ignorable="d">
<Grid>
<dxlc:LayoutControl x:Name="layoutControl" Orientation="Vertical"
VerticalAlignment="Top" Width="300">
<dxlc:DataLayoutItem Binding="{Binding Item.Subject}" />
<dxlc:LayoutItem Label="User">
<dxe:ComboBoxEdit EditValue="{Binding Item.UserId}" ItemsSource="{Binding EditOperationContext.Users}"
ValueMember="Id" DisplayMember="Name"
IsTextEditable="False" />
</dxlc:LayoutItem>
<dxlc:DataLayoutItem Binding="{Binding Item.Created}" />
<dxlc:DataLayoutItem Binding="{Binding Item.Votes}" />
<dxlc:DataLayoutItem Binding="{Binding Item.Priority}" />
</dxlc:LayoutControl>
</Grid>
</UserControl>