CommonModelingCommands.CompartmentShapeExpandCollapse Field

Gets the command ID of the Expand/Collapse command for the compartment shape.

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

Syntax

'宣言
Public Shared ReadOnly CompartmentShapeExpandCollapse As CommandID
'使用
Dim value As CommandID

value = CommonModelingCommands.CompartmentShapeExpandCollapse
public static readonly CommandID CompartmentShapeExpandCollapse
public:
static initonly CommandID^ CompartmentShapeExpandCollapse
public static final var CompartmentShapeExpandCollapse : CommandID

Field Value

Type: System.ComponentModel.Design.CommandID

Remarks

By using the Expand/Collapse command, you can show or hide the items in a compartment shape.

Permissions

See Also

Reference

CommonModelingCommands Class

CommonModelingCommands Members

Microsoft.VisualStudio.Modeling.Shell Namespace