'Declaration Public Enum NavigationPaneExpansionMode Inherits System.Enum
public enum NavigationPaneExpansionMode : System.Enum
Member | Description |
---|---|
None | The navigation pane cannot be expanded or collapsed. |
OnButtonClick | The navigation pane's expanded state is toggled when the NavigationPaneExpansionButtonUIElement is clicked. |
OnButtonClickOrSizeChanged | Combines the OnButtonClick and OnSizeChanged settings; the navigation pane's expanded state is changed when the NavigationPaneExpansionButtonUIElement is clicked or when the control's width crosses the UltraExplorerBar.NavigationPaneExpansionThreshold. |
OnSizeChanged | The navigation pane is expanded or collapsed when the width of the UltraExplorerBar exceeds or falls below the value specified by the UltraExplorerBar.NavigationPaneExpansionThreshold. |
The NavigationPaneExpansionMode enumeration is marked with the [Flags] attribute, which means that some of the values can be combined. The following table outlines the significance of each individual setting as it relates to whether the expansion button is displayed, and also under which circumstances the value of the UltraExplorerBar.NavigationPaneExpandedState property is changed:
Constant | Button displayed? | Expanded state changed |
None | No | Never; the expanded state is always "Expanded'. |
OnButtonClick | Yes | Only when the navigation pane expansion button is clicked by the end user. |
OnSizeChanged | No | Only when the control's width crosses the expansion threshold. |
OnButtonClickOrSizeChanged | Yes | When the navigation pane expansion button is clicked by the end user, or when the control's width crosses the expansion threshold. |
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2