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


ToolBarButton コントロールの親は、ToolBar コントロールです。ツール バー ボタンを作成した後に設定する共通プロパティは、Text プロパティおよび ImageIndex プロパティです。イメージの下または右にテキストを表示するには、ボタンの Text プロパティを設定します。ボタンにイメージを割り当てるには、ImageList を作成し、そのオブジェクトをツール バーの ImageList プロパティに割り当て、イメージのインデックス値をボタンの ImageIndex プロパティに代入します。
ツール バーに割り当てたツール バー ボタンの外観を変更するには、親ツール バー コントロールの Appearance プロパティを設定します。ToolBarAppearance.Flat に設定すると、ボタンはフラットな外観で表示されます。マウス ポインタをボタンの上に移動すると、ボタンの外観が 3D に変化します。ボタンがフラットな外観である場合、ボタンの区切り記号は、各ボタンの間に空白ではなく線として表示されます。Appearance プロパティが ToolBarAppearance.Normal に設定されている場合、ボタンは 3D の浮き出した状態の外観になり、割れ目のような区切り記号が各ボタンの間に表示されます。
Style プロパティが ToolBarButtonStyle.DropDown に設定されている場合は、ボタンに ContextMenu を割り当てることができます。ボタンをクリックすると、割り当てられたメニューが表示されます。
ToolBar に表示される ToolBarButton コントロールのコレクションを作成するには、Buttons プロパティの Add メソッドを使用して、ボタンを個別に追加します。または、AddRange メソッドを使用して複数のツール バー ボタンを追加することもできます。

ToolBar と 3 つの ToolBarButton コントロールを作成するコード例を次に示します。ツール バー ボタンはボタン コレクションに割り当てられ、コレクションはツール バーに割り当てられ、ツール バーはフォームに追加されます。ツール バーの ButtonClick イベントが発生すると、ToolBarButtonClickEventArgs の Button プロパティが評価され、適切なダイアログ ボックスが開きます。このコードは、Form、OpenFileDialog、SaveFileDialog、および PrintDialog がすべて作成されていることを前提にしています。
Public Sub InitializeMyToolBar() ' Create and initialize the ToolBar and ToolBarButton controls. Dim toolBar1 As New ToolBar() Dim toolBarButton1 As New ToolBarButton() Dim toolBarButton2 As New ToolBarButton() Dim toolBarButton3 As New ToolBarButton() ' Set the Text properties of the ToolBarButton controls. toolBarButton1.Text = "Open" toolBarButton2.Text = "Save" toolBarButton3.Text = "Print" ' Add the ToolBarButton controls to the ToolBar. toolBar1.Buttons.Add(toolBarButton1) toolBar1.Buttons.Add(toolBarButton2) toolBar1.Buttons.Add(toolBarButton3) ' Add the event-handler delegate. AddHandler toolBar1.ButtonClick, AddressOf Me.toolBar1_ButtonClick ' Add the ToolBar to the Form. Controls.Add(toolBar1) End Sub Private Sub toolBar1_ButtonClick(ByVal sender As Object, _ ByVal e As ToolBarButtonClickEventArgs) ' Evaluate the Button property to determine which button was clicked. Select Case toolBar1.Buttons.IndexOf(e.Button) Case 0 openFileDialog1.ShowDialog() ' Insert code to open the file. Case 1 saveFileDialog1.ShowDialog() ' Insert code to save the file. Case 2 printDialog1.ShowDialog() ' Insert code to print the file. End Select End Sub
public void InitializeMyToolBar() { // Create and initialize the ToolBar and ToolBarButton controls. toolBar1 = new ToolBar(); ToolBarButton toolBarButton1 = new ToolBarButton(); ToolBarButton toolBarButton2 = new ToolBarButton(); ToolBarButton toolBarButton3 = new ToolBarButton(); // Set the Text properties of the ToolBarButton controls. toolBarButton1.Text = "Open"; toolBarButton2.Text = "Save"; toolBarButton3.Text = "Print"; // Add the ToolBarButton controls to the ToolBar. toolBar1.Buttons.Add(toolBarButton1); toolBar1.Buttons.Add(toolBarButton2); toolBar1.Buttons.Add(toolBarButton3); // Add the event-handler delegate. toolBar1.ButtonClick += new ToolBarButtonClickEventHandler ( this.toolBar1_ButtonClick); // Add the ToolBar to the Form. Controls.Add(toolBar1); } private void toolBar1_ButtonClick ( Object sender, ToolBarButtonClickEventArgs e) { // Evaluate the Button property to determine which button was clicked. switch(toolBar1.Buttons.IndexOf(e.Button)) { case 0: openFileDialog1.ShowDialog(); // Insert code to open the file. break; case 1: saveFileDialog1.ShowDialog(); // Insert code to save the file. break; case 2: printDialog1.ShowDialog(); // Insert code to print the file. break; } }
public: void InitializeMyToolBar() { // Create and initialize the ToolBar and ToolBarButton controls. toolBar1 = gcnew ToolBar; ToolBarButton^ toolBarButton1 = gcnew ToolBarButton; ToolBarButton^ toolBarButton2 = gcnew ToolBarButton; ToolBarButton^ toolBarButton3 = gcnew ToolBarButton; // Set the Text properties of the ToolBarButton controls. toolBarButton1->Text = "Open"; toolBarButton2->Text = "Save"; toolBarButton3->Text = "Print"; // Add the ToolBarButton controls to the ToolBar. toolBar1->Buttons->Add( toolBarButton1 ); toolBar1->Buttons->Add( toolBarButton2 ); toolBar1->Buttons->Add( toolBarButton3 ); // Add the event-handler delegate. toolBar1->ButtonClick += gcnew ToolBarButtonClickEventHandler( this, &Form1::toolBar1_ButtonClick ); // Add the ToolBar to the Form. Controls->Add( toolBar1 ); } private: void toolBar1_ButtonClick( Object^ sender, ToolBarButtonClickEventArgs^ e ) { // Evaluate the Button property to determine which button was clicked. switch ( toolBar1->Buttons->IndexOf( e->Button ) ) { case 0: openFileDialog1->ShowDialog(); // Insert code to open the file. break; case 1: saveFileDialog1->ShowDialog(); // Insert code to save the file. break; case 2: printDialog1->ShowDialog(); // Insert code to print the file. break; } }
public void InitializeMyToolBar() { // Create and initialize the ToolBar and ToolBarButton controls. toolBar1 = new ToolBar(); ToolBarButton toolBarButton1 = new ToolBarButton(); ToolBarButton toolBarButton2 = new ToolBarButton(); ToolBarButton toolBarButton3 = new ToolBarButton(); // Set the Text properties of the ToolBarButton controls. toolBarButton1.set_Text("Open"); toolBarButton2.set_Text("Save"); toolBarButton3.set_Text("Print"); // Add the ToolBarButton controls to the ToolBar. toolBar1.get_Buttons().Add(toolBarButton1); toolBar1.get_Buttons().Add(toolBarButton2); toolBar1.get_Buttons().Add(toolBarButton3); // Add the event-handler delegate. toolBar1.add_ButtonClick(new ToolBarButtonClickEventHandler( this.toolBar1_ButtonClick)); // Add the ToolBar to the Form. get_Controls().Add(toolBar1); } //InitializeMyToolBar protected void toolBar1_ButtonClick(Object sender, ToolBarButtonClickEventArgs e) { // Evaluate the Button property to determine which button was clicked. switch (toolBar1.get_Buttons().IndexOf(e.get_Button())) { case 0 : openFileDialog1.ShowDialog(); // Insert code to open the file. break; case 1 : saveFileDialog1.ShowDialog(); // Insert code to save the file. break; case 2 : printDialog1.ShowDialog(); // Insert code to print the file. break; } } //toolBar1_ButtonClick

System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.ToolBarButton


Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


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


新しく作成された ToolBarButton には、既定の Text または Image は割り当てられていません。ボタンの既定のスタイルは ToolBarButtonStyle.PushButton です。

ToolBar と 3 つの ToolBarButton コントロールを作成し、ボタンをツール バーに割り当ててから、ボタンの共通プロパティの一部を設定するコード例を次に示します。このコードは、MenuItem、ImageList、ToolTip、および Form が作成されていることと、ImageList に少なくとも 1 つの Image が割り当てられていることを前提にしています。
Public Sub InitializeMyToolBar() ' Create the ToolBar, ToolBarButton controls, and menus. Dim toolBarButton1 As New ToolBarButton("Open") Dim toolBarButton2 As New ToolBarButton() Dim toolBarButton3 As New ToolBarButton() Dim toolBar1 As New ToolBar() Dim menuItem1 As New MenuItem("Print") Dim contextMenu1 As New ContextMenu(New MenuItem(){menuItem1}) ' Add the ToolBarButton controls to the ToolBar. toolBar1.Buttons.Add(toolBarButton1) toolBar1.Buttons.Add(toolBarButton2) toolBar1.Buttons.Add(toolBarButton3) ' Assign an ImageList to the ToolBar and show ToolTips. toolBar1.ImageList = imageList1 toolBar1.ShowToolTips = True ' Assign ImageIndex, ContextMenu, Text, ToolTip, and ' Style properties of the ToolBarButton controls. toolBarButton2.Style = ToolBarButtonStyle.Separator toolBarButton3.Text = "Print" toolBarButton3.Style = ToolBarButtonStyle.DropDownButton toolBarButton3.ToolTipText = "Print" toolBarButton3.ImageIndex = 0 toolBarButton3.DropDownMenu = contextMenu1 ' Add the ToolBar to a form. Controls.Add(toolBar1) End Sub
public void InitializeMyToolBar() { // Create the ToolBar, ToolBarButton controls, and menus. ToolBarButton toolBarButton1 = new ToolBarButton("Open"); ToolBarButton toolBarButton2 = new ToolBarButton(); ToolBarButton toolBarButton3 = new ToolBarButton(); ToolBar toolBar1 = new ToolBar(); MenuItem menuItem1 = new MenuItem("Print"); ContextMenu contextMenu1 = new ContextMenu(new MenuItem[]{menuItem1}); // Add the ToolBarButton controls to the ToolBar. toolBar1.Buttons.Add(toolBarButton1); toolBar1.Buttons.Add(toolBarButton2); toolBar1.Buttons.Add(toolBarButton3); // Assign an ImageList to the ToolBar and show ToolTips. toolBar1.ImageList = imageList1; toolBar1.ShowToolTips = true; /* Assign ImageIndex, ContextMenu, Text, ToolTip, and Style properties of the ToolBarButton controls. */ toolBarButton2.Style = ToolBarButtonStyle.Separator; toolBarButton3.Text = "Print"; toolBarButton3.Style = ToolBarButtonStyle.DropDownButton; toolBarButton3.ToolTipText = "Print"; toolBarButton3.ImageIndex = 0; toolBarButton3.DropDownMenu = contextMenu1; // Add the ToolBar to a form. Controls.Add(toolBar1); }
public: void InitializeMyToolBar() { // Create the ToolBar, ToolBarButton controls, and menus. ToolBarButton^ toolBarButton1 = gcnew ToolBarButton( "Open" ); ToolBarButton^ toolBarButton2 = gcnew ToolBarButton; ToolBarButton^ toolBarButton3 = gcnew ToolBarButton; ToolBar^ toolBar1 = gcnew ToolBar; MenuItem^ menuItem1 = gcnew MenuItem( "Print" ); array<MenuItem^>^ temp1 = {menuItem1}; System::Windows::Forms::ContextMenu^ contextMenu1 = gcnew System::Windows::Forms::ContextMenu( temp1 ); // Add the ToolBarButton controls to the ToolBar. toolBar1->Buttons->Add( toolBarButton1 ); toolBar1->Buttons->Add( toolBarButton2 ); toolBar1->Buttons->Add( toolBarButton3 ); // Assign an ImageList to the ToolBar and show ToolTips. toolBar1->ImageList = imageList1; toolBar1->ShowToolTips = true; /* Assign ImageIndex, ContextMenu, Text, ToolTip, and Style properties of the ToolBarButton controls. */ toolBarButton2->Style = ToolBarButtonStyle::Separator; toolBarButton3->Text = "Print"; toolBarButton3->Style = ToolBarButtonStyle::DropDownButton; toolBarButton3->ToolTipText = "Print"; toolBarButton3->ImageIndex = 0; toolBarButton3->DropDownMenu = contextMenu1; // Add the ToolBar to a form. Controls->Add( toolBar1 ); }
public void InitializeMyToolBar() { // Create the ToolBar, ToolBarButton controls, and menus. ToolBarButton toolBarButton1 = new ToolBarButton("Open"); ToolBarButton toolBarButton2 = new ToolBarButton(); ToolBarButton toolBarButton3 = new ToolBarButton(); ToolBar toolBar1 = new ToolBar(); MenuItem menuItem1 = new MenuItem("Print"); ContextMenu contextMenu1 = new ContextMenu(new MenuItem[] {menuItem1}); // Add the ToolBarButton controls to the ToolBar. toolBar1.get_Buttons().Add(toolBarButton1); toolBar1.get_Buttons().Add(toolBarButton2); toolBar1.get_Buttons().Add(toolBarButton3); // Assign an ImageList to the ToolBar and show ToolTips. toolBar1.set_ImageList(imageList1); toolBar1.set_ShowToolTips(true); /* Assign ImageIndex, ContextMenu, Text, ToolTip, and * Style properties of the ToolBarButton controls. */ toolBarButton2.set_Style(ToolBarButtonStyle.Separator); toolBarButton3.set_Text("Print"); toolBarButton3.set_Style(ToolBarButtonStyle.DropDownButton); toolBarButton3.set_ToolTipText("Print"); toolBarButton3.set_ImageIndex(0); toolBarButton3.set_DropDownMenu(contextMenu1); // Add the ToolBar to a form. get_Controls().Add(toolBar1); } //InitializeMyToolBar

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


ToolBarButton コンストラクタ

名前 | 説明 |
---|---|
ToolBarButton () | ToolBarButton クラスの新しいインスタンスを初期化します。 .NET Compact Framework によってサポートされています。 |
ToolBarButton (String) | ToolBarButton クラスの新しいインスタンスを初期化し、割り当てられたテキストをボタン上に表示します。 |

ToolBarButton コンストラクタ (String)
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)


新しく作成された ToolBarButton には、Image が割り当てられていません。ボタンの既定のスタイルは PushButton です。text パラメータは Text プロパティに割り当てられ、新しいツール バー ボタン コントロールに表示されます。

ToolBar と 3 つの ToolBarButton コントロールを作成し、ボタンをツール バーに割り当ててから、ボタンの共通プロパティの一部を設定するコード例を次に示します。このコードは、MenuItem、ImageList、ToolTip、および Form が作成されていることと、ImageList に少なくとも 1 つの Image が割り当てられていることを前提にしています。
Public Sub InitializeMyToolBar() ' Create the ToolBar, ToolBarButton controls, and menus. Dim toolBarButton1 As New ToolBarButton("Open") Dim toolBarButton2 As New ToolBarButton() Dim toolBarButton3 As New ToolBarButton() Dim toolBar1 As New ToolBar() Dim menuItem1 As New MenuItem("Print") Dim contextMenu1 As New ContextMenu(New MenuItem(){menuItem1}) ' Add the ToolBarButton controls to the ToolBar. toolBar1.Buttons.Add(toolBarButton1) toolBar1.Buttons.Add(toolBarButton2) toolBar1.Buttons.Add(toolBarButton3) ' Assign an ImageList to the ToolBar and show ToolTips. toolBar1.ImageList = imageList1 toolBar1.ShowToolTips = True ' Assign ImageIndex, ContextMenu, Text, ToolTip, and ' Style properties of the ToolBarButton controls. toolBarButton2.Style = ToolBarButtonStyle.Separator toolBarButton3.Text = "Print" toolBarButton3.Style = ToolBarButtonStyle.DropDownButton toolBarButton3.ToolTipText = "Print" toolBarButton3.ImageIndex = 0 toolBarButton3.DropDownMenu = contextMenu1 ' Add the ToolBar to a form. Controls.Add(toolBar1) End Sub
public void InitializeMyToolBar() { // Create the ToolBar, ToolBarButton controls, and menus. ToolBarButton toolBarButton1 = new ToolBarButton("Open"); ToolBarButton toolBarButton2 = new ToolBarButton(); ToolBarButton toolBarButton3 = new ToolBarButton(); ToolBar toolBar1 = new ToolBar(); MenuItem menuItem1 = new MenuItem("Print"); ContextMenu contextMenu1 = new ContextMenu(new MenuItem[]{menuItem1}); // Add the ToolBarButton controls to the ToolBar. toolBar1.Buttons.Add(toolBarButton1); toolBar1.Buttons.Add(toolBarButton2); toolBar1.Buttons.Add(toolBarButton3); // Assign an ImageList to the ToolBar and show ToolTips. toolBar1.ImageList = imageList1; toolBar1.ShowToolTips = true; /* Assign ImageIndex, ContextMenu, Text, ToolTip, and Style properties of the ToolBarButton controls. */ toolBarButton2.Style = ToolBarButtonStyle.Separator; toolBarButton3.Text = "Print"; toolBarButton3.Style = ToolBarButtonStyle.DropDownButton; toolBarButton3.ToolTipText = "Print"; toolBarButton3.ImageIndex = 0; toolBarButton3.DropDownMenu = contextMenu1; // Add the ToolBar to a form. Controls.Add(toolBar1); }
public: void InitializeMyToolBar() { // Create the ToolBar, ToolBarButton controls, and menus. ToolBarButton^ toolBarButton1 = gcnew ToolBarButton( "Open" ); ToolBarButton^ toolBarButton2 = gcnew ToolBarButton; ToolBarButton^ toolBarButton3 = gcnew ToolBarButton; ToolBar^ toolBar1 = gcnew ToolBar; MenuItem^ menuItem1 = gcnew MenuItem( "Print" ); array<MenuItem^>^ temp1 = {menuItem1}; System::Windows::Forms::ContextMenu^ contextMenu1 = gcnew System::Windows::Forms::ContextMenu( temp1 ); // Add the ToolBarButton controls to the ToolBar. toolBar1->Buttons->Add( toolBarButton1 ); toolBar1->Buttons->Add( toolBarButton2 ); toolBar1->Buttons->Add( toolBarButton3 ); // Assign an ImageList to the ToolBar and show ToolTips. toolBar1->ImageList = imageList1; toolBar1->ShowToolTips = true; /* Assign ImageIndex, ContextMenu, Text, ToolTip, and Style properties of the ToolBarButton controls. */ toolBarButton2->Style = ToolBarButtonStyle::Separator; toolBarButton3->Text = "Print"; toolBarButton3->Style = ToolBarButtonStyle::DropDownButton; toolBarButton3->ToolTipText = "Print"; toolBarButton3->ImageIndex = 0; toolBarButton3->DropDownMenu = contextMenu1; // Add the ToolBar to a form. Controls->Add( toolBar1 ); }
public void InitializeMyToolBar() { // Create the ToolBar, ToolBarButton controls, and menus. ToolBarButton toolBarButton1 = new ToolBarButton("Open"); ToolBarButton toolBarButton2 = new ToolBarButton(); ToolBarButton toolBarButton3 = new ToolBarButton(); ToolBar toolBar1 = new ToolBar(); MenuItem menuItem1 = new MenuItem("Print"); ContextMenu contextMenu1 = new ContextMenu(new MenuItem[] {menuItem1}); // Add the ToolBarButton controls to the ToolBar. toolBar1.get_Buttons().Add(toolBarButton1); toolBar1.get_Buttons().Add(toolBarButton2); toolBar1.get_Buttons().Add(toolBarButton3); // Assign an ImageList to the ToolBar and show ToolTips. toolBar1.set_ImageList(imageList1); toolBar1.set_ShowToolTips(true); /* Assign ImageIndex, ContextMenu, Text, ToolTip, and * Style properties of the ToolBarButton controls. */ toolBarButton2.set_Style(ToolBarButtonStyle.Separator); toolBarButton3.set_Text("Print"); toolBarButton3.set_Style(ToolBarButtonStyle.DropDownButton); toolBarButton3.set_ToolTipText("Print"); toolBarButton3.set_ImageIndex(0); toolBarButton3.set_DropDownMenu(contextMenu1); // Add the ToolBar to a form. get_Controls().Add(toolBar1); } //InitializeMyToolBar

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


ToolBarButton プロパティ

名前 | 説明 | |
---|---|---|
![]() | Container | Component を格納している IContainer を取得します。 ( Component から継承されます。) |
![]() | Site | Component の ISite を取得または設定します。 ( Component から継承されます。) |
![]() | Visible | ツール バー ボタンが可視かどうかを示す値を取得または設定します。 |

名前 | 説明 | |
---|---|---|
![]() | CanRaiseEvents | コンポーネントがイベントを発生させることがきるかどうかを示す値を取得します。 ( Component から継承されます。) |
![]() | DesignMode | Component が現在デザイン モードかどうかを示す値を取得します。 ( Component から継承されます。) |
![]() | Events | Component に結び付けられているイベント ハンドラのリストを取得します。 ( Component から継承されます。) |

ToolBarButton メソッド

名前 | 説明 | |
---|---|---|
![]() | CreateObjRef | リモート オブジェクトとの通信に使用するプロキシの生成に必要な情報をすべて格納しているオブジェクトを作成します。 ( MarshalByRefObject から継承されます。) |
![]() | Dispose | オーバーロードされます。 ToolBarButton によって使用されているリソースを解放します。 |
![]() | Equals | オーバーロードされます。 2 つの Object インスタンスが等しいかどうかを判断します。 ( Object から継承されます。) |
![]() | GetHashCode | 特定の型のハッシュ関数として機能します。GetHashCode は、ハッシュ アルゴリズムや、ハッシュ テーブルのようなデータ構造での使用に適しています。 ( Object から継承されます。) |
![]() | GetLifetimeService | 対象のインスタンスの有効期間ポリシーを制御する、現在の有効期間サービス オブジェクトを取得します。 ( MarshalByRefObject から継承されます。) |
![]() | GetType | 現在のインスタンスの Type を取得します。 ( Object から継承されます。) |
![]() | InitializeLifetimeService | 対象のインスタンスの有効期間ポリシーを制御する、有効期間サービス オブジェクトを取得します。 ( MarshalByRefObject から継承されます。) |
![]() | ReferenceEquals | 指定した複数の Object インスタンスが同一かどうかを判断します。 ( Object から継承されます。) |
![]() | ToString | オーバーライドされます。 ToolBarButton コントロールを表す文字列を返します。 |

名前 | 説明 | |
---|---|---|
![]() | Dispose | オーバーロードされます。 オーバーライドされます。 ToolBarButton によって使用されているリソースを解放します。 |
![]() | Finalize | Component がガベージ コレクションによってクリアされる前に、アンマネージ リソースを解放し、その他のクリーンアップ操作を実行します。 ( Component から継承されます。) |
![]() | GetService | Component またはその Container で提供されるサービスを表すオブジェクトを返します。 ( Component から継承されます。) |
![]() | MemberwiseClone | オーバーロードされます。 ( MarshalByRefObject から継承されます。) |

ToolBarButton メンバ
Windows ツール バー ボタンを表します。ToolStripButton は以前のバージョンの ToolBarButton コントロールの機能を置換し拡張しますが、選択により、下位互換性および将来の使用のために ToolBarButton を保持することもできます。
ToolBarButton データ型で公開されるメンバを以下の表に示します。


名前 | 説明 | |
---|---|---|
![]() | Container | Component を格納している IContainer を取得します。(Component から継承されます。) |
![]() | Site | Component の ISite を取得または設定します。(Component から継承されます。) |
![]() | Visible | ツール バー ボタンが可視かどうかを示す値を取得または設定します。 |

名前 | 説明 | |
---|---|---|
![]() | CanRaiseEvents | コンポーネントがイベントを発生させることがきるかどうかを示す値を取得します。(Component から継承されます。) |
![]() | DesignMode | Component が現在デザイン モードかどうかを示す値を取得します。(Component から継承されます。) |
![]() | Events | Component に結び付けられているイベント ハンドラのリストを取得します。(Component から継承されます。) |

名前 | 説明 | |
---|---|---|
![]() | CreateObjRef | リモート オブジェクトとの通信に使用するプロキシの生成に必要な情報をすべて格納しているオブジェクトを作成します。 (MarshalByRefObject から継承されます。) |
![]() | Dispose | オーバーロードされます。 ToolBarButton によって使用されているリソースを解放します。 |
![]() | Equals | オーバーロードされます。 2 つの Object インスタンスが等しいかどうかを判断します。 (Object から継承されます。) |
![]() | GetHashCode | 特定の型のハッシュ関数として機能します。GetHashCode は、ハッシュ アルゴリズムや、ハッシュ テーブルのようなデータ構造での使用に適しています。 (Object から継承されます。) |
![]() | GetLifetimeService | 対象のインスタンスの有効期間ポリシーを制御する、現在の有効期間サービス オブジェクトを取得します。 (MarshalByRefObject から継承されます。) |
![]() | GetType | 現在のインスタンスの Type を取得します。 (Object から継承されます。) |
![]() | InitializeLifetimeService | 対象のインスタンスの有効期間ポリシーを制御する、有効期間サービス オブジェクトを取得します。 (MarshalByRefObject から継承されます。) |
![]() | ReferenceEquals | 指定した複数の Object インスタンスが同一かどうかを判断します。 (Object から継承されます。) |
![]() | ToString | オーバーライドされます。 ToolBarButton コントロールを表す文字列を返します。 |

名前 | 説明 | |
---|---|---|
![]() | Dispose | オーバーロードされます。 オーバーライドされます。 ToolBarButton によって使用されているリソースを解放します。 |
![]() | Finalize | Component がガベージ コレクションによってクリアされる前に、アンマネージ リソースを解放し、その他のクリーンアップ操作を実行します。 (Component から継承されます。) |
![]() | GetService | Component またはその Container で提供されるサービスを表すオブジェクトを返します。 (Component から継承されます。) |
![]() | MemberwiseClone | オーバーロードされます。 ( MarshalByRefObject から継承されます。) |


- ToolBarButtonのページへのリンク