149 lines
8.1 KiB
XML
149 lines
8.1 KiB
XML
<Grid xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="5,5,5,5" Grid.IsSharedSizeScope='True'>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="*"/>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<Grid Name="grdImportProperties">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="Auto" SharedSizeGroup="TitleColumn" />
|
|
<ColumnDefinition Width="*"/>
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<StackPanel Orientation="Horizontal" Grid.Row='1' Margin="0,0,5,0">
|
|
<Label Content="Compare object" />
|
|
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="Specify the objects to compare e.g. compare exported files with existing objects or two existing objects based on name" />
|
|
</StackPanel>
|
|
<ComboBox Name="cbCompareProvider" Margin="0,5,0,0" MinWidth="250" Grid.Row='1' Grid.Column="1" HorizontalAlignment="Left"
|
|
DisplayMemberPath="Name" SelectedValuePath="Value" />
|
|
|
|
</Grid>
|
|
|
|
<ContentControl Name="ccContentProviderOptions" Grid.Row="1" Grid.ColumnSpan="2" />
|
|
|
|
<Grid Grid.Row='2' VerticalAlignment="Stretch" >
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="Auto" SharedSizeGroup="TitleColumn" />
|
|
<ColumnDefinition Width="*"/>
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<StackPanel Orientation="Horizontal" Grid.Row='0' Margin="0,5,5,0" >
|
|
<Label Content="Skip Basic Properties" />
|
|
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="Skip basic properties like name, description, modified etc." />
|
|
</StackPanel>
|
|
<CheckBox Grid.Column='1' Grid.Row='0' Name='chkSkipCompareBasicProperties' VerticalAlignment="Center" IsChecked="false" />
|
|
|
|
<StackPanel Orientation="Horizontal" Grid.Row='1' Margin="0,5,5,0" >
|
|
<Label Content="Skip Assignments" />
|
|
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="Skip comapring assignments." />
|
|
</StackPanel>
|
|
<CheckBox Grid.Column='1' Grid.Row='1' Name='chkSkipCompareAssignments' VerticalAlignment="Center" IsChecked="false" />
|
|
|
|
<StackPanel Orientation="Horizontal" Grid.Row='2' Margin="0,5,5,0" >
|
|
<Label Content="Skip Missing Source Policies" />
|
|
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="Skip policies that only exists in the destination." />
|
|
</StackPanel>
|
|
<CheckBox Grid.Column='1' Grid.Row='2' Name='chkSkipMissingSourcePolicies' VerticalAlignment="Center" />
|
|
|
|
<StackPanel Orientation="Horizontal" Grid.Row='3' Margin="0,5,5,0" >
|
|
<Label Content="Skip Missing Destination Policies" />
|
|
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="Skip policies missing in the destination." />
|
|
</StackPanel>
|
|
<CheckBox Grid.Column='1' Grid.Row='3' Name='chkSkipMissingDestinationPolicies' VerticalAlignment="Center" />
|
|
|
|
<StackPanel Orientation="Horizontal" Grid.Row='4' Margin="0,5,5,0" >
|
|
<Label Content="Save json" />
|
|
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="Save a json version of the compare for post-compare scripting." />
|
|
</StackPanel>
|
|
<CheckBox Grid.Column='1' Grid.Row='4' Name='chkBulkCompareSaveJson' VerticalAlignment="Center" />
|
|
|
|
<StackPanel Orientation="Horizontal" Grid.Row='5' Margin="0,5,5,0" >
|
|
<Label Content="Remove OData From Compare" />
|
|
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="Skipps ID string and removes OData properties of Json strings when comparing properties." />
|
|
</StackPanel>
|
|
<CheckBox Grid.Column='1' Grid.Row='5' Name='chkBulkCompareRemoveOData' VerticalAlignment="Center" />
|
|
|
|
|
|
<StackPanel Orientation="Horizontal" Margin="0,0,5,0" Grid.Row='6'>
|
|
<Label Content="Save as" />
|
|
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="Specifies how the export csv should be saved. One file per ObjectType or one file for all objects." />
|
|
</StackPanel>
|
|
<ComboBox Name="cbCompareSave" Margin="0,5,0,0" MinWidth="250" Grid.Row='6' Grid.Column="1" HorizontalAlignment="Left"
|
|
DisplayMemberPath="Name" SelectedValuePath="Value" />
|
|
|
|
<StackPanel Orientation="Horizontal" Margin="0,0,5,0" Grid.Row='7' >
|
|
<Label Content="Comparison Type" />
|
|
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="Specify how objects should be compared" />
|
|
</StackPanel>
|
|
<ComboBox Name="cbCompareType" Margin="0,5,0,0" MinWidth="250" Grid.Row='7' Grid.Column="1" HorizontalAlignment="Left"
|
|
DisplayMemberPath="Name" SelectedValuePath="Value" />
|
|
|
|
<StackPanel Orientation="Horizontal" Margin="0,0,5,0" Grid.Row='8' >
|
|
<Label Content="CSV Delimiter" />
|
|
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="Specify the character to use for separating properties in the CSV file" />
|
|
</StackPanel>
|
|
<ComboBox Name="cbCompareCSVDelimiter" Margin="0,5,0,0" MinWidth="250" Grid.Row='8' Grid.Column="1" HorizontalAlignment="Left" />
|
|
|
|
<StackPanel Orientation="Horizontal" Margin="0,0,5,0" Grid.Row='9' >
|
|
<Label Content="Multi-Value Delimiter" />
|
|
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="Specify the character to use for separating values for properties with more than one value. New line will cause a new line in the exported CSV" />
|
|
</StackPanel>
|
|
<ComboBox Name="cbCompareMultiValueDelimiter" Margin="0,5,0,0" MinWidth="250" Grid.Row='9' Grid.Column="1" HorizontalAlignment="Left"
|
|
DisplayMemberPath="Name" SelectedValuePath="Value" />
|
|
|
|
<Grid Margin="0,0,5,0" Grid.Row='10' >
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
<StackPanel Orientation="Horizontal">
|
|
<Label Content="Objects to compare" />
|
|
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="Select the object types that should be compared" />
|
|
</StackPanel>
|
|
</Grid>
|
|
|
|
<DataGrid Name="dgObjectsToCompare" Margin="0,5,0,5" Grid.Row='9' Grid.Column='1' CanUserAddRows="False" AutoGenerateColumns="False" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Background="White" />
|
|
|
|
</Grid>
|
|
|
|
<Grid Grid.Row='3' Grid.ColumnSpan='2' >
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition Width="*"/>
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Left" >
|
|
<Button Name="btnExportSettingsForSilentCompare" Content="Save" Width='100' Margin="5,0,0,0" ToolTip="Save settings for batch job" />
|
|
</StackPanel>
|
|
|
|
<StackPanel Orientation="Horizontal" Grid.Column="1" HorizontalAlignment="Right" >
|
|
<Button Name="btnStartCompare" Content="Compare" Width='100' Margin="5,0,0,0" />
|
|
<Button Name="btnClose" Content="Close" Width='100' Margin="5,0,0,0" />
|
|
</StackPanel>
|
|
</Grid >
|
|
|
|
</Grid >
|