共用方式為


LabelShape.CanFocus Property

Gets the child label 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 Overrides ReadOnly Property CanFocus As Boolean
    Get
public override bool CanFocus { get; }
public:
virtual property bool CanFocus {
    bool get () override;
}
abstract CanFocus : bool
override CanFocus : bool
override function get CanFocus () : boolean

Property Value

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

.NET Framework Security

See Also

Reference

LabelShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace