Share via


CommandSet.ProcessOnStatusExpandCollapseCommand Method

Determines whether the Expand or Collapse command appears on the context menu. Called when the user right-clicks over the diagram.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)

Syntax

'Declaration
Protected Overridable Sub ProcessOnStatusExpandCollapseCommand ( _
    command As MenuCommand _
)
protected virtual void ProcessOnStatusExpandCollapseCommand(
    MenuCommand command
)
protected:
virtual void ProcessOnStatusExpandCollapseCommand(
    MenuCommand^ command
)
abstract ProcessOnStatusExpandCollapseCommand : 
        command:MenuCommand -> unit  
override ProcessOnStatusExpandCollapseCommand : 
        command:MenuCommand -> unit
protected function ProcessOnStatusExpandCollapseCommand(
    command : MenuCommand
)

Parameters

.NET Framework Security

See Also

Reference

CommandSet Class

Microsoft.VisualStudio.Modeling.Shell Namespace