共用方式為


ShapeElement.HasHighlighting Property

Gets the 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

'宣告
Public Overridable ReadOnly Property HasHighlighting As Boolean
    Get
public virtual bool HasHighlighting { get; }
public:
virtual property bool HasHighlighting {
    bool get ();
}
abstract HasHighlighting : bool
override HasHighlighting : bool
function get HasHighlighting () : boolean

Property Value

Type: System.Boolean
true if the shape is highlighted; otherwise, false.

Remarks

By default, the return value is true.

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace