Skip to main content
A newer version of this page is available. .

DocumentMapCommands Members

Provides access to document map commands.

Constructors

Name Description
DocumentMapCommands() Initializes a new instance of a DocumentMapCommands class.

Properties

Name Description
CollapseTopLevelNodesCommand static Returns a command that collapses top-level nodes of the Document Map.
ExpandCurrentNodeCommand static Returns a command that expands the currently selected node of the Document Map.
ExpandTopLevelNodesCommand static Returns a command that expands top-level nodes of the Document Map.
GoToNodeCommand static Returns a command that navigates to a document element corresponding to the selected Document Map’s node.

Methods

Name Description
CanExecuteCollapseTopLevelNodesCommand(TreeListView, CanExecuteRoutedEventArgs) static Identifies whether it is possible to execute the DocumentMapCommands.CollapseTopLevelNodesCommand command.
CanExecuteExpandTopLevelNodesCommand(TreeListView, CanExecuteRoutedEventArgs) static Identifies whether it is possible to execute the DocumentMapCommands.ExpandTopLevelNodesCommand command.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
ExecuteGoToNodeCommand(FrameworkElement, ExecutedRoutedEventArgs) static Executes the DocumentMapCommands.GoToNodeCommand command.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also