VisibilityConstraints Element
The VisibilityConstraints element determines the static visibility of groups of commands and toolbars. The visibility is first controlled by the Visual Studio integrated development environment (IDE) without loading the VSPackage.
<VisibilityConstraints>
<VisibilityConstraint>... </VisibilityConstraint>
<VisibilityConstraint>... </VisibilityConstraint>
</VisibilityConstraint>
The following sections describe attributes, child elements, and parent elements.
Attribute |
Description |
---|---|
Condition |
Optional. See VSCT XML Schema Conditional Attributes. |
Element |
Description |
---|---|
Determines the static visibility of commands and toolbars. |
|
Determines the static visibility of groups of commands and toolbars. |
Element |
Description |
---|---|
Defines all the elements that represent the commands (for example, menu items, menus, toolbars, and combo boxes) that a VSPackage provides to the IDE. |
<VisibilityConstraints>
<VisibilityItem guid="cmdSetGuidMyProductCommands" id="cmdidAddWidget"
context="guidNotViewSourceMode"/>
</VisibilityConstraints>