forked from PowerShell/PowerShell
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMultipleSelectionDialog.xaml
More file actions
26 lines (25 loc) · 1.77 KB
/
Copy pathMultipleSelectionDialog.xaml
File metadata and controls
26 lines (25 loc) · 1.77 KB
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
<Window x:Class="Microsoft.PowerShell.Commands.ShowCommandInternal.MultipleSelectionDialog"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:sc="clr-namespace:Microsoft.Management.UI.Internal"
mc:Ignorable="d"
Title="MemberType" Height="200" Width="404" WindowStartupLocation="CenterScreen">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*"></RowDefinition>
<RowDefinition Height="Auto"></RowDefinition>
</Grid.RowDefinitions>
<ListBox x:Name="listboxParameter" Margin="3" VerticalAlignment="Top" SelectionMode="Multiple" Grid.Row="0" ItemsSource="{Binding}" AutomationProperties.AutomationId="listboxParameter">
</ListBox>
<Grid Grid.Row="1" IsSharedSizeScope="True" HorizontalAlignment="Right">
<Grid.ColumnDefinitions>
<ColumnDefinition SharedSizeGroup="OKCancel"></ColumnDefinition>
<ColumnDefinition SharedSizeGroup="OKCancel"></ColumnDefinition>
</Grid.ColumnDefinitions>
<Button x:Name="OK" Margin="3" Grid.Column="0" IsDefault="True" Click="ButtonOK_Click" Content="{x:Static sc:ShowCommandResources.ActionButtons_Button_Ok}" AutomationProperties.AutomationId="ButtonOK"></Button>
<Button x:Name="Cancel" Margin="3" Grid.Column="1" IsCancel="True" Click="ButtonCancel_Click" Content="{x:Static sc:ShowCommandResources.ActionButtons_Button_Cancel}" AutomationProperties.AutomationId="ButtonCancel"></Button>
</Grid>
</Grid>
</Window>