Partager via


PropertyForm.SetButtonVisiblity Method (Boolean, Boolean, Boolean)

 

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

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

Syntax

protected void SetButtonVisiblity(
    bool okVisible,
    bool cancelVisible,
    bool applyVisible
)
protected:
void SetButtonVisiblity(
    bool okVisible,
    bool cancelVisible,
    bool applyVisible
)
Protected Sub SetButtonVisiblity (
    okVisible As Boolean,
    cancelVisible As Boolean,
    applyVisible As Boolean
)

Parameters

  • okVisible
    Type: System.Boolean

    true to make the OK button visible; otherwise, false.

  • cancelVisible
    Type: System.Boolean

    true to make the Cancel button visible; otherwise, false.

  • applyVisible
    Type: System.Boolean

    true to make the Apply button visible; otherwise, false.

See Also

PropertyForm Class
Microsoft.WindowsServerSolutions.Properties Namespace

Return to top