Description
Contains the definition of an embedded navigator.
It is a specialized TabControl for use within ShellPage and ShellWindow configurations.
Often it appears within Expander section within Grid section of the main tab definition.
See also Main tab <l:NavigatorControl section.
Namespace
xmlns:l="http://www.teradp.com/schemas/GN4/1/Shell/Presentation"
Members
For the list of properties and methods, see:
Remarks
There are 11 definitions of NavigatorControl in Ted4_TabItems.xml and Fred4_TabItems.xml, and all have the same name "Navigator".
Structure
The <l:NavigatorControl section has two possible structures.
1/ Structure with calls to stand-alone navigators
Such structure is very simple, as it contains just a single line with the list of navigators, that are defined elsewhere, through statements such as <l:NavigatorTabItem x:Name="TaskShellNavTab" Header="Tasks" etc.
<l:ShellTabItem x:Name="PlanningMainTab" Header="Planning" MenuConfigName="PlanningMainTab"
...
<l:NavigatorControl Name="Navigator" HorizontalAlignment="Stretch" Style="{StaticResource NavigatorControlStyle}"
NavigatorTabItemNames="TaskShellNavTab,BudgetShellNavTab,EventShellNavTab"/>
</Expander>
It is easy to manage, for example, to add a new navigator call, or to reorder navigators.
Sections, structured in this way can be found under following main tabs: PlanningMainTab, CollectionsMainTab, ShellMainTab in Ted4_TabItems.xml, and ShellMainTab in Fred4_TabItems.xml.
2/ Structure with full navigator definition
Such structure is more complicated, as it contains a full definition of all navigators.
Sections, structured in this way, can be found under following main tabs: Ted4Articles, Ted4PubDests, ContactsMainTab, ContentMainTab in Ted4_TabItems.xml, and in Fred4Pages, Fred4Editions, Fred4TracyLayouts in Fred4_TabItems.xml.
<l:NavigatorControl HorizontalAlignment="Stretch" Style="{StaticResource NavigatorControlStyle}"> <l:NavigatorControl HorizontalAlignment="Stretch" Style="{StaticResource NavigatorControlStyle}"> <l:NavigatorControl Name="Navigator" HorizontalAlignment="Stretch" Style="{StaticResource NavigatorControlStyle}" <l:NavigatorControl Name="Navigator" HorizontalAlignment="Stretch" Style="{StaticResource NavigatorControlStyle}" <l:NavigatorControl Name="Navigator" HorizontalAlignment="Stretch" Style="{StaticResource NavigatorControlStyle}"> <l:NavigatorControl Name="Navigator" HorizontalAlignment="Stretch" Style="{StaticResource NavigatorControlStyle}" <l:NavigatorControl Name="Navigator" HorizontalAlignment="Stretch" Style="{StaticResource NavigatorControlStyle}"> <l:NavigatorControl Name="Navigator" HorizontalAlignment="Stretch" Style="{StaticResource NavigatorControlStyle}"> <l:NavigatorControl Name="Navigator" HorizontalAlignment="Stretch"> <l:NavigatorControl x:Name="Navigator" HorizontalAlignment="Stretch" Style="{StaticResource NavigatorControlStyle}" <l:NavigatorControl x:Name="Navigator" HorizontalAlignment="Stretch" Style="{StaticResource NavigatorControlStyle}"> <l:NavigatorControl x:Name="Navigator" HorizontalAlignment="Stretch" Style="{StaticResource NavigatorControlStyle}"> <l:NavigatorControl x:Name="Navigator" HorizontalAlignment="Stretch" Style="{StaticResource NavigatorControlStyle}">
|
See also
NavigatorTabItem for stand-alone navigators.