Compartment.HasHighlighting Property
Gets the compartment shape and verifies whether it is highlighted.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Public Overrides ReadOnly Property HasHighlighting As Boolean
public override bool HasHighlighting { get; }
public:
virtual property bool HasHighlighting {
bool get () override;
}
abstract HasHighlighting : bool with get
override HasHighlighting : bool with get
override function get HasHighlighting () : boolean
Property Value
Type: Boolean
true if the compartment shape is highlighted; otherwise, false.
Remarks
By default, the return value is false.
A compartment shape is highlighted when a user clicks it in the Domain-Specific Language Designer.
.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.