Implements the basic functionality required by a button control.
Object
MarshalByRefObject
MarshalByRefComponent
Control
RichControl
ButtonBase
[Visual Basic] MustInherit Public Class ButtonBase Inherits RichControl [C#] public abstract class ButtonBase : RichControl [C++] public __gc __abstract class ButtonBase : public RichControl [JScript] public abstract class ButtonBase extends RichControl
You do not typically inherit from ButtonBase. To create your own button class inherit from the Button, CheckBox, or RadioButton class.
To have the derived button control display an image, set the Image property or the ImageList and ImageIndex properties. The image may be aligned on the button control by setting the ImageAlign property. Likewise to align the Text displayed on the button control, set the TextAlign property.
Namespace: System.WinForms
Assembly: System.WinForms.dll
ButtonBase Members | System.WinForms Namespace | Control | RichControl