Revision d9b1cbeb trunk/Pithos.Client.WPF/Preferences/GroupsView.xaml
b/trunk/Pithos.Client.WPF/Preferences/GroupsView.xaml | ||
---|---|---|
6 | 6 |
mc:Ignorable="d" |
7 | 7 |
d:DesignHeight="300" d:DesignWidth="300"> |
8 | 8 |
<Grid> |
9 |
|
|
9 |
<DataGrid ItemsSource="{Binding Groups}" |
|
10 |
AutoGenerateColumns="False" CanUserAddRows="True"> |
|
11 |
<DataGrid.Columns> |
|
12 |
<DataGridTemplateColumn > |
|
13 |
<DataGridTemplateColumn.CellTemplate> |
|
14 |
<DataTemplate> |
|
15 |
<Button Content=" - " Command="DataGrid.DeleteCommand"/> |
|
16 |
</DataTemplate> |
|
17 |
</DataGridTemplateColumn.CellTemplate> |
|
18 |
</DataGridTemplateColumn> |
|
19 |
<DataGridTextColumn Binding="{Binding UserName}" Header="Name" /> |
|
20 |
<DataGridCheckBoxColumn Binding="{Binding Read}" Header="Read"/> |
|
21 |
<DataGridCheckBoxColumn Binding="{Binding Write}" Header="Write"/> |
|
22 |
</DataGrid.Columns> |
|
23 |
</DataGrid> |
|
10 | 24 |
</Grid> |
11 | 25 |
</UserControl> |
Also available in: Unified diff