Description
Defines expandable sidebar zones of the main window and in expandable panes (e.g. navigator draft view).
Namespace
xmlns:l="http://www.teradp.com/schemas/GN4/1/Shell/Presentation"
Members
Name | The expander element name, that is used as the connection with the related ShellGridSplitter. |
DockPanel.Dock | name of the docked zone - not used in draft view expanders |
ExpandDirection | expanding direction |
IsExpanded | Default status of this expander. False means not expanded by default. Change this to have different default. Note: if you set it to True, and it was False, have in mind that the default navigator width may not be enough, thus increase it. |
Margin | Margins |
Grid.Row | In which row of the <Grid.RowDefinitions it starts. |
Grid.RowSpan | Over how many rows of the <Grid.RowDefinitions it extends. |
Grid.Column | In which column of the <Grid.ColumnDefinitions it starts. |
Grid part of the draft view / audit info pane
The <Grid> part of the draft view / audit info pane defines the actual displacement of these two elements. Firstly it defines two rows, whereas the first one is 3-times larger (3*) than the second one. The <l:InfoListBox goes in the first row (no specified row, it means the row 0), pointing to the ArticleResultView, followed by the <l:ShellGridSplitter in the row 0, 5 units high, followed by the <l:AuditListBox in row 1, also pointing to the ArticleResultView.
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="3*"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<l:InfoListBox
HorizontalAlignment="Stretch"
Margin="0,0,0,6"
SearchCriteriaSource="{Binding Path=(l:ShellData.ShellData).SearchCriteria[ArticleResultView], RelativeSource={RelativeSource Self}}"/>
<l:ShellGridSplitter
Grid.Row="0"
Name="RightPanelSplitter"
VerticalAlignment="Bottom"
Height="5"
HorizontalAlignment="Stretch"/>
<l:AuditListBox
Margin="0"
HorizontalAlignment="Stretch"
Grid.Row="1"
SearchCriteriaSource="{Binding Path=(l:ShellData.ShellData).SearchCriteria[ArticleResultView], RelativeSource={RelativeSource Self}}"/>
</Grid>
Examples
<l:ToolBarTrayExpander Name="ExpDockTop" DockPanel.Dock="Top" ExpandDirection="Down" IsExpanded="True"> <l:ShellToolBarTray l:ShellUI.ToolBarTrayName="Top" Orientation="Horizontal" Height="Auto" /> </l:ToolBarTrayExpander> |
<l:ToolBarTrayExpander IsExpanded="False" Margin="6,0,0,0" Name="RightPanel" ExpandDirection="Left" l:ShellMode.Allowed="Browse" Grid.Row="0" Grid.RowSpan="5" Grid.Column="1" > |
<l:ToolBarTrayExpander IsExpanded="False" Margin="6,0,0,0" Name="RightPanel" ExpandDirection="Left" l:ShellMode.Allowed="Browse" Grid.Row="0" Grid.RowSpan="5" Grid.Column="1" > <l:ToolBarTrayExpander IsExpanded="False" Margin="6,0,0,0" Name="ContentNavTabRightPanel" ExpandDirection="Left" l:ShellMode.Allowed="Browse" Grid.Row="0" Grid.RowSpan="5" Grid.Column="1" > <l:ToolBarTrayExpander IsExpanded="False" Margin="6,0,0,0" Name="RightPanel" ExpandDirection="Left" l:ShellMode.Allowed="Browse" Grid.Row="0" Grid.RowSpan="5" Grid.Column="1" > <l:ToolBarTrayExpander IsExpanded="False" Margin="6,0,0,0" Name="ContentNavTabRightPanel" ExpandDirection="Left" l:ShellMode.Allowed="Browse" Grid.Row="0" Grid.RowSpan="5" Grid.Column="1" > <l:ToolBarTrayExpander Name="ExpDockBottom" DockPanel.Dock="Bottom" ExpandDirection="Up" IsExpanded="True"> <l:ToolBarTrayExpander Name="ExpDockBottom" DockPanel.Dock="Bottom" ExpandDirection="Up" IsExpanded="True"> <l:ToolBarTrayExpander Name="ExpDockBottom" DockPanel.Dock="Bottom" ExpandDirection="Up" IsExpanded="True"> <l:ToolBarTrayExpander Name="ExpDockBottom" DockPanel.Dock="Bottom" ExpandDirection="Up" IsExpanded="True"> <l:ToolBarTrayExpander Name="ExpDockBottom" DockPanel.Dock="Bottom" ExpandDirection="Up" IsExpanded="True"> <l:ToolBarTrayExpander Name="ExpDockLeft" DockPanel.Dock="Left" ExpandDirection="Right" IsExpanded="True" HorizontalAlignment="Right" VerticalAlignment="Stretch"> <l:ToolBarTrayExpander Name="ExpDockLeft" DockPanel.Dock="Left" ExpandDirection="Right" IsExpanded="True" HorizontalAlignment="Right" VerticalAlignment="Stretch"> <l:ToolBarTrayExpander Name="ExpDockLeft" DockPanel.Dock="Left" ExpandDirection="Right" IsExpanded="True" HorizontalAlignment="Right" VerticalAlignment="Stretch"> <l:ToolBarTrayExpander Name="ExpDockLeft" DockPanel.Dock="Left" ExpandDirection="Right" IsExpanded="True" HorizontalAlignment="Right" VerticalAlignment="Stretch"> <l:ToolBarTrayExpander Name="ExpDockLeft" DockPanel.Dock="Left" ExpandDirection="Right" IsExpanded="True" HorizontalAlignment="Right" VerticalAlignment="Stretch"> <l:ToolBarTrayExpander Name="ExpDockRight" DockPanel.Dock="Right" ExpandDirection="Left" IsExpanded="True" HorizontalAlignment="Right" VerticalAlignment="Stretch"> <l:ToolBarTrayExpander Name="ExpDockRight" DockPanel.Dock="Right" ExpandDirection="Left" IsExpanded="True" HorizontalAlignment="Right" VerticalAlignment="Stretch"> <l:ToolBarTrayExpander Name="ExpDockRight" DockPanel.Dock="Right" ExpandDirection="Left" IsExpanded="True" HorizontalAlignment="Right" VerticalAlignment="Stretch"> <l:ToolBarTrayExpander Name="ExpDockRight" DockPanel.Dock="Right" ExpandDirection="Left" IsExpanded="False" HorizontalAlignment="Right" VerticalAlignment="Stretch"> <l:ToolBarTrayExpander Name="ExpDockRight" DockPanel.Dock="Right" ExpandDirection="Left" IsExpanded="True" HorizontalAlignment="Right" VerticalAlignment="Stretch"> <l:ToolBarTrayExpander Name="ExpDockTop" DockPanel.Dock="Top" ExpandDirection="Down" IsExpanded="True"> <l:ToolBarTrayExpander Name="ExpDockTop" DockPanel.Dock="Top" ExpandDirection="Down" IsExpanded="True"> <l:ToolBarTrayExpander Name="ExpDockTop" DockPanel.Dock="Top" ExpandDirection="Down" IsExpanded="True"> <l:ToolBarTrayExpander Name="ExpDockTop" DockPanel.Dock="Top" ExpandDirection="Down" IsExpanded="True"> <l:ToolBarTrayExpander Name="ExpDockTop" DockPanel.Dock="Top" ExpandDirection="Down" IsExpanded="True"> <l:ToolBarTrayExpander Name="RightToolBarTray" DockPanel.Dock="Right" ExpandDirection="Left" IsExpanded="True" HorizontalAlignment="Right" VerticalAlignment="Top"> <l:ToolBarTrayExpander Name="TopToolBarTray" DockPanel.Dock="Top" ExpandDirection="Down" IsExpanded="True"> <l:ToolBarTrayExpander x:Name="BottomToolBarTray" DockPanel.Dock="Bottom" ExpandDirection="Up" IsExpanded="True"> <l:ToolBarTrayExpander x:Name="BottomToolBarTray" DockPanel.Dock="Bottom" ExpandDirection="Up" IsExpanded="True"> <l:ToolBarTrayExpander x:Name="BottomToolBarTray" DockPanel.Dock="Bottom" ExpandDirection="Up" IsExpanded="True"> <l:ToolBarTrayExpander x:Name="LeftToolBarTray" DockPanel.Dock="Left" ExpandDirection="Right" IsExpanded="True" HorizontalAlignment="Right" VerticalAlignment="Stretch"> <l:ToolBarTrayExpander x:Name="LeftToolBarTray" DockPanel.Dock="Left" ExpandDirection="Right" IsExpanded="True" HorizontalAlignment="Right" VerticalAlignment="Stretch"> <l:ToolBarTrayExpander x:Name="LeftToolBarTray" DockPanel.Dock="Left" ExpandDirection="Right" IsExpanded="True" HorizontalAlignment="Right" VerticalAlignment="Stretch"> <l:ToolBarTrayExpander x:Name="RightToolBarTray" DockPanel.Dock="Right" ExpandDirection="Left" IsExpanded="True" HorizontalAlignment="Right" VerticalAlignment="Stretch"> <l:ToolBarTrayExpander x:Name="RightToolBarTray" DockPanel.Dock="Right" ExpandDirection="Left" IsExpanded="True" HorizontalAlignment="Right" VerticalAlignment="Stretch"> <l:ToolBarTrayExpander x:Name="RightToolBarTray" DockPanel.Dock="Right" ExpandDirection="Left" IsExpanded="True" HorizontalAlignment="Right" VerticalAlignment="Stretch"> <l:ToolBarTrayExpander x:Name="TopToolBarTray" DockPanel.Dock="Top" ExpandDirection="Down" IsExpanded="True"> <l:ToolBarTrayExpander x:Name="TopToolBarTray" DockPanel.Dock="Top" ExpandDirection="Down" IsExpanded="True"> <l:ToolBarTrayExpander x:Name="TopToolBarTray" DockPanel.Dock="Top" ExpandDirection="Down" IsExpanded="True">
|
More
On Main tab
The <l:ToolBarTrayExpander section, named ExpDockTop, ExpDockBottom, ExpDockLeft and ExpDockRight appears within DockPanel section and defines four sidebar zones. In some places, the names are TopToolBarTray, RightToolBarTray, Left, Bottom, LeftToolBarTray, BottomToolBarTray.
The similar section also appears in expandable panes (e.g. navigator draft view).
Normally, there's nothing to reconfigure here.
For examples and more details, see <l:ToolBarTrayExpander
On Navigators
The <l:ToolBarTrayExpander section that appears in the xxx_TabItems.xml file after <l:ShellGridSplitter within a navigator definition in navigators that have the expandable draft view shared with the Audit zone, such as Articles navigator. It contains the draft view and audit zone, as show on the right part of the following screenshot:
For details, see <l:ToolBarTrayExpander.
The <l:ToolBarTrayExpander section contains a <Grid on its own to place the draft view pane and the audit pane.
<l:ToolBarTrayExpander
IsExpanded="False"
Margin="6,0,0,0"
Name="RightPanel"
ExpandDirection="Left"
l:ShellMode.Allowed="Browse"
Grid.Row="0"
Grid.RowSpan="5"
Grid.Column="1" >
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="3*"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<l:InfoListBox
HorizontalAlignment="Stretch"
Margin="0,0,0,6"
SearchCriteriaSource="{Binding Path=(l:ShellData.ShellData).SearchCriteria[ArticleResultView], RelativeSource={RelativeSource Self}}"/>
<l:ShellGridSplitter
Grid.Row="0"
Name="RightPanelSplitter"
VerticalAlignment="Bottom"
Height="5"
HorizontalAlignment="Stretch"/>
<l:AuditListBox
Margin="0"
HorizontalAlignment="Stretch"
Grid.Row="1"
SearchCriteriaSource="{Binding Path=(l:ShellData.ShellData).SearchCriteria[ArticleResultView], RelativeSource={RelativeSource Self}}"/>
</Grid>
</l:ToolBarTrayExpander>