Expander class

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

Description

Contains definition of an expandable zone.

Members

NameIdentifier.
Styletypically, always {StaticResource NavigatorExpander}.
Grid.ColumnPosition.
ExpandDirectionExpand direction.
IsExpandedDefault status, true or false.
HorizontalAlignmentAlignment.
MarginMargin.
Expander.HeaderNon-expandable part definition.
NavigatorControlContains the definition of an embedded navigator.

Remarks

Under the Grid section, typically after ColumnDefinitions section, in the main tabs definition, or within <l:NavigatorControl section of navigators, you can find a named Expander section.

There are 31 such sections in various main tabs and navigators in the Ted4_TabItems.xml and Fred4_TabItems.xml files and all have various names: "LeftExpander" (9 instances), "RightExpander" (4 instances), "SearchLeftExpander" (3 instances), "SearchRightExpander" (3 instances), "PubDestsExpander", etc.

expander2

The screenshot above shows how various expanders appear on screen.

1.The small expander button < regards the left tray (not used), and the code that starts with <l:ToolBarTrayExpander Name="ExpDockLeft"

2.The zone with this expander < button in the circle and the vertical Navigator label, is the main navigator expander and it's defined in Expander.Header section.

3.This vertical expander button before 113_Refresh_16 refresh button expands/collapses the search criteria zone (for Articles navigator, <Expander Name="ArticlesExpander" within <l:ShellTabItem x:Name="Ted4Articles"...).

4.The small expander button, where available, expands the draft view (for Articles navigator, <l:ToolBarTrayExpander IsExpanded="False" Margin="6,0,0,0" Name="RightPanel"...).

Click to expandLeftExpander
Click to expandExpander for search criteria zone
Click to expandExpander for item properties

See also

Expander.Header section