Class PanelOkCancelButtons
Panel with Ok, Cancel and Apply buttons.
[ControlCategory("Panels")]
public class PanelOkCancelButtons : StackPanel, IBaseObjectWithId, IDisposableObject, IBaseObject, ISupportInitialize, IFocusable, ITextProperty, IComponent, IControl, IDisposable, IWin32Window, INotifyDataErrorInfo
- Inheritance
-
PanelOkCancelButtons
- Implements
Remarks
Example of how a PanelOkCancelButtons can look:
Constructors
- PanelOkCancelButtons()
Initializes a new instance of the PanelOkCancelButtons class.
- PanelOkCancelButtons(Control)
Initializes a new instance of the PanelOkCancelButtons class.
Properties
- ApplyButton
Gets 'Apply' button.
- CancelButton
Gets 'Cancel' button.
- DefaultButtonMargin
Gets or sets default margin for the buttons.
- OkButton
Gets 'Ok' button.
- ShowApplyButton
Gets or sets whether 'Apply' button is visible.
- UseModalResult
Gets or sets whether 'Ok' and 'Cancel' buttons change ModalResult when they are clicked.
Methods
- HandleCancelButtonClick(object?, EventArgs)
Called when 'Cancel' button is clicked.
- HandleOkButtonClick(object?, EventArgs)
Called when 'Ok' button is clicked.