Partager 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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Déclaration
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

See Also

Reference

Compartment Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace