Table of Contents

Constructor PanelOkCancelButtons

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

PanelOkCancelButtons(Control)

Initializes a new instance of the PanelOkCancelButtons class. This constructor creates a panel with 'Ok' and 'Cancel' buttons.

public PanelOkCancelButtons(Control parent)

Parameters

parent Control

Parent of the control.

PanelOkCancelButtons()

Initializes a new instance of the PanelOkCancelButtons class. This constructor creates a panel with 'Ok' and 'Cancel' buttons.

public PanelOkCancelButtons()

PanelOkCancelButtons(bool)

Initializes a new instance of the PanelOkCancelButtons class with options to automatically create standard buttons.

public PanelOkCancelButtons(bool autoCreateButtons)

Parameters

autoCreateButtons bool

A value indicating whether the 'Ok' and 'Cancel' buttons should be automatically created. Specify true to create the buttons; otherwise, false.

PanelOkCancelButtons(CreateParameters)

Initializes a new instance of the PanelOkCancelButtons class with specified parameters.

public PanelOkCancelButtons(PanelOkCancelButtons.CreateParameters prm)

Parameters

prm PanelOkCancelButtons.CreateParameters

The parameters used to determine which buttons to create and configure.

Remarks

This constructor sets up a horizontal stack panel with buttons aligned to the right and centered vertically. It optionally creates the 'Ok', 'Cancel', and 'Apply' buttons based on the provided parameters.