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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
Syntax
'Declaration
Public Shared ReadOnly CompartmentShapeExpandCollapse As CommandID
public static readonly CommandID CompartmentShapeExpandCollapse
public:
static initonly CommandID^ CompartmentShapeExpandCollapse
static val CompartmentShapeExpandCollapse: CommandID
public static final var CompartmentShapeExpandCollapse : CommandID
Remarks
By using the Expand/Collapse command, you can show or hide the items in a compartment shape.
.NET Framework Security
- 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.