You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
1.4 KiB
25 lines
1.4 KiB
<Window x:Class="Microsoft.Windows.Controls.CollectionEditorDialog"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:extToolkit="clr-namespace:Microsoft.Windows.Controls"
|
|
xmlns:propertyGrid="clr-namespace:Microsoft.Windows.Controls.PropertyGrid"
|
|
Title="Collection Editor" Height="400" Width="600" WindowStartupLocation="CenterScreen">
|
|
|
|
<Grid Margin="10">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="*" />
|
|
<RowDefinition Height="Auto" />
|
|
</Grid.RowDefinitions>
|
|
|
|
<extToolkit:CollectionEditor x:Name="_propertyGrid"
|
|
ItemsSourceType="{Binding ItemsSourceType, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=Window}}"
|
|
ItemsSource="{Binding ItemsSource, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=Window}}"
|
|
NewItemTypes="{Binding NewItemTypes, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=Window}}"/>
|
|
|
|
<StackPanel Orientation="Horizontal" Grid.Row="1" HorizontalAlignment="Right" Margin="5" >
|
|
<Button Width="75" Margin="2" Click="OkButton_Click" IsDefault="True">OK</Button>
|
|
<Button Width="75" Margin="2" IsCancel="True">Cancel</Button>
|
|
</StackPanel>
|
|
|
|
</Grid>
|
|
</Window>
|
|
|