다음을 통해 공유


ShapeElement.CanFocus Property

Gets the shape and verifies whether it can receive the focus.

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 CanFocus As Boolean
    Get
public virtual bool CanFocus { get; }
public:
virtual property bool CanFocus {
    bool get ();
}
abstract CanFocus : bool
override CanFocus : bool
function get CanFocus () : boolean

Property Value

Type: System.Boolean
true if the shape can receive the focus; otherwise, false.

Remarks

By default, the return value is true.

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace