Share via


PropertyForm.SetButtonEnableState Method (Boolean, Boolean, Boolean)

 

Specifies the state of the OK, Cancel, and Apply buttons.

Namespace:   Microsoft.WindowsServerSolutions.Properties
Assembly:  AdminCommon (in AdminCommon.dll)

Syntax

protected void SetButtonEnableState(
    bool okEnabled,
    bool cancelEnabled,
    bool applyEnabled
)
protected:
void SetButtonEnableState(
    bool okEnabled,
    bool cancelEnabled,
    bool applyEnabled
)
Protected Sub SetButtonEnableState (
    okEnabled As Boolean,
    cancelEnabled As Boolean,
    applyEnabled As Boolean
)

Parameters

  • okEnabled
    Type: System.Boolean

    true to enable the OK button; otherwise, false.

  • cancelEnabled
    Type: System.Boolean

    true to enable the Cancel button; otherwise, false.

  • applyEnabled
    Type: System.Boolean

    true to enable the Apply button; otherwise, false.

See Also

PropertyForm Class
Microsoft.WindowsServerSolutions.Properties Namespace

Return to top