NavigatorTabItem class

Build 1501 on 14/Nov/2017  This topic last edited on: 22/Mar/2016, at 16:30

Description

Defines a stand-alone navigator.

Namespace

xmlns:l="http://www.teradp.com/schemas/GN4/1/Shell/Presentation"

Members

Nameidentifier.
Headername as it appears on the navigator.
xmlnsnamespace.
LeftDoubleClickCommandParameter:
identifies the addin command that is called when the left mouse is double-clicked. If it is not specified, the NavigatorTabItemLeftDoubleClick addin command is called.
RightMouseClickCommandParameter:
identifies the addin command that is called when the right mouse is clicked. If it is not specified, the ShowNavigatorTabItemContextMenu addin command is called.
RightDoubleClickCommandParameter
identifies the addin command that is called when the right mouse id double-clicked.

ContextMenuName identifies the ContextMenu in the configuration that is displayed used by the NavigatorTabItemLeftDoubleClick addin command.

SearchCriteriacontains a search criteria to link the navigator to the basequery. See SearchCriteria.

Examples

    <l:NavigatorTabItem x:Name="ArticleShellNavTab" Header="Articles"

      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">

      <l:NavigatorTabItem.SearchCriteria>

        <l:SearchCriteria BaseQueryName="ArticleShell" AutoApply="True"/>

      </l:NavigatorTabItem.SearchCriteria>

      <Grid Name="ArticleNavTabGrid">

        <Grid.RowDefinitions>

          <RowDefinition Height="*"/>

          <RowDefinition Height="Auto"/>

        </Grid.RowDefinitions>

        <l:FolderBrowser

          ConditionPath="[folderObject.folderRef]"

          SearchCriteriaTarget="{Binding Path=SearchCriteria, ElementName=ArticleShellNavTab}"/>

        <StackPanel Orientation="Horizontal" Grid.Row="1" HorizontalAlignment="Right" VerticalAlignment="Bottom" >

          <l:RefreshButton IsDefault="True" Margin="2" Height="24"

            Command="{x:Static l:Commands.Script}" CommandParameter="NavTabSearch"/>

          <l:SplitButton Margin="2" Height="24">

            <Button Content="New Group" Command="{x:Static l:Commands.Script}" CommandParameter="NavTabSearchNewGroup"/>

            <Button Content="New Listing" Command="{x:Static l:Commands.Script}" CommandParameter="NavTabSearchNewListing"/>

          </l:SplitButton>

        </StackPanel>

      </Grid>

    </l:NavigatorTabItem>

See also

NavigatorControl