Compartment.HasHighlighting Property
Gets the compartment shape and verifies whether it is highlighted.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
Public Overrides ReadOnly Property HasHighlighting As Boolean
Get
public override bool HasHighlighting { get; }
public:
virtual property bool HasHighlighting {
bool get () override;
}
abstract HasHighlighting : bool
override HasHighlighting : bool
override function get HasHighlighting () : boolean
Property Value
Type: System.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.