CheckedListBox 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
ListBox 각 항목의 왼쪽에 확인란이 표시되는 것을 표시합니다.
public ref class CheckedListBox : System::Windows::Forms::ListBox
public class CheckedListBox : System.Windows.Forms.ListBox
[System.ComponentModel.LookupBindingProperties]
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)]
[System.Runtime.InteropServices.ComVisible(true)]
public class CheckedListBox : System.Windows.Forms.ListBox
[System.ComponentModel.LookupBindingProperties]
public class CheckedListBox : System.Windows.Forms.ListBox
type CheckedListBox = class
inherit ListBox
[<System.ComponentModel.LookupBindingProperties>]
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type CheckedListBox = class
inherit ListBox
[<System.ComponentModel.LookupBindingProperties>]
type CheckedListBox = class
inherit ListBox
Public Class CheckedListBox
Inherits ListBox
- 상속
- 특성
예제
다음 예제에서는 메서드, 속성 및 컬렉션의 CheckedListBox사용 하는 방법을 보여 줍니다. 프로젝트에 복사한 후 실행할 준비가 된 전체 샘플입니다. 항목을 확인하고 선택 취소하고, 텍스트 상자를 사용하여 항목을 추가할 수 있으며, 저장 단추를 클릭하면 선택한 항목의 선택을 취소할 수 있습니다.
#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 ) )
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() )
{
y = safe_cast<Int32>(myEnumerator->Current);
checkedListBox1->SetItemChecked( y, false );
}
button3->Enabled = false;
}
};
[STAThread]
int main()
{
Application::Run( gcnew Form1 );
}
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))
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())
{
y =(int) myEnumerator.Current;
checkedListBox1.SetItemChecked(y, false);
}
button3.Enabled = false ;
}
}
}
Option Explicit
Option Strict
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
Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing Then
If (components IsNot 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
<STAThread()> _
Public Shared Sub Main()
Application.Run(New Form1())
End Sub
' 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
' 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
' 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
' 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
' 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()
For Each index in checkedListBox1.CheckedIndices.Cast(Of Integer).ToArray()
checkedListBox1.SetItemChecked(index, False)
Next
button3.Enabled = False
End Sub
End Class
End Namespace 'WindowsApplication1
설명
이 컨트롤은 사용자가 키보드 또는 컨트롤의 오른쪽에 있는 스크롤 막대를 사용하여 탐색할 수 있는 항목 목록을 제공합니다. 사용자는 하나 이상의 항목으로 확인 표시를 배치할 수 있으며 확인된 항목은 해당 항목과 함께 CheckedListBox.CheckedItemCollectionCheckedListBox.CheckedIndexCollection탐색할 수 있습니다.
런타임에 목록에 개체를 추가하려면 메서드를 사용하여 개체 참조 배열을 AddRange 할당합니다. 그런 다음 목록에 각 개체의 기본 문자열 값이 표시됩니다. 메서드를 사용하여 목록에 Add 개별 항목을 추가할 수 있습니다.
개체는 CheckedListBox 열거형을 CheckState 통해 세 가지 상태를 지원합니다. CheckedIndeterminateUnchecked 사용자 인터페이스 CheckedListBox 가 이를 위한 메커니즘을 제공하지 않으므로 코드에서 상태를 Indeterminate 설정해야 합니다.
이 true경우 UseTabStops 항목 텍스트에서 CheckedListBox 탭 문자를 인식하고 확장하여 열을 만듭니다. 이러한 탭 정지는 미리 설정되며 변경할 수 없습니다. 사용자 지정 탭 정지를 사용하려면 컬렉션에 false사용자 지정 값을 CustomTabOffsets 설정UseTabStops, 설정 UseCustomTabOffsetstrue및 추가합니다.
메모
속성이 UseCompatibleTextRenderingfalse면 속성이 CustomTabOffsets 무시되고 표준 탭 오프셋으로 바뀝니다.
클래스는 CheckedListBox 다음 세 가지 인덱싱된 컬렉션을 지원합니다.
| 컬렉션 | 클래스 캡슐화 |
|---|---|
| 컨트롤에 포함된 모든 항목입니다 CheckedListBox . | CheckedListBox.ObjectCollection |
| 컨트롤에 포함된 CheckedListBox 항목의 하위 집합인 확인된 항목(확정되지 않은 상태의 항목 포함)입니다. | CheckedListBox.CheckedItemCollection |
| 항목 컬렉션에 대한 인덱스의 하위 집합인 인덱스를 확인했습니다. 이러한 인덱스는 선택되거나 확정되지 않은 상태로 항목을 지정합니다. | CheckedListBox.CheckedIndexCollection |
다음 세 개의 테이블은 클래스가 지원하는 세 가지 인덱싱된 컬렉션의 CheckedListBox 예입니다.
첫 번째 표에서는 컨트롤에 있는 항목의 인덱싱된 컬렉션(컨트롤에 포함된 모든 항목)의 예를 제공합니다.
| Index | Item | 상태 확인 |
|---|---|---|
| 0 | 개체 1 | Unchecked |
| 1 | 개체 2 | Checked |
| 2 | 개체 3 | Unchecked |
| 3 | 개체 4 | Indeterminate |
| 4 | 개체 5 | Checked |
두 번째 테이블은 확인된 항목의 인덱싱된 컬렉션의 예를 제공합니다.
| Index | Item |
|---|---|
| 0 | 개체 2 |
| 1 | 개체 4 |
| 2 | 개체 5 |
세 번째 테이블은 확인된 항목의 인덱스 인덱싱된 컬렉션의 예를 제공합니다.
| Index | 항목의 인덱스 |
|---|---|
| 0 | 1 |
| 1 | 3 |
| 2 | 4 |
생성자
| Name | Description |
|---|---|
| CheckedListBox() |
CheckedListBox 클래스의 새 인스턴스를 초기화합니다. |
필드
| Name | Description |
|---|---|
| DefaultItemHeight |
소유자가 그린 ListBox기본 항목 높이를 지정합니다. (다음에서 상속됨 ListBox) |
| NoMatches |
검색하는 동안 일치하는 항목을 찾을 수 없게 지정합니다. (다음에서 상속됨 ListBox) |
속성
| Name | Description |
|---|---|
| AccessibilityObject |
컨트롤에 AccessibleObject 할당된 값을 가져옵니다. (다음에서 상속됨 Control) |
| AccessibleDefaultActionDescription |
접근성 클라이언트 애플리케이션에서 사용할 컨트롤의 기본 작업 설명을 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| AccessibleDescription |
접근성 클라이언트 애플리케이션에서 사용하는 컨트롤에 대한 설명을 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| AccessibleName |
접근성 클라이언트 애플리케이션에서 사용하는 컨트롤의 이름을 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| AccessibleRole |
컨트롤의 액세스 가능한 역할을 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| AllowDrop |
컨트롤이 사용자가 끌어온 데이터를 허용할 수 있는지 여부를 나타내는 값을 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| AllowSelection |
현재 목록 항목을 선택할 수 있는지 여부를 ListBox 나타내는 값을 가져옵니다. (다음에서 상속됨 ListBox) |
| Anchor |
컨트롤이 바인딩되는 컨테이너의 가장자리를 가져오거나 설정하며 컨트롤의 크기를 부모로 조정하는 방법을 결정합니다. (다음에서 상속됨 Control) |
| AutoScrollOffset |
이 컨트롤이 스크롤 ScrollControlIntoView(Control)되는 위치를 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| AutoSize |
이 속성은 이 클래스와 관련이 없습니다. (다음에서 상속됨 Control) |
| BackColor |
컨트롤의 배경색을 가져오거나 설정합니다. (다음에서 상속됨 ListBox) |
| BackgroundImage |
이 속성은 이 클래스와 관련이 없습니다. (다음에서 상속됨 ListBox) |
| BackgroundImageLayout |
열거형에 정의된 대로 배경 이미지 레이아웃 ListBox 을 ImageLayout 가져오거나 설정합니다. (다음에서 상속됨 ListBox) |
| BindingContext |
컨트롤의 값을 BindingContext 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| BorderStyle |
주위에 그려지는 테두리의 형식을 ListBox가져오거나 설정합니다. (다음에서 상속됨 ListBox) |
| Bottom |
컨트롤의 아래쪽 가장자리와 컨테이너 클라이언트 영역의 위쪽 가장자리 사이의 거리를 픽셀 단위로 가져옵니다. (다음에서 상속됨 Control) |
| Bounds |
부모 컨트롤을 기준으로 비클라이언트 요소를 포함하여 컨트롤의 크기와 위치를 픽셀 단위로 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| CanEnableIme |
IME 지원을 사용하도록 설정하기 위해 속성을 활성 값으로 설정할 수 있는지 여부를 ImeMode 나타내는 값을 가져옵니다. (다음에서 상속됨 Control) |
| CanFocus |
컨트롤이 포커스를 받을 수 있는지 여부를 나타내는 값을 가져옵니다. (다음에서 상속됨 Control) |
| CanRaiseEvents |
컨트롤에서 이벤트가 발생할 수 있는지 여부를 결정합니다. (다음에서 상속됨 Control) |
| CanSelect |
컨트롤을 선택할 수 있는지 여부를 나타내는 값을 가져옵니다. (다음에서 상속됨 Control) |
| Capture |
컨트롤이 마우스를 캡처했는지 여부를 나타내는 값을 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| CausesValidation |
컨트롤이 포커스를 받을 때 유효성 검사가 필요한 컨트롤에서 유효성 검사를 수행할지 여부를 나타내는 값을 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| CheckedIndices |
이 CheckedListBox인덱스의 선택된 인덱스 컬렉션입니다. |
| CheckedItems |
이 CheckedListBox항목에서 확인된 항목의 컬렉션입니다. |
| CheckOnClick |
항목을 선택할 때 확인란을 전환할지 여부를 나타내는 값을 가져오거나 설정합니다. |
| ClientRectangle |
컨트롤의 클라이언트 영역을 나타내는 사각형을 가져옵니다. (다음에서 상속됨 Control) |
| ClientSize |
컨트롤의 클라이언트 영역 높이와 너비를 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| ColumnWidth |
여러 열 ListBox의 열 너비를 가져오거나 설정합니다. (다음에서 상속됨 ListBox) |
| CompanyName |
컨트롤을 포함하는 애플리케이션의 회사 또는 작성자의 이름을 가져옵니다. (다음에서 상속됨 Control) |
| Container |
를 IContainer 포함하는 값을 가져옵니다 Component. (다음에서 상속됨 Component) |
| ContainsFocus |
컨트롤 또는 해당 자식 컨트롤 중 하나에 현재 입력 포커스가 있는지 여부를 나타내는 값을 가져옵니다. (다음에서 상속됨 Control) |
| ContextMenu |
사용되지 않음.
컨트롤과 연결된 바로 가기 메뉴를 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| ContextMenuStrip |
이 컨트롤과 연결된 값을 ContextMenuStrip 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| Controls |
컨트롤 내에 포함된 컨트롤의 컬렉션을 가져옵니다. (다음에서 상속됨 Control) |
| Created |
컨트롤이 만들어졌는지 여부를 나타내는 값을 가져옵니다. (다음에서 상속됨 Control) |
| CreateParams |
컨트롤 핸들을 만들 때 필요한 생성 매개 변수를 가져옵니다. |
| Cursor |
마우스 포인터가 컨트롤 위에 있을 때 표시되는 커서를 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| CustomTabOffsets |
에 있는 항목 사이의 탭 너비를 ListBox가져옵니다. (다음에서 상속됨 ListBox) |
| DataBindings |
컨트롤의 데이터 바인딩을 가져옵니다. (다음에서 상속됨 Control) |
| DataContext |
데이터 바인딩을 위해 데이터 컨텍스트를 가져오거나 설정합니다. 앰비언트 속성입니다. (다음에서 상속됨 Control) |
| DataManager |
CurrencyManager 이 컨트롤과 연결된 컨트롤을 가져옵니다. (다음에서 상속됨 ListControl) |
| DataSource |
컨트롤의 데이터 원본을 가져오거나 설정합니다. |
| DefaultCursor |
컨트롤의 기본 커서를 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| DefaultImeMode |
컨트롤에서 지원하는 기본 IME(입력 메서드 편집기) 모드를 가져옵니다. (다음에서 상속됨 Control) |
| DefaultMargin |
컨트롤 간에 기본적으로 지정된 공간을 픽셀 단위로 가져옵니다. (다음에서 상속됨 Control) |
| DefaultMaximumSize |
컨트롤의 기본 최대 크기로 지정된 길이와 높이(픽셀)를 가져옵니다. (다음에서 상속됨 Control) |
| DefaultMinimumSize |
컨트롤의 기본 최소 크기로 지정된 길이와 높이(픽셀)를 가져옵니다. (다음에서 상속됨 Control) |
| DefaultPadding |
컨트롤 내용의 기본 내부 간격(픽셀)을 가져옵니다. (다음에서 상속됨 Control) |
| DefaultSize |
컨트롤의 기본 크기를 가져옵니다. (다음에서 상속됨 ListBox) |
| DesignMode |
현재 디자인 모드인지 여부를 Component 나타내는 값을 가져옵니다. (다음에서 상속됨 Component) |
| DeviceDpi |
컨트롤이 현재 표시되는 디스플레이 디바이스의 DPI 값을 가져옵니다. (다음에서 상속됨 Control) |
| DisplayMember |
표시할 내용이 있는 목록 상자에 포함된 개체의 속성을 지정하는 문자열을 가져오거나 설정합니다. |
| DisplayRectangle |
컨트롤의 표시 영역을 나타내는 사각형을 가져옵니다. (다음에서 상속됨 Control) |
| Disposing |
기본 Control 클래스가 삭제 중인지 여부를 나타내는 값을 가져옵니다. (다음에서 상속됨 Control) |
| Dock |
부모 컨트롤에 도킹되는 컨트롤 테두리를 가져오거나 설정하며 컨트롤의 크기를 부모 컨트롤과 함께 조정하는 방법을 결정합니다. (다음에서 상속됨 Control) |
| DoubleBuffered |
이 컨트롤이 깜박임을 줄이거나 방지하기 위해 보조 버퍼를 사용하여 표면을 다시 그릴지 여부를 나타내는 값을 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| DrawMode |
의 요소를 CheckedListBox그리기 위한 모드를 나타내는 값을 가져옵니다. 이 속성은 이 클래스와 관련이 없습니다. |
| Enabled |
컨트롤이 사용자 상호 작용에 응답할 수 있는지 여부를 나타내는 값을 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| Events |
이 Component에 연결된 이벤트 처리기 목록을 가져옵니다. (다음에서 상속됨 Component) |
| Focused |
컨트롤에 입력 포커스가 있는지 여부를 나타내는 값을 가져옵니다. (다음에서 상속됨 Control) |
| Font |
컨트롤에 표시되는 텍스트의 글꼴을 가져오거나 설정합니다. (다음에서 상속됨 ListBox) |
| FontHeight |
컨트롤 글꼴의 높이를 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| ForeColor |
컨트롤의 전경색을 가져오거나 설정합니다. (다음에서 상속됨 ListBox) |
| FormatInfo |
사용자 지정 서식 동작을 IFormatProvider 제공하는 값을 가져오거나 설정합니다. (다음에서 상속됨 ListControl) |
| FormatString |
값을 표시하는 방법을 나타내는 서식 지정자 문자를 가져오거나 설정합니다. (다음에서 상속됨 ListControl) |
| FormattingEnabled |
의 속성ListControl에 서식이 적용되는 DisplayMember 지 여부를 나타내는 값을 가져오거나 설정합니다. (다음에서 상속됨 ListControl) |
| Handle |
컨트롤이 바인딩된 창 핸들을 가져옵니다. (다음에서 상속됨 Control) |
| HasChildren |
컨트롤에 하나 이상의 자식 컨트롤이 포함되어 있는지 여부를 나타내는 값을 가져옵니다. (다음에서 상속됨 Control) |
| Height |
컨트롤의 높이를 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| HorizontalExtent |
스크롤할 수 있는 가로 스크롤 막대의 너비를 ListBox 가져오거나 설정합니다. (다음에서 상속됨 ListBox) |
| HorizontalScrollbar |
컨트롤에 가로 스크롤 막대가 표시되는지 여부를 나타내는 값을 가져오거나 설정합니다. (다음에서 상속됨 ListBox) |
| ImeMode |
컨트롤의 IME(입력 메서드 편집기) 모드를 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| ImeModeBase |
컨트롤의 IME 모드를 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| IntegralHeight |
부분 항목이 표시되지 않도록 컨트롤의 크기를 조정해야 하는지 여부를 나타내는 값을 가져오거나 설정합니다. (다음에서 상속됨 ListBox) |
| InvokeRequired |
호출자가 컨트롤을 만든 스레드와 다른 스레드에 있으므로 호출자가 컨트롤에 메서드를 호출할 때 호출자가 호출 메서드를 호출해야 하는지 여부를 나타내는 값을 가져옵니다. (다음에서 상속됨 Control) |
| IsAccessible |
컨트롤이 접근성 애플리케이션에 표시되는지 여부를 나타내는 값을 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| IsAncestorSiteInDesignMode |
이 컨트롤의 상위 항목 중 하나가 배치되고 DesignMode에 해당 사이트가 있는지 나타냅니다. 이 속성은 읽기 전용입니다. (다음에서 상속됨 Control) |
| IsDisposed |
컨트롤이 삭제되었는지 여부를 나타내는 값을 가져옵니다. (다음에서 상속됨 Control) |
| IsHandleCreated |
컨트롤에 연결된 핸들이 있는지 여부를 나타내는 값을 가져옵니다. (다음에서 상속됨 Control) |
| IsMirrored |
컨트롤이 미러링되는지 여부를 나타내는 값을 가져옵니다. (다음에서 상속됨 Control) |
| ItemHeight |
항목 영역의 높이를 가져옵니다. |
| Items |
이 CheckedListBox항목의 컬렉션을 가져옵니다. |
| LayoutEngine |
컨트롤 레이아웃 엔진의 캐시된 인스턴스를 가져옵니다. (다음에서 상속됨 Control) |
| Left |
컨트롤의 왼쪽 가장자리와 컨테이너 클라이언트 영역의 왼쪽 가장자리 사이의 거리를 픽셀 단위로 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| Location |
컨테이너의 왼쪽 위 모퉁이를 기준으로 컨트롤의 왼쪽 위 모퉁이 좌표를 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| Margin |
컨트롤 사이의 공간을 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| MaximumSize |
지정할 수 있는 상한 GetPreferredSize(Size) 인 크기를 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| MinimumSize |
지정할 수 있는 하한 GetPreferredSize(Size) 인 크기를 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| MultiColumn |
여러 열을 지원하는지 여부를 ListBox 나타내는 값을 가져오거나 설정합니다. (다음에서 상속됨 ListBox) |
| Name |
컨트롤의 이름을 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| Padding |
에서 안쪽 여백을 CheckedListBox가져오거나 설정합니다. 이 속성은 이 클래스와 관련이 없습니다. |
| Parent |
컨트롤의 부모 컨테이너를 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| PreferredHeight |
에 있는 모든 항목의 결합된 높이를 ListBox가져옵니다. (다음에서 상속됨 ListBox) |
| PreferredSize |
컨트롤이 맞을 수 있는 사각형 영역의 크기를 가져옵니다. (다음에서 상속됨 Control) |
| ProductName |
컨트롤을 포함하는 어셈블리의 제품 이름을 가져옵니다. (다음에서 상속됨 Control) |
| ProductVersion |
컨트롤을 포함하는 어셈블리의 버전을 가져옵니다. (다음에서 상속됨 Control) |
| RecreatingHandle |
컨트롤이 현재 해당 핸들을 다시 만들고 있는지 여부를 나타내는 값을 가져옵니다. (다음에서 상속됨 Control) |
| Region |
컨트롤과 연결된 창 영역을 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| RenderRightToLeft |
사용되지 않음.
사용되지 않음.
이 속성은 이제 사용되지 않습니다. (다음에서 상속됨 Control) |
| ResizeRedraw |
크기가 조정될 때 컨트롤 자체를 다시 그릴지 여부를 나타내는 값을 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| Right |
컨트롤의 오른쪽 가장자리와 컨테이너 클라이언트 영역의 왼쪽 가장자리 사이의 거리를 픽셀 단위로 가져옵니다. (다음에서 상속됨 Control) |
| RightToLeft |
컨트롤에 표시되는 텍스트가 오른쪽에서 왼쪽으로 표시되는지 여부를 나타내는 값을 가져오거나 설정합니다. (다음에서 상속됨 ListBox) |
| ScaleChildren |
자식 컨트롤의 크기를 결정하는 값을 가져옵니다. (다음에서 상속됨 Control) |
| ScrollAlwaysVisible |
세로 스크롤 막대가 항상 표시되는지 여부를 나타내는 값을 가져오거나 설정합니다. (다음에서 상속됨 ListBox) |
| SelectedIndex |
에서 현재 선택한 항목의 인덱스(0부터 시작하는 인덱스 ListBox)를 가져오거나 설정합니다. (다음에서 상속됨 ListBox) |
| SelectedIndices |
에서 현재 선택한 모든 항목 ListBox의 인덱스(0부터 시작)를 포함하는 컬렉션을 가져옵니다. (다음에서 상속됨 ListBox) |
| SelectedItem |
에서 현재 선택한 항목을 ListBox가져오거나 설정합니다. (다음에서 상속됨 ListBox) |
| SelectedItems |
에서 현재 선택한 항목 ListBox이 포함된 컬렉션을 가져옵니다. (다음에서 상속됨 ListBox) |
| SelectedValue |
속성에 지정된 ValueMember 멤버 속성의 값을 가져오거나 설정합니다. (다음에서 상속됨 ListControl) |
| SelectionMode |
선택 모드를 지정하는 값을 가져오거나 설정합니다. |
| ShowFocusCues |
컨트롤에 포커스 사각형이 표시되어야 하는지 여부를 나타내는 값을 가져옵니다. (다음에서 상속됨 Control) |
| ShowKeyboardCues |
사용자 인터페이스가 키보드 가속기를 표시하거나 숨길 적절한 상태에 있는지 여부를 나타내는 값을 가져옵니다. (다음에서 상속됨 Control) |
| Site |
컨트롤의 사이트를 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| Size |
컨트롤의 높이와 너비를 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| Sorted |
항목 ListBox 이 사전순으로 정렬되는지 여부를 나타내는 값을 가져오거나 설정합니다. (다음에서 상속됨 ListBox) |
| TabIndex |
컨테이너 내에서 컨트롤의 탭 순서를 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| TabStop |
사용자가 TAB 키를 사용하여 이 컨트롤에 포커스를 줄 수 있는지 여부를 나타내는 값을 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| Tag |
컨트롤에 대한 데이터가 들어 있는 개체를 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| Text |
에서 현재 선택한 항목의 텍스트를 가져오거나 검색합니다 ListBox. (다음에서 상속됨 ListBox) |
| ThreeDCheckBoxes |
확인란에 해당 확인란 ButtonState 의 |
| Top |
컨트롤의 위쪽 가장자리와 컨테이너 클라이언트 영역의 위쪽 가장자리 사이의 거리를 픽셀 단위로 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| TopIndex |
에서 처음 표시되는 항목 ListBox의 인덱스 가져오거나 설정합니다. (다음에서 상속됨 ListBox) |
| TopLevelControl |
다른 Windows Forms 컨트롤에서 부모로 설정되지 않은 부모 컨트롤을 가져옵니다. 일반적으로 컨트롤이 포함된 가장 Form 바깥쪽입니다. (다음에서 상속됨 Control) |
| UseCompatibleTextRendering |
클래스(GDI+) 또는 GDI(클래스)를 사용하여 Graphics 텍스트를 렌더링할지 여부를 결정하는 값을 가져오거나 TextRenderer 설정합니다. |
| UseCustomTabOffsets |
정수 배열을 사용하여 CustomTabOffsets 문자열을 그릴 때 탭 문자를 인식하고 확장할지 여부를 ListBox 나타내는 값을 가져오거나 설정합니다. (다음에서 상속됨 ListBox) |
| UseTabStops |
문자열을 그릴 때 탭 문자를 인식하고 확장할 수 있는지 여부를 ListBox 나타내는 값을 가져오거나 설정합니다. (다음에서 상속됨 ListBox) |
| UseWaitCursor |
현재 컨트롤 및 모든 자식 컨트롤에 대기 커서를 사용할지 여부를 나타내는 값을 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| ValueMember |
값을 그릴 데이터 원본의 속성을 지정하는 문자열을 가져오거나 설정합니다. |
| Visible |
컨트롤과 모든 자식 컨트롤이 표시되는지 여부를 나타내는 값을 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| Width |
컨트롤의 너비를 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| WindowTarget |
이 속성은 이 클래스와 관련이 없습니다. (다음에서 상속됨 Control) |
메서드
이벤트
| Name | Description |
|---|---|
| AutoSizeChanged |
이 이벤트는 이 클래스와 관련이 없습니다. (다음에서 상속됨 Control) |
| BackColorChanged |
BackColor 속성 값이 변경되면 발생합니다. (다음에서 상속됨 Control) |
| BackgroundImageChanged |
레이블의 속성이 BackgroundImage 변경되면 발생합니다. (다음에서 상속됨 ListBox) |
| BackgroundImageLayoutChanged |
속성이 변경되면 BackgroundImageLayout 발생합니다. (다음에서 상속됨 ListBox) |
| BindingContextChanged |
BindingContext 속성 값이 변경되면 발생합니다. (다음에서 상속됨 Control) |
| CausesValidationChanged |
CausesValidation 속성 값이 변경되면 발생합니다. (다음에서 상속됨 Control) |
| ChangeUICues |
포커스 또는 키보드 UI(사용자 인터페이스) 신호가 변경되면 발생합니다. (다음에서 상속됨 Control) |
| Click |
사용자가 컨트롤을 클릭할 때 발생합니다 CheckedListBox . |
| ClientSizeChanged |
ClientSize 속성 값이 변경되면 발생합니다. (다음에서 상속됨 Control) |
| ContextMenuChanged |
사용되지 않음.
ContextMenu 속성 값이 변경되면 발생합니다. (다음에서 상속됨 Control) |
| ContextMenuStripChanged |
ContextMenuStrip 속성 값이 변경되면 발생합니다. (다음에서 상속됨 Control) |
| ControlAdded |
새 컨트롤이 에 추가 Control.ControlCollection되면 발생합니다. (다음에서 상속됨 Control) |
| ControlRemoved |
에서 컨트롤을 제거할 때 발생합니다 Control.ControlCollection. (다음에서 상속됨 Control) |
| CursorChanged |
Cursor 속성 값이 변경되면 발생합니다. (다음에서 상속됨 Control) |
| DataContextChanged |
DataContext 속성 값이 변경되면 발생합니다. (다음에서 상속됨 Control) |
| DataSourceChanged |
속성이 변경되면 DataSource 발생합니다. |
| DisplayMemberChanged |
속성이 변경되면 DisplayMember 발생합니다. |
| Disposed |
구성 요소가 메서드 호출에 Dispose() 의해 삭제될 때 발생합니다. (다음에서 상속됨 Component) |
| DockChanged |
Dock 속성 값이 변경되면 발생합니다. (다음에서 상속됨 Control) |
| DoubleClick |
컨트롤을 두 번 클릭할 때 발생합니다. (다음에서 상속됨 Control) |
| DpiChangedAfterParent |
부모 컨트롤 또는 폼의 DPI가 변경된 후 컨트롤에 대한 DPI 설정이 프로그래밍 방식으로 변경될 때 발생합니다. (다음에서 상속됨 Control) |
| DpiChangedBeforeParent |
부모 컨트롤 또는 폼에 대한 DPI 변경 이벤트가 발생하기 전에 컨트롤에 대한 DPI 설정이 프로그래밍 방식으로 변경될 때 발생합니다. (다음에서 상속됨 Control) |
| DragDrop |
끌어서 놓기 작업이 완료되면 발생합니다. (다음에서 상속됨 Control) |
| DragEnter |
개체를 컨트롤의 경계로 끌 때 발생합니다. (다음에서 상속됨 Control) |
| DragLeave |
개체를 컨트롤의 범위 밖으로 끌 때 발생합니다. (다음에서 상속됨 Control) |
| DragOver |
개체를 컨트롤의 범위 위로 끌 때 발생합니다. (다음에서 상속됨 Control) |
| DrawItem |
소유자가 그린 CheckedListBox 시각적 측면이 변경되면 발생합니다. 이 이벤트는 이 클래스와 관련이 없습니다. |
| EnabledChanged |
Enabled 속성 값이 변경되면 발생합니다. (다음에서 상속됨 Control) |
| Enter |
컨트롤을 입력할 때 발생합니다. (다음에서 상속됨 Control) |
| FontChanged |
속성 값이 변경되면 Font 발생합니다. (다음에서 상속됨 Control) |
| ForeColorChanged |
속성 값이 변경되면 ForeColor 발생합니다. (다음에서 상속됨 Control) |
| Format |
컨트롤이 데이터 값에 바인딩된 경우에 발생합니다. (다음에서 상속됨 ListControl) |
| FormatInfoChanged |
FormatInfo 속성 값이 변경되면 발생합니다. (다음에서 상속됨 ListControl) |
| FormatStringChanged |
속성 값이 변경되면 FormatString 발생합니다. (다음에서 상속됨 ListControl) |
| FormattingEnabledChanged |
FormattingEnabled 속성 값이 변경되면 발생합니다. (다음에서 상속됨 ListControl) |
| GiveFeedback |
끌기 작업 중에 발생합니다. (다음에서 상속됨 Control) |
| GotFocus |
컨트롤이 포커스를 받을 때 발생합니다. (다음에서 상속됨 Control) |
| HandleCreated |
컨트롤에 대한 핸들을 만들 때 발생합니다. (다음에서 상속됨 Control) |
| HandleDestroyed |
컨트롤의 핸들이 소멸되는 중일 때 발생합니다. (다음에서 상속됨 Control) |
| HelpRequested |
사용자가 컨트롤에 대한 도움말을 요청할 때 발생합니다. (다음에서 상속됨 Control) |
| ImeModeChanged |
속성이 ImeMode 변경될 때 발생합니다. (다음에서 상속됨 Control) |
| Invalidated |
컨트롤의 디스플레이에 다시 그리기가 필요할 때 발생합니다. (다음에서 상속됨 Control) |
| ItemCheck |
항목의 확인된 상태가 변경되면 발생합니다. |
| KeyDown |
컨트롤에 포커스가 있는 동안 키를 누를 때 발생합니다. (다음에서 상속됨 Control) |
| KeyPress |
컨트롤에 포커스가 있는 동안 문자, 공백 또는 백스페이스 키를 누를 때 발생합니다. (다음에서 상속됨 Control) |
| KeyUp |
컨트롤에 포커스가 있는 동안 키가 해제될 때 발생합니다. (다음에서 상속됨 Control) |
| Layout |
컨트롤이 자식 컨트롤의 위치를 변경해야 하는 경우에 발생합니다. (다음에서 상속됨 Control) |
| Leave |
입력 포커스가 컨트롤을 떠날 때 발생합니다. (다음에서 상속됨 Control) |
| LocationChanged |
Location 속성 값이 변경되면 발생합니다. (다음에서 상속됨 Control) |
| LostFocus |
컨트롤이 포커스를 잃을 때 발생합니다. (다음에서 상속됨 Control) |
| MarginChanged |
컨트롤의 여백이 변경되면 발생합니다. (다음에서 상속됨 Control) |
| MeasureItem |
소유자가 그린 ListBox 항목이 만들어지고 목록 항목의 크기가 결정되면 발생합니다. 이 이벤트는 이 클래스와 관련이 없습니다. |
| MouseCaptureChanged |
컨트롤이 마우스 캡처를 잃을 때 발생합니다. (다음에서 상속됨 Control) |
| MouseClick |
사용자가 마우스로 컨트롤을 클릭할 CheckedListBox 때 발생합니다. |
| MouseDoubleClick |
컨트롤을 마우스로 두 번 클릭하면 발생합니다. (다음에서 상속됨 Control) |
| MouseDown |
마우스 포인터가 컨트롤 위에 있고 마우스 단추를 누를 때 발생합니다. (다음에서 상속됨 Control) |
| MouseEnter |
마우스 포인터가 컨트롤에 들어갈 때 발생합니다. (다음에서 상속됨 Control) |
| MouseHover |
마우스 포인터가 컨트롤에 놓일 때 발생합니다. (다음에서 상속됨 Control) |
| MouseLeave |
마우스 포인터가 컨트롤을 떠날 때 발생합니다. (다음에서 상속됨 Control) |
| MouseMove |
마우스 포인터를 컨트롤 위로 이동할 때 발생합니다. (다음에서 상속됨 Control) |
| MouseUp |
마우스 포인터가 컨트롤 위에 있고 마우스 단추가 놓일 때 발생합니다. (다음에서 상속됨 Control) |
| MouseWheel |
컨트롤에 포커스가 있는 동안 마우스 휠이 움직일 때 발생합니다. (다음에서 상속됨 Control) |
| Move |
컨트롤을 이동할 때 발생합니다. (다음에서 상속됨 Control) |
| PaddingChanged |
Padding 속성 값이 변경되면 발생합니다. (다음에서 상속됨 ListBox) |
| Paint |
컨트롤이 그려질 ListBox 때 발생합니다. (다음에서 상속됨 ListBox) |
| ParentChanged |
속성 값이 변경되면 Parent 발생합니다. (다음에서 상속됨 Control) |
| PreviewKeyDown |
포커스가 이 컨트롤에 KeyDown 있는 동안 키를 누르면 이벤트 전에 발생합니다. (다음에서 상속됨 Control) |
| QueryAccessibilityHelp |
접근성 애플리케이션에 대한 도움말을 제공할 때 AccessibleObject 발생합니다. (다음에서 상속됨 Control) |
| QueryContinueDrag |
끌어서 놓기 작업 중에 발생하며 끌기 소스에서 끌어서 놓기 작업을 취소해야 하는지 여부를 결정할 수 있습니다. (다음에서 상속됨 Control) |
| RegionChanged |
Region 속성 값이 변경되면 발생합니다. (다음에서 상속됨 Control) |
| Resize |
컨트롤의 크기를 조정할 때 발생합니다. (다음에서 상속됨 Control) |
| RightToLeftChanged |
속성 값이 변경되면 RightToLeft 발생합니다. (다음에서 상속됨 Control) |
| SelectedIndexChanged |
속성 또는 컬렉션이 SelectedIndexSelectedIndices 변경될 때 발생합니다. (다음에서 상속됨 ListBox) |
| SelectedValueChanged |
속성이 변경되면 SelectedValue 발생합니다. (다음에서 상속됨 ListControl) |
| SizeChanged |
속성 값이 변경되면 Size 발생합니다. (다음에서 상속됨 Control) |
| StyleChanged |
컨트롤 스타일이 변경되면 발생합니다. (다음에서 상속됨 Control) |
| SystemColorsChanged |
시스템 색이 변경되면 발생합니다. (다음에서 상속됨 Control) |
| TabIndexChanged |
속성 값이 변경되면 TabIndex 발생합니다. (다음에서 상속됨 Control) |
| TabStopChanged |
속성 값이 변경되면 TabStop 발생합니다. (다음에서 상속됨 Control) |
| TextChanged |
속성이 Text 변경될 때 발생합니다. (다음에서 상속됨 ListBox) |
| Validated |
컨트롤의 유효성 검사가 완료되면 발생합니다. (다음에서 상속됨 Control) |
| Validating |
컨트롤의 유효성을 검사할 때 발생합니다. (다음에서 상속됨 Control) |
| ValueMemberChanged |
속성이 변경되면 ValueMember 발생합니다. |
| VisibleChanged |
속성 값이 변경되면 Visible 발생합니다. (다음에서 상속됨 Control) |
명시적 인터페이스 구현
| Name | Description |
|---|---|
| IDropTarget.OnDragDrop(DragEventArgs) |
DragDrop 이벤트를 발생시킵니다. (다음에서 상속됨 Control) |
| IDropTarget.OnDragEnter(DragEventArgs) |
DragEnter 이벤트를 발생시킵니다. (다음에서 상속됨 Control) |
| IDropTarget.OnDragLeave(EventArgs) |
DragLeave 이벤트를 발생시킵니다. (다음에서 상속됨 Control) |
| IDropTarget.OnDragOver(DragEventArgs) |
DragOver 이벤트를 발생시킵니다. (다음에서 상속됨 Control) |