Visual Basic (Declaration) | |
---|---|
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)> <SRDescriptionAttribute("Determines if this control or one if its children currently has the focus.")> <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> <BrowsableAttribute(False)> Public ReadOnly Property ContainsFocus As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As Medical3DControl Dim value As Boolean value = instance.ContainsFocus |
C# | |
---|---|
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] [SRDescriptionAttribute("Determines if this control or one if its children currently has the focus.")] [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)] [BrowsableAttribute(false)] public bool ContainsFocus {get;} |
C++/CLI | |
---|---|
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] [SRDescriptionAttribute("Determines if this control or one if its children currently has the focus.")] [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)] [BrowsableAttribute(false)] public: property bool ContainsFocus { bool get(); } |
Property Value
true if the control or one of its child controls currently has the input focus; otherwise, false.Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7