Skip to main content
A newer version of this page is available. .

BaseButton Class

Serves as a base for button controls.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.1.dll


public class BaseButton :


The BaseButton class implements the basic functionality of a regular button. It is derived from the BaseStyleControl class, so it enables you to control the button’s appearance using the BaseControl.LookAndFeel, BaseButton.BorderStyle, BaseStyleControl.Appearance and BaseControl.StyleController properties. You can therefore use a common means to specify styles and look and feel for button controls derived from the BaseButton class, and other DevExpress controls.

The BaseButton class implements an IButtonControl interface. Members of this interface allow you to use the button as a dialog button (BaseButton.DialogResult) or as the default button (BaseButton.NotifyDefault).

Do not create instances of the BaseButton class in applications. Instead, use the derived SimpleButton control. The descendant introduces additional functionality, allowing you to display images within buttons.

See Also