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.
29 lines
1.2 KiB
29 lines
1.2 KiB
<Window x:Class="Microsoft.Windows.Controls.PropertyGrid.Editors.CollectionEditorDialog"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:propertyGrid="clr-namespace:Microsoft.Windows.Controls.PropertyGrid"
|
|
Title="Collection Editor" Height="400" Width="800" WindowStartupLocation="CenterScreen">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="*" />
|
|
<RowDefinition Height="Auto" />
|
|
</Grid.RowDefinitions>
|
|
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*" />
|
|
<ColumnDefinition Width="*"/>
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<ListBox x:Name="_listBox" />
|
|
|
|
<propertyGrid:PropertyGrid x:Name="_propertyGrid" Grid.Column="1" SelectedObject="{Binding SelectedItem, ElementName=_listBox}" />
|
|
</Grid>
|
|
|
|
<StackPanel Orientation="Horizontal" Grid.Row="1" HorizontalAlignment="Right" Margin="5" >
|
|
<Button Width="65" Margin="2" Click="Button_Click" >OK</Button>
|
|
<!--<Button Width="65" Margin="2">Cancel</Button>-->
|
|
</StackPanel>
|
|
|
|
</Grid>
|
|
</Window>
|
|
|