Description
Defines listings in Admin4TabItems.
The listing on the following screenshot is defined by the code in the Example paragraph.
Namespace
xmlns:l="http://www.teradp.com/schemas/GN4/1/Shell/Presentation"
Members
Name
xmlns
Grid
MenuConfigName
ShellData
Example
<l:ShellPage
x:Name="CategoryControlPanel"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
Grid.IsSharedSizeScope="True"
MenuConfigName="CategoryControlPanel" WindowTitle="Categories Management">
<l:ShellData.ShellData>
<l:ShellData>
<l:ShellData.SearchCriteria>
<l:SearchCriteria Name="Search" BaseQueryName="CategoryList" SearchName="Search"/>
<l:SearchCriteria Name="ResultView"/>
</l:ShellData.SearchCriteria>
</l:ShellData>
</l:ShellData.ShellData>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="2*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition/>
</Grid.RowDefinitions>
<Grid Grid.Row="0" Grid.Column="0">
<Grid.ColumnDefinitions>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Expander Grid.Row="0" Grid.Column="0" IsExpanded="True">
<Expander.Header>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<l:SearchDescriptionPanel SearchCriteriaSource="{Binding Path=(l:ShellData.ShellData).SearchCriteria[Search], RelativeSource={RelativeSource Self}}"/>
<Button Grid.Column="1" IsDefault="True" Content="Apply Search" Command="{x:Static l:Commands.Search}" Height="24" CommandParameter="Search" HorizontalAlignment="Right" VerticalAlignment="Bottom"/>
</Grid>
</Expander.Header>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<l:SearchConditionsControl SearchCriteriaTarget="{Binding Path=(l:ShellData.ShellData).SearchCriteria[Search], RelativeSource={RelativeSource Self}}"/>
</Grid>
</Expander>
<l:ShellResultView Style="{DynamicResource ShellResultView}" Grid.Row="1" Name="ResultView" DirectoryStyleName="List" LeftDoubleClickCommandParameter="EditObject"
SearchCriteriaSource="{Binding Path=(l:ShellData.ShellData).SearchCriteria[Search], RelativeSource={RelativeSource Self}}"
SearchCriteriaTarget="{Binding Path=(l:ShellData.ShellData).SearchCriteria[ResultView], RelativeSource={RelativeSource Self}}"/>
<l:StyleTabStrip Grid.Row="2" ShellResultView="{Binding ElementName=ResultView}"/>
</Grid>
<l:ShellGridSplitter HorizontalAlignment="Left" ResizeDirection="Columns" ResizeBehavior="PreviousAndCurrent" Grid.Row="0" Grid.Column="1" l:ShellMode.Allowed="Browse,Update,Insert,Copy"/>
<l:InfoListBox Margin="6 0 0 0" Grid.Row="0" Grid.Column="1" SearchCriteriaSource="{Binding Path=(l:ShellData.ShellData).SearchCriteria[ResultView], RelativeSource={RelativeSource Self}}" l:ShellMode.Allowed="Browse"/>
<l:EditItemsControl ShellMode="{Binding Path=ShellMode, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type l:ShellPage}}}" SearchCriteriaSource="{Binding Path=(l:ShellData.ShellData).SearchCriteria[ResultView], RelativeSource={RelativeSource Self}}" Grid.Row="0" Grid.Column="1" Margin="6 0 0 0" l:ShellMode.Allowed="Copy,Insert,Update" AllowedObjectTypeNames="securityScope"/>
</Grid>
</l:ShellPage>