Spread Windows Forms 10.0 Product Documentation
State Property (ElementControl)


Gets or sets the element state for the control.
Syntax
'Declaration
 
Public Overridable Property State As ElementState
'Usage
 
Dim instance As ElementControl
Dim value As ElementState
 
instance.State = value
 
value = instance.State
public virtual ElementState State {get; set;}

Property Value

ElementState setting that determines the state of the control
Remarks

Use this property to get or set the control state: whether it is active, inverted, or inactive.

Note: Some controls do not change their appearance when their state changes.

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
ElementState Enumeration

 

 


Copyright © GrapeCity, inc. All rights reserved.