ButtonBase Class
Assembly: System.Windows.Forms (in system.windows.forms.dll)
[ComVisibleAttribute(true)] [ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)] public abstract class ButtonBase : Control
/** @attribute ComVisibleAttribute(true) */ /** @attribute ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch) */ public abstract class ButtonBase extends Control
ComVisibleAttribute(true) ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch) public abstract class ButtonBase extends Control
Not applicable.
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 can 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.
The FlatStyle property determines the style and appearance of the control. If the FlatStyle property is set to FlatStyle.System, the user's operating system determines the appearance of the control.
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.