Spread Windows Forms 13.0 Product Documentation
FarPoint.Win Assembly / FarPoint.Win Namespace / ElementControl Class / State Property


In This Topic
    State Property (ElementControl)
    In This Topic
    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.

    See Also