ButtonBase クラス
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)

<ComVisibleAttribute(True)> _ <ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)> _ Public MustInherit Class ButtonBase Inherits Control
[ComVisibleAttribute(true)] [ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)] public abstract class ButtonBase : Control
[ComVisibleAttribute(true)] [ClassInterfaceAttribute(ClassInterfaceType::AutoDispatch)] public ref class ButtonBase abstract : public Control

通常、ButtonBase から継承することはありません。独自のボタン クラスを作成するには、Button、CheckBox、RadioButton の各クラスのいずれかから継承します。
派生したボタン コントロールにイメージを表示するには、Image プロパティ、または ImageList プロパティと ImageIndex プロパティを設定します。ImageAlign プロパティを設定することにより、ボタン コントロール上のイメージを整列できます。同様に、ボタン コントロールに表示されている Text を整列するには、TextAlign プロパティを設定します。
FlatStyle プロパティは、コントロールのスタイルと外観を決定します。FlatStyle プロパティが FlatStyle.System に設定されている場合は、ユーザーが使用しているオペレーティング システムによってコントロールの外観が決定されます。

System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.Control
System.Windows.Forms.ButtonBase
System.Windows.Forms.Button
System.Windows.Forms.CheckBox
System.Windows.Forms.RadioButton


Windows 98, Windows 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
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


- ButtonBase クラスのページへのリンク