CheckedListBox イベント


関連項目
CheckedListBox クラスSystem.Windows.Forms 名前空間
ListBox
その他の技術情報
CheckedListBox コントロール (Windows フォーム)CheckedListBox クラス
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)

<ComVisibleAttribute(True)> _ <ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)> _ Public Class CheckedListBox Inherits ListBox
[ComVisibleAttribute(true)] [ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)] public class CheckedListBox : ListBox
[ComVisibleAttribute(true)] [ClassInterfaceAttribute(ClassInterfaceType::AutoDispatch)] public ref class CheckedListBox : public ListBox

このコントロールは、キーボード、またはコントロールの右側にあるスクロール バーを使用して移動できる項目のリストを示します。ユーザーは 1 つ以上の項目にチェック マークを付けることができ、CheckedListBox.CheckedItemCollection および CheckedListBox.CheckedIndexCollection を使用して、チェックした項目の間を移動できます。
実行時にオブジェクトをリストに追加するには、オブジェクト参照の配列を AddRange メソッドを使用して割り当てます。各オブジェクトの既定の文字列値がリストに表示されます。Add メソッドを使用して、個別の項目をリストに追加できます。
CheckedListBox オブジェクトは、CheckState 列挙体を使用して、3 つの状態 (Checked、Indeterminate、および Unchecked) をサポートします。Indeterminate の状態は、CheckedListBox のユーザー インターフェイスに設定のための機構が用意されていないため、コードで設定する必要があります。
UseTabStops が true の場合、CheckedListBox は項目のテキスト内のタブ文字を認識して展開し、列を作成します。ただし、タブ ストップは事前設定され、変更はできません。
CheckedListBox クラスは、次の 3 つのインデックス付きコレクションをサポートします。
CheckedListBox.ObjectCollection | |
チェックされた項目 (中間状態の項目を含む) であり、CheckedListBox コントロールに格納されている項目のサブセット。 | CheckedListBox.CheckedItemCollection |
チェックされているインデックスであり、項目のコレクションへのインデックスのサブセット。これらのインデックスで、チェックされている状態または中間状態の項目を指定します。 | CheckedListBox.CheckedIndexCollection |
CheckedListBox クラスがサポートする 3 つのインデックス付きコレクションの例を次の 3 つの表に示します。
1 番目の表では、コントロールの項目 (コントロールに格納されているすべての項目) のインデックス付きコレクションの例を示しています。
2 番目の表では、チェックされている項目のインデックス付きコレクションの例を示しています。
3 番目の表では、チェックされている項目のインデックスのインデックス付きコレクションの例を示しています。
メモ CheckedListBox にはデータをバインドできません。代わりに、ComboBox または ListBox を使用します。詳細については、「方法 : Windows フォームの ComboBox または ListBox コントロールをデータにバインドする 」を参照してください。

CheckedListBox のメソッド、プロパティ、およびコレクションの使い方の例を次に示します。これは完成されたサンプルであるため、プロジェクトにコピーすると実行できます。項目をチェックしたり解除したり、テキスト ボックスを使用して項目を追加したりできます。保存ボタンをクリックすると、チェックした項目がクリアされます。
Option Explicit Option Strict Imports System Imports System.Drawing Imports System.Collections Imports System.ComponentModel Imports System.Windows.Forms Imports System.Data Imports System.IO Namespace WindowsApplication1 Public Class Form1 Inherits System.Windows.Forms.Form Private WithEvents checkedListBox1 As System.Windows.Forms.CheckedListBox Private WithEvents textBox1 As System.Windows.Forms.TextBox Private WithEvents button1 As System.Windows.Forms.Button Private WithEvents button2 As System.Windows.Forms.Button Private WithEvents listBox1 As System.Windows.Forms.ListBox Private WithEvents button3 As System.Windows.Forms.Button Private components As System.ComponentModel.Container Public Sub New() InitializeComponent() ' Sets up the initial objects in the CheckedListBox. Dim myFruit As String() = {"Apples", "Oranges", "Tomato"} checkedListBox1.Items.AddRange(myFruit) ' Changes the selection mode from double-click to single click. checkedListBox1.CheckOnClick = True End Sub 'New Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean) If disposing Then If Not (components Is Nothing) Then components.Dispose() End If End If MyBase.Dispose(disposing) End Sub Private Sub InitializeComponent() Me.components = New System.ComponentModel.Container() Me.textBox1 = New System.Windows.Forms.TextBox() Me.checkedListBox1 = New System.Windows.Forms.CheckedListBox() Me.listBox1 = New System.Windows.Forms.ListBox() Me.button1 = New System.Windows.Forms.Button() Me.button2 = New System.Windows.Forms.Button() Me.button3 = New System.Windows.Forms.Button() Me.textBox1.Location = New System.Drawing.Point(144, 64) Me.textBox1.Size = New System.Drawing.Size(128, 20) Me.textBox1.TabIndex = 1 Me.checkedListBox1.Location = New System.Drawing.Point(16, 64) Me.checkedListBox1.Size = New System.Drawing.Size(120, 184) Me.checkedListBox1.TabIndex = 0 Me.listBox1.Location = New System.Drawing.Point(408, 64) Me.listBox1.Size = New System.Drawing.Size(128, 186) Me.listBox1.TabIndex = 3 Me.button1.Enabled = False Me.button1.Location = New System.Drawing.Point(144, 104) Me.button1.Size = New System.Drawing.Size(104, 32) Me.button1.TabIndex = 2 Me.button1.Text = "Add Fruit" Me.button2.Enabled = False Me.button2.Location = New System.Drawing.Point(288, 64) Me.button2.Size = New System.Drawing.Size(104, 32) Me.button2.TabIndex = 2 Me.button2.Text = "Show Order" Me.button3.Enabled = False Me.button3.Location = New System.Drawing.Point(288, 104) Me.button3.Size = New System.Drawing.Size(104, 32) Me.button3.TabIndex = 2 Me.button3.Text = "Save Order" Me.ClientSize = New System.Drawing.Size(563, 273) Me.Controls.AddRange(New System.Windows.Forms.Control() {Me.listBox1, Me.button3, Me.button2, Me.button1, Me.textBox1, Me.checkedListBox1}) Me.Text = "Fruit Order" End Sub 'InitializeComponent <STAThread()> _ Public Shared Sub Main() Application.Run(New Form1()) End Sub 'Main ' Adds the string if the text box has data in it. Private Sub button1_Click(sender As Object, _ e As System.EventArgs) Handles button1.Click If textBox1.Text <> "" Then If checkedListBox1.CheckedItems.Contains(textBox1.Text) = False Then checkedListBox1.Items.Add(textBox1.Text, CheckState.Checked) End If textBox1.Text = "" End If End Sub 'button1_Click ' Activates or deactivates the Add button. Private Sub textBox1_TextChanged(sender As Object, _ e As System.EventArgs) Handles textBox1.TextChanged If textBox1.Text = "" Then button1.Enabled = False Else button1.Enabled = True End If End Sub 'textBox1_TextChanged ' Moves the checked items from the CheckedListBox to the listBox. Private Sub button2_Click(sender As Object, _ e As System.EventArgs) Handles button2.Click listBox1.Items.Clear() button3.Enabled = False Dim i As Integer For i = 0 To checkedListBox1.CheckedItems.Count - 1 listBox1.Items.Add(checkedListBox1.CheckedItems(i)) Next i If listBox1.Items.Count > 0 Then button3.Enabled = True End If End Sub 'button2_Click ' Activates the move button if there are checked items. Private Sub checkedListBox1_ItemCheck(sender As Object, _ e As ItemCheckEventArgs) Handles checkedListBox1.ItemCheck If e.NewValue = CheckState.Unchecked Then If checkedListBox1.CheckedItems.Count = 1 Then button2.Enabled = False End If Else button2.Enabled = True End If End Sub 'checkedListBox1_ItemCheck ' Saves the items to a file. Private Sub button3_Click(sender As Object, _ e As System.EventArgs) Handles button3.Click ' Insert code to save a file. listBox1.Items.Clear() Dim myEnumerator As IEnumerator myEnumerator = checkedListBox1.CheckedIndices.GetEnumerator() Dim y As Integer While myEnumerator.MoveNext() <> False y = CInt(myEnumerator.Current) checkedListBox1.SetItemChecked(y, False) End While button3.Enabled = False End Sub 'button3_Click End Class 'Form1 End Namespace 'WindowsApplication1
namespace WindowsApplication1 { using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; using System.IO ; public class Form1 : System.Windows.Forms.Form { private System.Windows.Forms.CheckedListBox checkedListBox1; private System.Windows.Forms.TextBox textBox1; private System.Windows.Forms.Button button1; private System.Windows.Forms.Button button2; private System.Windows.Forms.ListBox listBox1; private System.Windows.Forms.Button button3; private System.ComponentModel.Container components; public Form1() { InitializeComponent(); // Sets up the initial objects in the CheckedListBox. string[] myFruit = {"Apples", "Oranges" ,"Tomato"}; checkedListBox1.Items.AddRange(myFruit); // Changes the selection mode from double-click to single click. checkedListBox1.CheckOnClick = true; } protected override void Dispose( bool disposing ) { if( disposing ) { if (components != null) { components.Dispose(); } } base.Dispose( disposing ); } private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.textBox1 = new System.Windows.Forms.TextBox(); this.checkedListBox1 = new System.Windows.Forms.CheckedListBox(); this.listBox1 = new System.Windows.Forms.ListBox(); this.button1 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.button3 = new System.Windows.Forms.Button(); this.textBox1.Location = new System.Drawing.Point(144, 64); this.textBox1.Size = new System.Drawing.Size(128, 20); this.textBox1.TabIndex = 1; this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged); this.checkedListBox1.Location = new System.Drawing.Point(16, 64); this.checkedListBox1.Size = new System.Drawing.Size(120, 184); this.checkedListBox1.TabIndex = 0; this.checkedListBox1.ItemCheck += new System.Windows.Forms.ItemCheckEventHandler(this.checkedListBox1_ItemCheck); this.listBox1.Location = new System.Drawing.Point(408, 64); this.listBox1.Size = new System.Drawing.Size(128, 186); this.listBox1.TabIndex = 3; this.button1.Enabled = false; this.button1.Location = new System.Drawing.Point(144, 104); this.button1.Size = new System.Drawing.Size(104, 32); this.button1.TabIndex = 2; this.button1.Text = "Add Fruit"; this.button1.Click += new System.EventHandler(this.button1_Click); this.button2.Enabled = false; this.button2.Location = new System.Drawing.Point(288, 64); this.button2.Size = new System.Drawing.Size(104, 32); this.button2.TabIndex = 2; this.button2.Text = "Show Order"; this.button2.Click += new System.EventHandler(this.button2_Click); this.button3.Enabled = false; this.button3.Location = new System.Drawing.Point(288, 104); this.button3.Size = new System.Drawing.Size(104, 32); this.button3.TabIndex = 2; this.button3.Text = "Save Order"; this.button3.Click += new System.EventHandler(this.button3_Click); this.ClientSize = new System.Drawing.Size(563, 273); this.Controls.AddRange(new System.Windows.Forms.Control[] {this.listBox1, this.button3 , this.button2 , this.button1 , this.textBox1 , this.checkedListBox1}); this.Text = "Fruit Order"; } [STAThread] public static void Main(string[] args) { Application.Run(new Form1()); } // Adds the string if the text box has data in it. private void button1_Click(object sender, System.EventArgs e) { if(textBox1.Text != "") { if(checkedListBox1.CheckedItems.Contains(textBox1.Text)== false) checkedListBox1.Items.Add(textBox1.Text,CheckState.Checked); textBox1.Text = ""; } } // Activates or deactivates the Add button. private void textBox1_TextChanged(object sender, System.EventArgs e) { if (textBox1.Text == "") { button1.Enabled = false; } else { button1.Enabled = true; } } // Moves the checked items from the CheckedListBox to the listBox. private void button2_Click(object sender, System.EventArgs e) { listBox1.Items.Clear(); button3.Enabled=false; for (int i=0; i< checkedListBox1.CheckedItems.Count;i++) { listBox1.Items.Add(checkedListBox1.CheckedItems[i]); } if (listBox1.Items.Count>0) button3.Enabled=true; } // Activates the move button if there are checked items. private void checkedListBox1_ItemCheck(object sender, ItemCheckEventArgs e) { if(e.NewValue==CheckState.Unchecked) { if(checkedListBox1.CheckedItems.Count==1) { button2.Enabled = false; } } else { button2.Enabled = true; } } // Saves the items to a file. private void button3_Click(object sender, System.EventArgs e) { // Insert code to save a file. listBox1.Items.Clear(); IEnumerator myEnumerator; myEnumerator = checkedListBox1.CheckedIndices.GetEnumerator(); int y; while (myEnumerator.MoveNext() != false) { y =(int) myEnumerator.Current; checkedListBox1.SetItemChecked(y, false); } button3.Enabled = false ; } } }
#using <System.Data.dll> #using <System.Windows.Forms.dll> #using <System.dll> #using <System.Drawing.dll> using namespace System; using namespace System::Drawing; using namespace System::Collections; using namespace System::ComponentModel; using namespace System::Windows::Forms; using namespace System::Data; using namespace System::IO; public ref class Form1: public System::Windows::Forms::Form { private: System::Windows::Forms::CheckedListBox^ checkedListBox1; System::Windows::Forms::TextBox^ textBox1; System::Windows::Forms::Button^ button1; System::Windows::Forms::Button^ button2; System::Windows::Forms::ListBox^ listBox1; System::Windows::Forms::Button^ button3; System::ComponentModel::Container^ components; public: Form1() { InitializeComponent(); // Sets up the initial objects in the CheckedListBox. array<String^>^myFruit = {"Apples","Oranges","Tomato"}; checkedListBox1->Items->AddRange( myFruit ); // Changes the selection mode from double-click to single click. checkedListBox1->CheckOnClick = true; } public: ~Form1() { if ( components != nullptr ) { delete components; } } private: void InitializeComponent() { this->components = gcnew System::ComponentModel::Container; this->textBox1 = gcnew System::Windows::Forms::TextBox; this->checkedListBox1 = gcnew System::Windows::Forms::CheckedListBox; this->listBox1 = gcnew System::Windows::Forms::ListBox; this->button1 = gcnew System::Windows::Forms::Button; this->button2 = gcnew System::Windows::Forms::Button; this->button3 = gcnew System::Windows::Forms::Button; this->textBox1->Location = System::Drawing::Point( 144, 64 ); this->textBox1->Size = System::Drawing::Size( 128, 20 ); this->textBox1->TabIndex = 1; this->textBox1->TextChanged += gcnew System::EventHandler( this, &Form1::textBox1_TextChanged ); this->checkedListBox1->Location = System::Drawing::Point( 16, 64 ); this->checkedListBox1->Size = System::Drawing::Size( 120, 184 ); this->checkedListBox1->TabIndex = 0; this->checkedListBox1->ItemCheck += gcnew System::Windows::Forms::ItemCheckEventHandler( this, &Form1::checkedListBox1_ItemCheck ); this->listBox1->Location = System::Drawing::Point( 408, 64 ); this->listBox1->Size = System::Drawing::Size( 128, 186 ); this->listBox1->TabIndex = 3; this->button1->Enabled = false; this->button1->Location = System::Drawing::Point( 144, 104 ); this->button1->Size = System::Drawing::Size( 104, 32 ); this->button1->TabIndex = 2; this->button1->Text = "Add Fruit"; this->button1->Click += gcnew System::EventHandler( this, &Form1::button1_Click ); this->button2->Enabled = false; this->button2->Location = System::Drawing::Point( 288, 64 ); this->button2->Size = System::Drawing::Size( 104, 32 ); this->button2->TabIndex = 2; this->button2->Text = "Show Order"; this->button2->Click += gcnew System::EventHandler( this, &Form1::button2_Click ); this->button3->Enabled = false; this->button3->Location = System::Drawing::Point( 288, 104 ); this->button3->Size = System::Drawing::Size( 104, 32 ); this->button3->TabIndex = 2; this->button3->Text = "Save Order"; this->button3->Click += gcnew System::EventHandler( this, &Form1::button3_Click ); this->ClientSize = System::Drawing::Size( 563, 273 ); array<System::Windows::Forms::Control^>^temp0 = {this->listBox1 ,this->button3,this->button2,this->button1 ,this->textBox1,this->checkedListBox1}; this->Controls->AddRange( temp0 ); this->Text = "Fruit Order"; } // Adds the string if the text box has data in it. void button1_Click( Object^ /*sender*/, System::EventArgs^ /*e*/ ) { if ( !textBox1->Text->Equals( "" ) ) { if ( checkedListBox1->CheckedItems->Contains( textBox1->Text ) == false ) checkedListBox1->Items->Add( textBox1->Text, CheckState::Checked ); textBox1->Text = ""; } } // Activates or deactivates the Add button. void textBox1_TextChanged( Object^ /*sender*/, System::EventArgs^ /*e*/ ) { if ( textBox1->Text->Equals( "" ) ) { button1->Enabled = false; } else { button1->Enabled = true; } } // Moves the checked items from the CheckedListBox to the listBox. void button2_Click( Object^ /*sender*/, System::EventArgs^ /*e*/ ) { listBox1->Items->Clear(); button3->Enabled = false; for ( int i = 0; i < checkedListBox1->CheckedItems->Count; i++ ) { listBox1->Items->Add( checkedListBox1->CheckedItems[ i ] ); } if ( listBox1->Items->Count > 0 ) button3->Enabled = true; } // Activates the move button if there are checked items. void checkedListBox1_ItemCheck( Object^ /*sender*/, ItemCheckEventArgs^ e ) { if ( e->NewValue == CheckState::Unchecked ) { if ( checkedListBox1->CheckedItems->Count == 1 ) { button2->Enabled = false; } } else { button2->Enabled = true; } } // Saves the items to a file. void button3_Click( Object^ /*sender*/, System::EventArgs^ /*e*/ ) { // Insert code to save a file. listBox1->Items->Clear(); IEnumerator^ myEnumerator; myEnumerator = checkedListBox1->CheckedIndices->GetEnumerator(); int y; while ( myEnumerator->MoveNext() != false ) { y = safe_cast<Int32>(myEnumerator->Current); checkedListBox1->SetItemChecked( y, false ); } button3->Enabled = false; } }; [STAThread] int main() { Application::Run( gcnew Form1 ); }
import System.*; import System.Drawing.*; import System.Collections.*; import System.ComponentModel.*; import System.Windows.Forms.*; import System.Data.*; import System.IO.*; public class Form1 extends System.Windows.Forms.Form { private System.Windows.Forms.CheckedListBox checkedListBox1; private System.Windows.Forms.TextBox textBox1; private System.Windows.Forms.Button button1; private System.Windows.Forms.Button button2; private System.Windows.Forms.ListBox listBox1; private System.Windows.Forms.Button button3; private System.ComponentModel.Container components; public Form1() { InitializeComponent(); // Sets up the initial objects in the CheckedListBox. String myFruit[] = { "Apples", "Oranges", "Tomato" }; checkedListBox1.get_Items().AddRange(myFruit); // Changes the selection mode from double-click to single click. checkedListBox1.set_CheckOnClick(true); } //Form1 protected void Dispose(boolean disposing) { if (disposing) { if (components != null) { components.Dispose(); } } super.Dispose(disposing); } //Dispose private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.textBox1 = new System.Windows.Forms.TextBox(); this.checkedListBox1 = new System.Windows.Forms.CheckedListBox(); this.listBox1 = new System.Windows.Forms.ListBox(); this.button1 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.button3 = new System.Windows.Forms.Button(); this.textBox1.set_Location(new System.Drawing.Point(144, 64)); this.textBox1.set_Size(new System.Drawing.Size(128, 20)); this.textBox1.set_TabIndex(1); this.textBox1.add_TextChanged(new System.EventHandler( this.textBox1_TextChanged)); this.checkedListBox1.set_Location(new System.Drawing.Point(16, 64)); this.checkedListBox1.set_Size(new System.Drawing.Size(120, 184)); this.checkedListBox1.set_TabIndex(0); this.checkedListBox1.add_ItemCheck( new System.Windows.Forms.ItemCheckEventHandler( this.checkedListBox1_ItemCheck)); this.listBox1.set_Location(new System.Drawing.Point(408, 64)); this.listBox1.set_Size(new System.Drawing.Size(128, 186)); this.listBox1.set_TabIndex(3); this.button1.set_Enabled(false); this.button1.set_Location(new System.Drawing.Point(144, 104)); this.button1.set_Size(new System.Drawing.Size(104, 32)); this.button1.set_TabIndex(2); this.button1.set_Text("Add Fruit"); this.button1.add_Click(new System.EventHandler(this.button1_Click)); this.button2.set_Enabled(false); this.button2.set_Location(new System.Drawing.Point(288, 64)); this.button2.set_Size(new System.Drawing.Size(104, 32)); this.button2.set_TabIndex(2); this.button2.set_Text("Show Order"); this.button2.add_Click(new System.EventHandler(this.button2_Click)); this.button3.set_Enabled(false); this.button3.set_Location(new System.Drawing.Point(288, 104)); this.button3.set_Size(new System.Drawing.Size(104, 32)); this.button3.set_TabIndex(2); this.button3.set_Text("Save Order"); this.button3.add_Click(new System.EventHandler(this.button3_Click)); this.set_ClientSize(new System.Drawing.Size(563, 273)); this.get_Controls().AddRange(new System.Windows.Forms.Control[] { this.listBox1, this.button3, this.button2, this.button1, this.textBox1, this.checkedListBox1}); this.set_Text("Fruit Order"); } //InitializeComponent /** @attribute STAThread() */ public static void main(String[] args) { Application.Run(new Form1()); } //main // Adds the string if the text box has data in it. private void button1_Click(Object sender, System.EventArgs e) { if (!textBox1.get_Text().Equals("")) { if (checkedListBox1.get_CheckedItems().Contains(textBox1.get_Text()) == false) { checkedListBox1.get_Items().Add(textBox1.get_Text(), CheckState.Checked); } textBox1.set_Text(""); } } //button1_Click // Activates or deactivates the Add button. private void textBox1_TextChanged(Object sender, System.EventArgs e) { if (textBox1.get_Text().Equals("")) { button1.set_Enabled(false); } else { button1.set_Enabled(true); } } //textBox1_TextChanged // Moves the checked items from the CheckedListBox to the listBox. private void button2_Click(Object sender, System.EventArgs e) { listBox1.get_Items().Clear(); button3.set_Enabled(false); for (int i = 0; i < checkedListBox1.get_CheckedItems().get_Count(); i++) { listBox1.get_Items().Add( checkedListBox1.get_CheckedItems().get_Item(i)); } if (listBox1.get_Items().get_Count() > 0) { button3.set_Enabled(true); } } //button2_Click // Activates the move button if there are checked items. private void checkedListBox1_ItemCheck(Object sender, ItemCheckEventArgs e) { if (e.get_NewValue().Equals(CheckState.Unchecked)) { if (checkedListBox1.get_CheckedItems().get_Count() == 1) { button2.set_Enabled(false); } } else { button2.set_Enabled(true); } } //checkedListBox1_ItemCheck // Saves the items to a file. private void button3_Click(Object sender, System.EventArgs e) { // Insert code to save a file. listBox1.get_Items().Clear(); IEnumerator myEnumerator; myEnumerator = checkedListBox1.get_CheckedIndices().GetEnumerator(); int y; while ((myEnumerator.MoveNext() != false)) { y = (int)(System.Convert.ToInt32(myEnumerator.get_Current())); checkedListBox1.SetItemChecked(y, false); } button3.set_Enabled(false); } //button3_Click } //Form1

System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.Control
System.Windows.Forms.ListControl
System.Windows.Forms.ListBox
System.Windows.Forms.CheckedListBox


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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


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


既定では、CheckedListBox で SetStyle および ControlStyles の ResizeRedraw 値を使用して、コントロールがサイズ変更時に再描画されるように指定されます。

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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


CheckedListBox プロパティ



関連項目
CheckedListBox クラスSystem.Windows.Forms 名前空間
ListBox
その他の技術情報
CheckedListBox コントロール (Windows フォーム)CheckedListBox メソッド


名前 | 説明 | |
---|---|---|
![]() | AccessibilityNotifyClients | オーバーロードされます。 ユーザー補助クライアント アプリケーションに AccessibleEvents を通知します。 ( Control から継承されます。) |
![]() | AddItemsCore | このメンバは互換性のために残されており、代わりのメンバはありません。 ( ListBox から継承されます。) |
![]() | CreateAccessibilityInstance | オーバーライドされます。 CheckedListBox コントロールの新しいユーザー補助オブジェクトを作成します。 |
![]() | CreateControlsInstance | コントロールのコントロール コレクションの新しいインスタンスを作成します。 ( Control から継承されます。) |
![]() | CreateHandle | コントロールのハンドルを作成します。 ( Control から継承されます。) |
![]() | CreateItemCollection | オーバーライドされます。 |
![]() | DefWndProc | 指定したメッセージを既定のウィンドウ プロシージャに送信します。 ( Control から継承されます。) |
![]() | DestroyHandle | コントロールに関連付けられたハンドルを破棄します。 ( Control から継承されます。) |
![]() | Dispose | オーバーロードされます。 Control によって使用されているすべてのリソースを解放します。 ( Control から継承されます。) |
![]() | FilterItemOnProperty | オーバーロードされます。 ListControl の項目が ListControl クラスのインスタンスのプロパティである場合に、その項目の現在の値を返します。 ( ListControl から継承されます。) |
![]() | Finalize | Component がガベージ コレクションによってクリアされる前に、アンマネージ リソースを解放し、その他のクリーンアップ操作を実行します。 ( Component から継承されます。) |
![]() | GetAccessibilityObjectById | 指定した AccessibleObject を取得します。 ( Control から継承されます。) |
![]() | GetAutoSizeMode | AutoSize プロパティが有効なときのコントロールの動作を示す値を取得します。 ( Control から継承されます。) |
![]() | GetScaledBounds | ListBox のスケールが設定される境界を取得します。 ( ListBox から継承されます。) |
![]() | GetService | Component またはその Container で提供されるサービスを表すオブジェクトを返します。 ( Component から継承されます。) |
![]() | GetStyle | コントロールの指定したコントロール スタイル ビットの値を取得します。 ( Control から継承されます。) |
![]() | GetTopLevel | コントロールがトップレベル コントロールかどうかを判断します。 ( Control から継承されます。) |
![]() | InitLayout | コントロールが別のコンテナに追加された後、呼び出されます。 ( Control から継承されます。) |
![]() | InvokeGotFocus | 指定したコントロールの GotFocus イベントを発生させます。 ( Control から継承されます。) |
![]() | InvokeLostFocus | 指定したコントロールの LostFocus イベントを発生させます。 ( Control から継承されます。) |
![]() | InvokeOnClick | 指定したコントロールの Click イベントを発生させます。 ( Control から継承されます。) |
![]() | InvokePaint | 指定したコントロールの Paint イベントを発生させます。 ( Control から継承されます。) |
![]() | InvokePaintBackground | 指定したコントロールの PaintBackground イベントを発生させます。 ( Control から継承されます。) |
![]() | IsInputChar | 文字が、コントロールによって認識される入力文字かどうかを判断します。 ( Control から継承されます。) |
![]() | IsInputKey | PageUp、PageDown、Home、End などの特殊な入力キーを処理します。 ( ListControl から継承されます。) |
![]() | MemberwiseClone | オーバーロードされます。 ( MarshalByRefObject から継承されます。) |
![]() | NotifyInvalidate | 無効化するコントロールの領域を指定して、Invalidated イベントを発生させます。 ( Control から継承されます。) |
![]() | OnAutoSizeChanged | AutoSizeChanged イベントを発生させます。 ( Control から継承されます。) |
![]() | OnBackColorChanged | オーバーライドされます。 |
![]() | OnBackgroundImageChanged | BackgroundImageChanged イベントを発生させます。 ( Control から継承されます。) |
![]() | OnBackgroundImageLayoutChanged | BackgroundImageLayoutChanged イベントを発生させます。 ( Control から継承されます。) |
![]() | OnBindingContextChanged | ( ListControl から継承されます。) |
![]() | OnCausesValidationChanged | CausesValidationChanged イベントを発生させます。 ( Control から継承されます。) |
![]() | OnChangeUICues | ( ListBox から継承されます。) |
![]() | OnClick | オーバーライドされます。 Click イベントを発生させます。 |
![]() | OnClientSizeChanged | ClientSizeChanged イベントを発生させます。 ( Control から継承されます。) |
![]() | OnContextMenuChanged | ContextMenuChanged イベントを発生させます。 ( Control から継承されます。) |
![]() | OnContextMenuStripChanged | ContextMenuStripChanged イベントを発生させます。 ( Control から継承されます。) |
![]() | OnControlAdded | ControlAdded イベントを発生させます。 ( Control から継承されます。) |
![]() | OnControlRemoved | ControlRemoved イベントを発生させます。 ( Control から継承されます。) |
![]() | OnCreateControl | CreateControl イベントを発生させます。 ( Control から継承されます。) |
![]() | OnCursorChanged | CursorChanged イベントを発生させます。 ( Control から継承されます。) |
![]() | OnDataSourceChanged | ( ListBox から継承されます。) |
![]() | OnDisplayMemberChanged | ( ListBox から継承されます。) |
![]() | OnDockChanged | DockChanged イベントを発生させます。 ( Control から継承されます。) |
![]() | OnDoubleClick | DoubleClick イベントを発生させます。 ( Control から継承されます。) |
![]() | OnDragDrop | DragDrop イベントを発生させます。 ( Control から継承されます。) |
![]() | OnDragEnter | DragEnter イベントを発生させます。 ( Control から継承されます。) |
![]() | OnDragLeave | DragLeave イベントを発生させます。 ( Control から継承されます。) |
![]() | OnDragOver | DragOver イベントを発生させます。 ( Control から継承されます。) |
![]() | OnDrawItem | オーバーライドされます。 DrawItem イベントを発生させます。 |
![]() | OnEnabledChanged | EnabledChanged イベントを発生させます。 ( Control から継承されます。) |
![]() | OnEnter | Enter イベントを発生させます。 ( Control から継承されます。) |
![]() | OnFontChanged | オーバーライドされます。 FontChanged イベントを発生させます。 |
![]() | OnForeColorChanged | ForeColorChanged イベントを発生させます。 ( Control から継承されます。) |
![]() | OnFormat | Format イベントを発生させます。 ( ListControl から継承されます。) |
![]() | OnFormatInfoChanged | FormatInfoChanged イベントを発生させます。 ( ListControl から継承されます。) |
![]() | OnFormatStringChanged | FormatStringChanged イベントを発生させます。 ( ListControl から継承されます。) |
![]() | OnFormattingEnabledChanged | FormattingEnabledChanged イベントを発生させます。 ( ListControl から継承されます。) |
![]() | OnGiveFeedback | GiveFeedback イベントを発生させます。 ( Control から継承されます。) |
![]() | OnGotFocus | GotFocus イベントを発生させます。 ( Control から継承されます。) |
![]() | OnHandleCreated | オーバーライドされます。 HandleCreated イベントを発生させます。 |
![]() | OnHandleDestroyed | 項目が正しく設定および消去されるようオーバーライドされています。継承コントロールでは、base.OnHandleDestroyed を呼び出す必要があります。 ( ListBox から継承されます。) |
![]() | OnHelpRequested | HelpRequested イベントを発生させます。 ( Control から継承されます。) |
![]() | OnImeModeChanged | ImeModeChanged イベントを発生させます。 ( Control から継承されます。) |
![]() | OnInvalidated | Invalidated イベントを発生させます。 ( Control から継承されます。) |
![]() | OnItemCheck | ItemCheck イベントを発生させます。 |
![]() | OnKeyDown | KeyDown イベントを発生させます。 ( Control から継承されます。) |
![]() | OnKeyPress | オーバーライドされます。 KeyPress イベントを発生させます。 |
![]() | OnKeyUp | KeyUp イベントを発生させます。 ( Control から継承されます。) |
![]() | OnLayout | Layout イベントを発生させます。 ( Control から継承されます。) |
![]() | OnLeave | Leave イベントを発生させます。 ( Control から継承されます。) |
![]() | OnLocationChanged | LocationChanged イベントを発生させます。 ( Control から継承されます。) |
![]() | OnLostFocus | LostFocus イベントを発生させます。 ( Control から継承されます。) |
![]() | OnMarginChanged | MarginChanged イベントを発生させます。 ( Control から継承されます。) |
![]() | OnMeasureItem | オーバーライドされます。 MeasureItem イベントを発生させます。 |
![]() | OnMouseCaptureChanged | MouseCaptureChanged イベントを発生させます。 ( Control から継承されます。) |
![]() | OnMouseClick | MouseClick イベントを発生させます。 ( Control から継承されます。) |
![]() | OnMouseDoubleClick | MouseDoubleClick イベントを発生させます。 ( Control から継承されます。) |
![]() | OnMouseDown | MouseDown イベントを発生させます。 ( Control から継承されます。) |
![]() | OnMouseEnter | MouseEnter イベントを発生させます。 ( Control から継承されます。) |
![]() | OnMouseHover | MouseHover イベントを発生させます。 ( Control から継承されます。) |
![]() | OnMouseLeave | MouseLeave イベントを発生させます。 ( Control から継承されます。) |
![]() | OnMouseMove | MouseMove イベントを発生させます。 ( Control から継承されます。) |
![]() | OnMouseUp | MouseUp イベントを発生させます。 ( Control から継承されます。) |
![]() | OnMouseWheel | MouseWheel イベントを発生させます。 ( Control から継承されます。) |
![]() | OnMove | Move イベントを発生させます。 ( Control から継承されます。) |
![]() | OnNotifyMessage | コントロールに Windows メッセージを通知します。 ( Control から継承されます。) |
![]() | OnPaddingChanged | PaddingChanged イベントを発生させます。 ( Control から継承されます。) |
![]() | OnPaint | Paint イベントを発生させます。 ( Control から継承されます。) |
![]() | OnPaintBackground | コントロールの背景を描画します。 ( Control から継承されます。) |
![]() | OnParentBackColorChanged | コントロールのコンテナの BackColor プロパティ値が変更された場合に、BackColorChanged イベントを発生させます。 ( Control から継承されます。) |
![]() | OnParentBackgroundImageChanged | コントロールのコンテナの BackgroundImage プロパティ値が変更された場合に、BackgroundImageChanged イベントを発生させます。 ( Control から継承されます。) |
![]() | OnParentBindingContextChanged | コントロールのコンテナの BindingContext プロパティ値が変更された場合に、BindingContextChanged イベントを発生させます。 ( Control から継承されます。) |
![]() | OnParentChanged | ( ListBox から継承されます。) |
![]() | OnParentCursorChanged | CursorChanged イベントを発生させます。 ( Control から継承されます。) |
![]() | OnParentEnabledChanged | コントロールのコンテナの Enabled プロパティ値が変更された場合に、EnabledChanged イベントを発生させます。 ( Control から継承されます。) |
![]() | OnParentFontChanged | コントロールのコンテナの Font プロパティ値が変更された場合に、FontChanged イベントを発生させます。 ( Control から継承されます。) |
![]() | OnParentForeColorChanged | コントロールのコンテナの ForeColor プロパティ値が変更された場合に、ForeColorChanged イベントを発生させます。 ( Control から継承されます。) |
![]() | OnParentRightToLeftChanged | コントロールのコンテナの RightToLeft プロパティ値が変更された場合に、RightToLeftChanged イベントを発生させます。 ( Control から継承されます。) |
![]() | OnParentVisibleChanged | コントロールのコンテナの Visible プロパティ値が変更された場合に、VisibleChanged イベントを発生させます。 ( Control から継承されます。) |
![]() | OnPreviewKeyDown | PreviewKeyDown イベントを発生させます。 ( Control から継承されます。) |
![]() | OnPrint | Paint イベントを発生させます。 ( Control から継承されます。) |
![]() | OnQueryContinueDrag | QueryContinueDrag イベントを発生させます。 ( Control から継承されます。) |
![]() | OnRegionChanged | RegionChanged イベントを発生させます。 ( Control から継承されます。) |
![]() | OnResize | ( ListBox から継承されます。) |
![]() | OnRightToLeftChanged | RightToLeftChanged イベントを発生させます。 ( Control から継承されます。) |
![]() | OnSelectedIndexChanged | オーバーライドされます。 SelectedIndexChanged イベントを発生させます。 |
![]() | OnSelectedValueChanged | ( ListBox から継承されます。) |
![]() | OnSizeChanged | SizeChanged イベントを発生させます。 ( Control から継承されます。) |
![]() | OnStyleChanged | StyleChanged イベントを発生させます。 ( Control から継承されます。) |
![]() | OnSystemColorsChanged | SystemColorsChanged イベントを発生させます。 ( Control から継承されます。) |
![]() | OnTabIndexChanged | TabIndexChanged イベントを発生させます。 ( Control から継承されます。) |
![]() | OnTabStopChanged | TabStopChanged イベントを発生させます。 ( Control から継承されます。) |
![]() | OnTextChanged | TextChanged イベントを発生させます。 ( Control から継承されます。) |
![]() | OnValidated | Validated イベントを発生させます。 ( Control から継承されます。) |
![]() | OnValidating | Validating イベントを発生させます。 ( Control から継承されます。) |
![]() | OnValueMemberChanged | ValueMemberChanged イベントを発生させます。 ( ListControl から継承されます。) |
![]() | OnVisibleChanged | VisibleChanged イベントを発生させます。 ( Control から継承されます。) |
![]() | ProcessCmdKey | コマンド キーを処理します。 ( Control から継承されます。) |
![]() | ProcessDialogChar | ダイアログ文字を処理します。 ( Control から継承されます。) |
![]() | ProcessDialogKey | ダイアログ キーを処理します。 ( Control から継承されます。) |
![]() | ProcessKeyEventArgs | キー メッセージを処理し、適切なコントロール イベントを生成します。 ( Control から継承されます。) |
![]() | ProcessKeyMessage | キーボード メッセージを処理します。 ( Control から継承されます。) |
![]() | ProcessKeyPreview | キーボード メッセージをプレビューします。 ( Control から継承されます。) |
![]() | ProcessMnemonic | ニーモニック文字を処理します。 ( Control から継承されます。) |
![]() | RaiseDragEvent | 適切なドラッグ イベントを発生させます。 ( Control から継承されます。) |
![]() | RaiseKeyEvent | 適切なキー イベントを発生させます。 ( Control から継承されます。) |
![]() | RaiseMouseEvent | 適切なマウス イベントを発生させます。 ( Control から継承されます。) |
![]() | RaisePaintEvent | 適切な描画イベントを発生させます。 ( Control から継承されます。) |
![]() | RecreateHandle | 強制的にコントロールのハンドルを再作成します。 ( Control から継承されます。) |
![]() | ReflectMessage | 指定したメッセージを指定したハンドルにバインドされたコントロールにリフレクションします。 ( Control から継承されます。) |
![]() | RefreshItem | 指定したインデックスにある項目を更新します。 ( ListBox から継承されます。) |
![]() | RefreshItems | オーバーライドされます。 すべての CheckedListBox 項目を解析し直し、これらの項目の最新のテキスト文字列を取得します。 |
![]() | ResetMouseEventArgs | MouseLeave イベントを処理するためのコントロールをリセットします。 ( Control から継承されます。) |
![]() | RtlTranslateAlignment | オーバーロードされます。 現在の配置を適切な配置に変換し、テキストを右から左に表示できるようにします。 ( Control から継承されます。) |
![]() | RtlTranslateContent | 指定した ContentAlignment を適切な ContentAlignment に変換し、テキストを右から左に表示できるようにします。 ( Control から継承されます。) |
![]() | RtlTranslateHorizontal | 指定した HorizontalAlignment を適切な HorizontalAlignment に変換し、テキストを右から左に表示できるようにします。 ( Control から継承されます。) |
![]() | RtlTranslateLeftRight | 指定した LeftRightAlignment を適切な LeftRightAlignment に変換し、テキストを右から左に表示できるようにします。 ( Control から継承されます。) |
![]() | ScaleControl | ( ListBox から継承されます。) |
![]() | ScaleCore | ( Control から継承されます。) |
![]() | Select | オーバーロードされます。 コントロールをアクティブにします。 ( Control から継承されます。) |
![]() | SetAutoSizeMode | AutoSize プロパティが有効なときのコントロールの動作を示す値を設定します。 ( Control から継承されます。) |
![]() | SetBoundsCore | ListBox コントロールの指定した境界を設定します。 ( ListBox から継承されます。) |
![]() | SetClientSizeCore | コントロールのクライアント領域のサイズを設定します。 ( Control から継承されます。) |
![]() | SetItemCore | 派生クラスで、指定したインデックスを使用してオブジェクトを設定します。 ( ListBox から継承されます。) |
![]() | SetItemsCore | ListBox の内容を消去し、指定した項目をコントロールに追加します。 ( ListBox から継承されます。) |
![]() | SetStyle | 指定したスタイル ビットを指定した値に設定します。 ( Control から継承されます。) |
![]() | SetTopLevel | コントロールをトップレベル コントロールとして設定します。 ( Control から継承されます。) |
![]() | SetVisibleCore | コントロールを指定した表示状態に設定します。 ( Control から継承されます。) |
![]() | SizeFromClientSize | クライアント領域の高さおよび幅からコントロール全体のサイズを決定します。 ( Control から継承されます。) |
![]() | Sort | ListBox 内の項目を並べ替えます。 ( ListBox から継承されます。) |
![]() | UpdateBounds | オーバーロードされます。 コントロールの範囲を更新します。 ( Control から継承されます。) |
![]() | UpdateStyles | 割り当て済みのスタイルを強制的にコントロールに再適用します。 ( Control から継承されます。) |
![]() | UpdateZOrder | コントロールを親の z オーダーで更新します。 ( Control から継承されます。) |
![]() | WmReflectCommand | オーバーライドされます。 CheckedListBox コントロールがトップレベル ウィンドウから受け取るコマンド メッセージを処理します。 |
![]() | WndProc | オーバーライドされます。 Windows メッセージを処理します。 |

関連項目
CheckedListBox クラスSystem.Windows.Forms 名前空間
ListBox
その他の技術情報
CheckedListBox コントロール (Windows フォーム)CheckedListBox メンバ
各項目の左側にチェック ボックスが表示される ListBox を表示します。
CheckedListBox データ型で公開されるメンバを以下の表に示します。





名前 | 説明 | |
---|---|---|
![]() | AccessibilityNotifyClients | オーバーロードされます。 ユーザー補助クライアント アプリケーションに AccessibleEvents を通知します。 (Control から継承されます。) |
![]() | AddItemsCore | このメンバは互換性のために残されており、代わりのメンバはありません。 (ListBox から継承されます。) |
![]() | CreateAccessibilityInstance | オーバーライドされます。 CheckedListBox コントロールの新しいユーザー補助オブジェクトを作成します。 |
![]() | CreateControlsInstance | コントロールのコントロール コレクションの新しいインスタンスを作成します。 (Control から継承されます。) |
![]() | CreateHandle | コントロールのハンドルを作成します。 (Control から継承されます。) |
![]() | CreateItemCollection | オーバーライドされます。 |
![]() | DefWndProc | 指定したメッセージを既定のウィンドウ プロシージャに送信します。 (Control から継承されます。) |
![]() | DestroyHandle | コントロールに関連付けられたハンドルを破棄します。 (Control から継承されます。) |
![]() | Dispose | オーバーロードされます。 Control によって使用されているすべてのリソースを解放します。 (Control から継承されます。) |
![]() | FilterItemOnProperty | オーバーロードされます。 ListControl の項目が ListControl クラスのインスタンスのプロパティである場合に、その項目の現在の値を返します。 (ListControl から継承されます。) |
![]() | Finalize | Component がガベージ コレクションによってクリアされる前に、アンマネージ リソースを解放し、その他のクリーンアップ操作を実行します。 (Component から継承されます。) |
![]() | GetAccessibilityObjectById | 指定した AccessibleObject を取得します。 (Control から継承されます。) |
![]() | GetAutoSizeMode | AutoSize プロパティが有効なときのコントロールの動作を示す値を取得します。 (Control から継承されます。) |
![]() | GetScaledBounds | ListBox のスケールが設定される境界を取得します。 (ListBox から継承されます。) |
![]() | GetService | Component またはその Container で提供されるサービスを表すオブジェクトを返します。 (Component から継承されます。) |
![]() | GetStyle | コントロールの指定したコントロール スタイル ビットの値を取得します。 (Control から継承されます。) |
![]() | GetTopLevel | コントロールがトップレベル コントロールかどうかを判断します。 (Control から継承されます。) |
![]() | InitLayout | コントロールが別のコンテナに追加された後、呼び出されます。 (Control から継承されます。) |
![]() | InvokeGotFocus | 指定したコントロールの GotFocus イベントを発生させます。 (Control から継承されます。) |
![]() | InvokeLostFocus | 指定したコントロールの LostFocus イベントを発生させます。 (Control から継承されます。) |
![]() | InvokeOnClick | 指定したコントロールの Click イベントを発生させます。 (Control から継承されます。) |
![]() | InvokePaint | 指定したコントロールの Paint イベントを発生させます。 (Control から継承されます。) |
![]() | InvokePaintBackground | 指定したコントロールの PaintBackground イベントを発生させます。 (Control から継承されます。) |
![]() | IsInputChar | 文字が、コントロールによって認識される入力文字かどうかを判断します。 (Control から継承されます。) |
![]() | IsInputKey | PageUp、PageDown、Home、End などの特殊な入力キーを処理します。 (ListControl から継承されます。) |
![]() | MemberwiseClone | オーバーロードされます。 ( MarshalByRefObject から継承されます。) |
![]() | NotifyInvalidate | 無効化するコントロールの領域を指定して、Invalidated イベントを発生させます。 (Control から継承されます。) |
![]() | OnAutoSizeChanged | AutoSizeChanged イベントを発生させます。 (Control から継承されます。) |
![]() | OnBackColorChanged | オーバーライドされます。 |
![]() | OnBackgroundImageChanged | BackgroundImageChanged イベントを発生させます。 (Control から継承されます。) |
![]() | OnBackgroundImageLayoutChanged | BackgroundImageLayoutChanged イベントを発生させます。 (Control から継承されます。) |
![]() | OnBindingContextChanged | ( ListControl から継承されます。) |
![]() | OnCausesValidationChanged | CausesValidationChanged イベントを発生させます。 (Control から継承されます。) |
![]() | OnChangeUICues | ( ListBox から継承されます。) |
![]() | OnClick | オーバーライドされます。 Click イベントを発生させます。 |
![]() | OnClientSizeChanged | ClientSizeChanged イベントを発生させます。 (Control から継承されます。) |
![]() | OnContextMenuChanged | ContextMenuChanged イベントを発生させます。 (Control から継承されます。) |
![]() | OnContextMenuStripChanged | ContextMenuStripChanged イベントを発生させます。 (Control から継承されます。) |
![]() | OnControlAdded | ControlAdded イベントを発生させます。 (Control から継承されます。) |
![]() | OnControlRemoved | ControlRemoved イベントを発生させます。 (Control から継承されます。) |
![]() | OnCreateControl | CreateControl イベントを発生させます。 (Control から継承されます。) |
![]() | OnCursorChanged | CursorChanged イベントを発生させます。 (Control から継承されます。) |
![]() | OnDataSourceChanged | ( ListBox から継承されます。) |
![]() | OnDisplayMemberChanged | ( ListBox から継承されます。) |
![]() | OnDockChanged | DockChanged イベントを発生させます。 (Control から継承されます。) |
![]() | OnDoubleClick | DoubleClick イベントを発生させます。 (Control から継承されます。) |
![]() | OnDragDrop | DragDrop イベントを発生させます。 (Control から継承されます。) |
![]() | OnDragEnter | DragEnter イベントを発生させます。 (Control から継承されます。) |
![]() | OnDragLeave | DragLeave イベントを発生させます。 (Control から継承されます。) |
![]() | OnDragOver | DragOver イベントを発生させます。 (Control から継承されます。) |
![]() | OnDrawItem | オーバーライドされます。 DrawItem イベントを発生させます。 |
![]() | OnEnabledChanged | EnabledChanged イベントを発生させます。 (Control から継承されます。) |
![]() | OnEnter | Enter イベントを発生させます。 (Control から継承されます。) |
![]() | OnFontChanged | オーバーライドされます。 FontChanged イベントを発生させます。 |
![]() | OnForeColorChanged | ForeColorChanged イベントを発生させます。 (Control から継承されます。) |
![]() | OnFormat | Format イベントを発生させます。 (ListControl から継承されます。) |
![]() | OnFormatInfoChanged | FormatInfoChanged イベントを発生させます。 (ListControl から継承されます。) |
![]() | OnFormatStringChanged | FormatStringChanged イベントを発生させます。 (ListControl から継承されます。) |
![]() | OnFormattingEnabledChanged | FormattingEnabledChanged イベントを発生させます。 (ListControl から継承されます。) |
![]() | OnGiveFeedback | GiveFeedback イベントを発生させます。 (Control から継承されます。) |
![]() | OnGotFocus | GotFocus イベントを発生させます。 (Control から継承されます。) |
![]() | OnHandleCreated | オーバーライドされます。 HandleCreated イベントを発生させます。 |
![]() | OnHandleDestroyed | 項目が正しく設定および消去されるようオーバーライドされています。継承コントロールでは、base.OnHandleDestroyed を呼び出す必要があります。 (ListBox から継承されます。) |
![]() | OnHelpRequested | HelpRequested イベントを発生させます。 (Control から継承されます。) |
![]() | OnImeModeChanged | ImeModeChanged イベントを発生させます。 (Control から継承されます。) |
![]() | OnInvalidated | Invalidated イベントを発生させます。 (Control から継承されます。) |
![]() | OnItemCheck | ItemCheck イベントを発生させます。 |
![]() | OnKeyDown | KeyDown イベントを発生させます。 (Control から継承されます。) |
![]() | OnKeyPress | オーバーライドされます。 KeyPress イベントを発生させます。 |
![]() | OnKeyUp | KeyUp イベントを発生させます。 (Control から継承されます。) |
![]() | OnLayout | Layout イベントを発生させます。 (Control から継承されます。) |
![]() | OnLeave | Leave イベントを発生させます。 (Control から継承されます。) |
![]() | OnLocationChanged | LocationChanged イベントを発生させます。 (Control から継承されます。) |
![]() | OnLostFocus | LostFocus イベントを発生させます。 (Control から継承されます。) |
![]() | OnMarginChanged | MarginChanged イベントを発生させます。 (Control から継承されます。) |
![]() | OnMeasureItem | オーバーライドされます。 MeasureItem イベントを発生させます。 |
![]() | OnMouseCaptureChanged | MouseCaptureChanged イベントを発生させます。 (Control から継承されます。) |
![]() | OnMouseClick | MouseClick イベントを発生させます。 (Control から継承されます。) |
![]() | OnMouseDoubleClick | MouseDoubleClick イベントを発生させます。 (Control から継承されます。) |
![]() | OnMouseDown | MouseDown イベントを発生させます。 (Control から継承されます。) |
![]() | OnMouseEnter | MouseEnter イベントを発生させます。 (Control から継承されます。) |
![]() | OnMouseHover | MouseHover イベントを発生させます。 (Control から継承されます。) |
![]() | OnMouseLeave | MouseLeave イベントを発生させます。 (Control から継承されます。) |
![]() | OnMouseMove | MouseMove イベントを発生させます。 (Control から継承されます。) |
![]() | OnMouseUp | MouseUp イベントを発生させます。 (Control から継承されます。) |
![]() | OnMouseWheel | MouseWheel イベントを発生させます。 (Control から継承されます。) |
![]() | OnMove | Move イベントを発生させます。 (Control から継承されます。) |
![]() | OnNotifyMessage | コントロールに Windows メッセージを通知します。 (Control から継承されます。) |
![]() | OnPaddingChanged | PaddingChanged イベントを発生させます。 (Control から継承されます。) |
![]() | OnPaint | Paint イベントを発生させます。 (Control から継承されます。) |
![]() | OnPaintBackground | コントロールの背景を描画します。 (Control から継承されます。) |
![]() | OnParentBackColorChanged | コントロールのコンテナの BackColor プロパティ値が変更された場合に、BackColorChanged イベントを発生させます。 (Control から継承されます。) |
![]() | OnParentBackgroundImageChanged | コントロールのコンテナの BackgroundImage プロパティ値が変更された場合に、BackgroundImageChanged イベントを発生させます。 (Control から継承されます。) |
![]() | OnParentBindingContextChanged | コントロールのコンテナの BindingContext プロパティ値が変更された場合に、BindingContextChanged イベントを発生させます。 (Control から継承されます。) |
![]() | OnParentChanged | ( ListBox から継承されます。) |
![]() | OnParentCursorChanged | CursorChanged イベントを発生させます。 (Control から継承されます。) |
![]() | OnParentEnabledChanged | コントロールのコンテナの Enabled プロパティ値が変更された場合に、EnabledChanged イベントを発生させます。 (Control から継承されます。) |
![]() | OnParentFontChanged | コントロールのコンテナの Font プロパティ値が変更された場合に、FontChanged イベントを発生させます。 (Control から継承されます。) |
![]() | OnParentForeColorChanged | コントロールのコンテナの ForeColor プロパティ値が変更された場合に、ForeColorChanged イベントを発生させます。 (Control から継承されます。) |
![]() | OnParentRightToLeftChanged | コントロールのコンテナの RightToLeft プロパティ値が変更された場合に、RightToLeftChanged イベントを発生させます。 (Control から継承されます。) |
![]() | OnParentVisibleChanged | コントロールのコンテナの Visible プロパティ値が変更された場合に、VisibleChanged イベントを発生させます。 (Control から継承されます。) |
![]() | OnPreviewKeyDown | PreviewKeyDown イベントを発生させます。 (Control から継承されます。) |
![]() | OnPrint | Paint イベントを発生させます。 (Control から継承されます。) |
![]() | OnQueryContinueDrag | QueryContinueDrag イベントを発生させます。 (Control から継承されます。) |
![]() | OnRegionChanged | RegionChanged イベントを発生させます。 (Control から継承されます。) |
![]() | OnResize | ( ListBox から継承されます。) |
![]() | OnRightToLeftChanged | RightToLeftChanged イベントを発生させます。 (Control から継承されます。) |
![]() | OnSelectedIndexChanged | オーバーライドされます。 SelectedIndexChanged イベントを発生させます。 |
![]() | OnSelectedValueChanged | ( ListBox から継承されます。) |
![]() | OnSizeChanged | SizeChanged イベントを発生させます。 (Control から継承されます。) |
![]() | OnStyleChanged | StyleChanged イベントを発生させます。 (Control から継承されます。) |
![]() | OnSystemColorsChanged | SystemColorsChanged イベントを発生させます。 (Control から継承されます。) |
![]() | OnTabIndexChanged | TabIndexChanged イベントを発生させます。 (Control から継承されます。) |
![]() | OnTabStopChanged | TabStopChanged イベントを発生させます。 (Control から継承されます。) |
![]() | OnTextChanged | TextChanged イベントを発生させます。 (Control から継承されます。) |
![]() | OnValidated | Validated イベントを発生させます。 (Control から継承されます。) |
![]() | OnValidating | Validating イベントを発生させます。 (Control から継承されます。) |
![]() | OnValueMemberChanged | ValueMemberChanged イベントを発生させます。 (ListControl から継承されます。) |
![]() | OnVisibleChanged | VisibleChanged イベントを発生させます。 (Control から継承されます。) |
![]() | ProcessCmdKey | コマンド キーを処理します。 (Control から継承されます。) |
![]() | ProcessDialogChar | ダイアログ文字を処理します。 (Control から継承されます。) |
![]() | ProcessDialogKey | ダイアログ キーを処理します。 (Control から継承されます。) |
![]() | ProcessKeyEventArgs | キー メッセージを処理し、適切なコントロール イベントを生成します。 (Control から継承されます。) |
![]() | ProcessKeyMessage | キーボード メッセージを処理します。 (Control から継承されます。) |
![]() | ProcessKeyPreview | キーボード メッセージをプレビューします。 (Control から継承されます。) |
![]() | ProcessMnemonic | ニーモニック文字を処理します。 (Control から継承されます。) |
![]() | RaiseDragEvent | 適切なドラッグ イベントを発生させます。 (Control から継承されます。) |
![]() | RaiseKeyEvent | 適切なキー イベントを発生させます。 (Control から継承されます。) |
![]() | RaiseMouseEvent | 適切なマウス イベントを発生させます。 (Control から継承されます。) |
![]() | RaisePaintEvent | 適切な描画イベントを発生させます。 (Control から継承されます。) |
![]() | RecreateHandle | 強制的にコントロールのハンドルを再作成します。 (Control から継承されます。) |
![]() | ReflectMessage | 指定したメッセージを指定したハンドルにバインドされたコントロールにリフレクションします。 (Control から継承されます。) |
![]() | RefreshItem | 指定したインデックスにある項目を更新します。 (ListBox から継承されます。) |
![]() | RefreshItems | オーバーライドされます。 すべての CheckedListBox 項目を解析し直し、これらの項目の最新のテキスト文字列を取得します。 |
![]() | ResetMouseEventArgs | MouseLeave イベントを処理するためのコントロールをリセットします。 (Control から継承されます。) |
![]() | RtlTranslateAlignment | オーバーロードされます。 現在の配置を適切な配置に変換し、テキストを右から左に表示できるようにします。 (Control から継承されます。) |
![]() | RtlTranslateContent | 指定した ContentAlignment を適切な ContentAlignment に変換し、テキストを右から左に表示できるようにします。 (Control から継承されます。) |
![]() | RtlTranslateHorizontal | 指定した HorizontalAlignment を適切な HorizontalAlignment に変換し、テキストを右から左に表示できるようにします。 (Control から継承されます。) |
![]() | RtlTranslateLeftRight | 指定した LeftRightAlignment を適切な LeftRightAlignment に変換し、テキストを右から左に表示できるようにします。 (Control から継承されます。) |
![]() | ScaleControl | ( ListBox から継承されます。) |
![]() | ScaleCore | ( Control から継承されます。) |
![]() | Select | オーバーロードされます。 コントロールをアクティブにします。 (Control から継承されます。) |
![]() | SetAutoSizeMode | AutoSize プロパティが有効なときのコントロールの動作を示す値を設定します。 (Control から継承されます。) |
![]() | SetBoundsCore | ListBox コントロールの指定した境界を設定します。 (ListBox から継承されます。) |
![]() | SetClientSizeCore | コントロールのクライアント領域のサイズを設定します。 (Control から継承されます。) |
![]() | SetItemCore | 派生クラスで、指定したインデックスを使用してオブジェクトを設定します。 (ListBox から継承されます。) |
![]() | SetItemsCore | ListBox の内容を消去し、指定した項目をコントロールに追加します。 (ListBox から継承されます。) |
![]() | SetStyle | 指定したスタイル ビットを指定した値に設定します。 (Control から継承されます。) |
![]() | SetTopLevel | コントロールをトップレベル コントロールとして設定します。 (Control から継承されます。) |
![]() | SetVisibleCore | コントロールを指定した表示状態に設定します。 (Control から継承されます。) |
![]() | SizeFromClientSize | クライアント領域の高さおよび幅からコントロール全体のサイズを決定します。 (Control から継承されます。) |
![]() | Sort | ListBox 内の項目を並べ替えます。 (ListBox から継承されます。) |
![]() | UpdateBounds | オーバーロードされます。 コントロールの範囲を更新します。 (Control から継承されます。) |
![]() | UpdateStyles | 割り当て済みのスタイルを強制的にコントロールに再適用します。 (Control から継承されます。) |
![]() | UpdateZOrder | コントロールを親の z オーダーで更新します。 (Control から継承されます。) |
![]() | WmReflectCommand | オーバーライドされます。 CheckedListBox コントロールがトップレベル ウィンドウから受け取るコマンド メッセージを処理します。 |
![]() | WndProc | オーバーライドされます。 Windows メッセージを処理します。 |


関連項目
CheckedListBox クラスSystem.Windows.Forms 名前空間
ListBox
その他の技術情報
CheckedListBox コントロール (Windows フォーム)Weblioに収録されているすべての辞書からCheckedListBoxを検索する場合は、下記のリンクをクリックしてください。

- CheckedListBoxのページへのリンク