Share via


Compartment.HasHighlighting Property

Gets the compartment shape and verifies whether it is highlighted.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property HasHighlighting As Boolean
'Usage
Dim instance As Compartment 
Dim value As Boolean 

value = instance.HasHighlighting
public override bool HasHighlighting { get; }
public:
virtual property bool HasHighlighting {
    bool get () override;
}
public 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

See Also

Reference

Compartment Class

Compartment Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace