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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.