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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public Overridable ReadOnly Property CanFocus As Boolean
public virtual bool CanFocus { get; }
public:
virtual property bool CanFocus {
bool get ();
}
abstract CanFocus : bool with get
override CanFocus : bool with get
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.