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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.