MegaBites-AI/Windows-powershell
0372
1<!--=================================================================2// Copyright (c) Microsoft Corporation.3// Licensed under the MIT License.4==================================================================-->5 6<Window x:Class="Microsoft.PowerShell.Commands.ShowCommandInternal.ShowCommandWindow"7 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"8 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"9 xmlns:this="clr-namespace:Microsoft.PowerShell.Commands.ShowCommandInternal"10 xmlns:default="clr-namespace:"11 xmlns:sc="clr-namespace:Microsoft.Management.UI.Internal"12 MinWidth="300" MinHeight="300"13 Title="{Binding Name}" Width="380" Height="450">14 <Grid Margin="3" x:Name="MainGrid">15 <Grid.RowDefinitions>16 <RowDefinition></RowDefinition>17 <RowDefinition Height="Auto"></RowDefinition>18 </Grid.RowDefinitions>19 <this:CmdletControl Grid.Row="0"></this:CmdletControl>20 <Grid x:Name="ButtonsGrid" Grid.Row="1" IsSharedSizeScope="True">21 <Grid.ColumnDefinitions>22 <ColumnDefinition Width="*"/>23 <ColumnDefinition Width="Auto" SharedSizeGroup="ButtonsColumns"/>24 <ColumnDefinition Width="Auto" SharedSizeGroup="ButtonsColumns"/>25 <ColumnDefinition Width="Auto" SharedSizeGroup="ButtonsColumns"/>26 </Grid.ColumnDefinitions>27 <Button x:Name="Run" IsDefault="True" Grid.Column="1" Margin="3" IsEnabled="{Binding Path=SelectedParameterSetAllMandatoryParametersHaveValues}" AutomationProperties.AutomationId="btnRun" Content="{x:Static default:ShowCommandResources.ActionButtons_Button_Run}"/>28 <Button x:Name="Copy" Grid.Column="2" Margin="2" AutomationProperties.AutomationId="btnCopy" Content="{x:Static default:ShowCommandResources.ActionButtons_Button_Copy}"></Button>29 <Button x:Name="Cancel" IsCancel="True" Grid.Column="3" Margin="3" AutomationProperties.AutomationId="btnCancel" Content="{x:Static default:ShowCommandResources.ActionButtons_Button_Cancel}"></Button>30 </Grid>31 </Grid>32</Window>33 