Spread Windows Forms 10.0 Product Documentation
ContainsFocus Property (ElementControl)


Gets whether the element currently has the input focus.
Syntax
'Declaration
 
Public Overridable Shadows ReadOnly Property ContainsFocus As Boolean
'Usage
 
Dim instance As ElementControl
Dim value As Boolean
 
value = instance.ContainsFocus
public virtual new bool ContainsFocus {get;}

Property Value

Boolean value: true if element currently has focus; false otherwise
Remarks

This property is available at run time only.

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

ElementControl Class
ElementControl Members

 

 


Copyright © GrapeCity, inc. All rights reserved.