ComboBox 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
Windows 콤보 상자 컨트롤을 나타냅니다.
public ref class ComboBox : System::Windows::Forms::ListControl
public class ComboBox : System.Windows.Forms.ListControl
[System.ComponentModel.DefaultBindingProperty("Text")]
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)]
[System.Runtime.InteropServices.ComVisible(true)]
public class ComboBox : System.Windows.Forms.ListControl
[System.ComponentModel.DefaultBindingProperty("Text")]
public class ComboBox : System.Windows.Forms.ListControl
type ComboBox = class
inherit ListControl
[<System.ComponentModel.DefaultBindingProperty("Text")>]
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type ComboBox = class
inherit ListControl
[<System.ComponentModel.DefaultBindingProperty("Text")>]
type ComboBox = class
inherit ListControl
Public Class ComboBox
Inherits ListControl
- 상속
- 파생
- 특성
예제
다음 코드 예제는 메서드를 사용하여 Add 항목을 추가하는 방법, 항목ComboBox에서 항목을 찾는 메서드 및 많은 수의 FindStringBeginUpdateEndUpdate 항목을 ComboBox효율적으로 추가하는 메서드를 보여 주는 전체 애플리케이션입니다.ComboBox 표시된 텍스트와 다른 값을 저장하는 기능은 상속됩니다 ListControl. 이 기능을 사용하는 방법에 대한 예제는 클래스를 참조하세요 ListControl .
이 예제를 실행하려면 네임스페이 System.Drawing 스 및 System.Windows.Forms 네임스페이스에 대한 참조를 추가해야 합니다.
#using <System.dll>
#using <System.Drawing.dll>
#using <System.Windows.Forms.dll>
using namespace System;
using namespace System::Windows::Forms;
namespace Win32Form1Namespace
{
public ref class Win32Form1: public System::Windows::Forms::Form
{
private:
System::Windows::Forms::Button^ addButton;
System::Windows::Forms::TextBox^ textBox2;
System::Windows::Forms::Button^ addGrandButton;
System::Windows::Forms::ComboBox^ comboBox1;
System::Windows::Forms::Button^ showSelectedButton;
System::Windows::Forms::TextBox^ textBox1;
System::Windows::Forms::Button^ findButton;
System::Windows::Forms::Label ^ label1;
public:
Win32Form1()
{
this->InitializeComponent();
}
private:
void InitializeComponent()
{
this->addButton = gcnew System::Windows::Forms::Button;
this->textBox2 = gcnew System::Windows::Forms::TextBox;
this->addGrandButton = gcnew System::Windows::Forms::Button;
this->comboBox1 = gcnew System::Windows::Forms::ComboBox;
this->showSelectedButton = gcnew System::Windows::Forms::Button;
this->textBox1 = gcnew System::Windows::Forms::TextBox;
this->findButton = gcnew System::Windows::Forms::Button;
this->label1 = gcnew System::Windows::Forms::Label;
this->addButton->Location = System::Drawing::Point( 248, 32 );
this->addButton->Size = System::Drawing::Size( 40, 24 );
this->addButton->TabIndex = 1;
this->addButton->Text = "Add";
this->addButton->Click += gcnew System::EventHandler(
this, &Win32Form1::addButton_Click );
this->textBox2->Location = System::Drawing::Point( 8, 64 );
this->textBox2->Size = System::Drawing::Size( 232, 20 );
this->textBox2->TabIndex = 6;
this->textBox2->Text = "";
this->addGrandButton->Location = System::Drawing::Point( 8, 96 );
this->addGrandButton->Size = System::Drawing::Size( 280, 23 );
this->addGrandButton->TabIndex = 2;
this->addGrandButton->Text = "Add 1, 000 Items";
this->addGrandButton->Click += gcnew System::EventHandler(
this, &Win32Form1::addGrandButton_Click );
this->comboBox1->Anchor = (System::Windows::Forms::AnchorStyles)(
(System::Windows::Forms::AnchorStyles::Bottom | System::Windows::Forms::AnchorStyles::Left) |
System::Windows::Forms::AnchorStyles::Right);
this->comboBox1->DropDownWidth = 280;
array<Object^>^ objectArray = {"Item 1",
"Item 2",
"Item 3",
"Item 4",
"Item 5"};
this->comboBox1->Items->AddRange( objectArray );
this->comboBox1->Location = System::Drawing::Point( 8, 248 );
this->comboBox1->Size = System::Drawing::Size( 280, 21 );
this->comboBox1->TabIndex = 7;
this->showSelectedButton->Location = System::Drawing::Point( 8, 128 );
this->showSelectedButton->Size = System::Drawing::Size( 280, 24 );
this->showSelectedButton->TabIndex = 4;
this->showSelectedButton->Text = "What Item is Selected?";
this->showSelectedButton->Click += gcnew System::EventHandler(
this, &Win32Form1::showSelectedButton_Click );
this->textBox1->Location = System::Drawing::Point( 8, 32 );
this->textBox1->Size = System::Drawing::Size( 232, 20 );
this->textBox1->TabIndex = 5;
this->textBox1->Text = "";
this->findButton->Location = System::Drawing::Point( 248, 64 );
this->findButton->Size = System::Drawing::Size( 40, 24 );
this->findButton->TabIndex = 3;
this->findButton->Text = "Find";
this->findButton->Click += gcnew System::EventHandler(
this, &Win32Form1::findButton_Click );
this->label1->Location = System::Drawing::Point( 8, 224 );
this->label1->Size = System::Drawing::Size( 144, 23 );
this->label1->TabIndex = 0;
this->label1->Text = "Test ComboBox";
this->ClientSize = System::Drawing::Size( 292, 273 );
array<System::Windows::Forms::Control^>^ controlsArray = {this->comboBox1,
this->textBox2,
this->textBox1,
this->showSelectedButton,
this->findButton,
this->addGrandButton,
this->addButton,
this->label1};
this->Controls->AddRange( controlsArray );
this->Text = "ComboBox Sample";
}
void addButton_Click( Object^ sender, System::EventArgs^ e )
{
comboBox1->Items->Add( textBox1->Text );
}
void addGrandButton_Click( Object^ sender, System::EventArgs^ e )
{
comboBox1->BeginUpdate();
for ( int i = 0; i < 1000; i++ )
{
comboBox1->Items->Add( "Item 1 " + i.ToString() );
}
comboBox1->EndUpdate();
}
void findButton_Click( Object^ sender, System::EventArgs^ e )
{
int index = comboBox1->FindString( textBox2->Text );
comboBox1->SelectedIndex = index;
}
void showSelectedButton_Click( Object^ sender, System::EventArgs^ e )
{
int selectedIndex = comboBox1->SelectedIndex;
Object^ selectedItem = comboBox1->SelectedItem;
MessageBox::Show( "Selected Item Text: " + selectedItem->ToString() + "\n" +
"Index: " + selectedIndex.ToString() );
}
};
}
[System::STAThreadAttribute]
int main()
{
System::Windows::Forms::Application::Run( gcnew Win32Form1Namespace::Win32Form1 );
}
using System;
using System.Windows.Forms;
namespace Win32Form1Namespace {
public class Win32Form1 : System.Windows.Forms.Form {
private System.Windows.Forms.Button addButton;
private System.Windows.Forms.TextBox textBox2;
private System.Windows.Forms.Button addGrandButton;
private System.Windows.Forms.ComboBox comboBox1;
private System.Windows.Forms.Button showSelectedButton;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.Button findButton;
private System.Windows.Forms.Label label1;
public Win32Form1() {
this.InitializeComponent();
}
[System.STAThreadAttribute()]
public static void Main() {
System.Windows.Forms.Application.Run(new Win32Form1());
}
private void InitializeComponent() {
this.addButton = new System.Windows.Forms.Button();
this.textBox2 = new System.Windows.Forms.TextBox();
this.addGrandButton = new System.Windows.Forms.Button();
this.comboBox1 = new System.Windows.Forms.ComboBox();
this.showSelectedButton = new System.Windows.Forms.Button();
this.textBox1 = new System.Windows.Forms.TextBox();
this.findButton = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.addButton.Location = new System.Drawing.Point(248, 32);
this.addButton.Size = new System.Drawing.Size(40, 24);
this.addButton.TabIndex = 1;
this.addButton.Text = "Add";
this.addButton.Click += new System.EventHandler(this.addButton_Click);
this.textBox2.Location = new System.Drawing.Point(8, 64);
this.textBox2.Size = new System.Drawing.Size(232, 20);
this.textBox2.TabIndex = 6;
this.textBox2.Text = "";
this.addGrandButton.Location = new System.Drawing.Point(8, 96);
this.addGrandButton.Size = new System.Drawing.Size(280, 23);
this.addGrandButton.TabIndex = 2;
this.addGrandButton.Text = "Add 1,000 Items";
this.addGrandButton.Click += new System.EventHandler(this.addGrandButton_Click);
this.comboBox1.Anchor = ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right);
this.comboBox1.DropDownWidth = 280;
this.comboBox1.Items.AddRange(new object[] {"Item 1",
"Item 2",
"Item 3",
"Item 4",
"Item 5"});
this.comboBox1.Location = new System.Drawing.Point(8, 248);
this.comboBox1.Size = new System.Drawing.Size(280, 21);
this.comboBox1.TabIndex = 7;
this.showSelectedButton.Location = new System.Drawing.Point(8, 128);
this.showSelectedButton.Size = new System.Drawing.Size(280, 24);
this.showSelectedButton.TabIndex = 4;
this.showSelectedButton.Text = "What Item is Selected?";
this.showSelectedButton.Click += new System.EventHandler(this.showSelectedButton_Click);
this.textBox1.Location = new System.Drawing.Point(8, 32);
this.textBox1.Size = new System.Drawing.Size(232, 20);
this.textBox1.TabIndex = 5;
this.textBox1.Text = "";
this.findButton.Location = new System.Drawing.Point(248, 64);
this.findButton.Size = new System.Drawing.Size(40, 24);
this.findButton.TabIndex = 3;
this.findButton.Text = "Find";
this.findButton.Click += new System.EventHandler(this.findButton_Click);
this.label1.Location = new System.Drawing.Point(8, 224);
this.label1.Size = new System.Drawing.Size(144, 23);
this.label1.TabIndex = 0;
this.label1.Text = "Test ComboBox";
this.ClientSize = new System.Drawing.Size(292, 273);
this.Controls.AddRange(new System.Windows.Forms.Control[] {this.comboBox1,
this.textBox2,
this.textBox1,
this.showSelectedButton,
this.findButton,
this.addGrandButton,
this.addButton,
this.label1});
this.Text = "ComboBox Sample";
}
private void addButton_Click(object sender, System.EventArgs e) {
comboBox1.Items.Add(textBox1.Text);
}
private void addGrandButton_Click(object sender, System.EventArgs e) {
comboBox1.BeginUpdate();
for (int i = 0; i < 1000; i++) {
comboBox1.Items.Add("Item 1" + i.ToString());
}
comboBox1.EndUpdate();
}
private void findButton_Click(object sender, System.EventArgs e) {
int index = comboBox1.FindString(textBox2.Text);
comboBox1.SelectedIndex = index;
}
private void showSelectedButton_Click(object sender, System.EventArgs e) {
int selectedIndex = comboBox1.SelectedIndex;
Object selectedItem = comboBox1.SelectedItem;
MessageBox.Show("Selected Item Text: " + selectedItem.ToString() + "\n" +
"Index: " + selectedIndex.ToString());
}
}
}
Imports System.Windows.Forms
Namespace ComboBoxSampleNamespace
Public Class ComboBoxSample
Inherits System.Windows.Forms.Form
Private addButton As System.Windows.Forms.Button
Private textBox2 As System.Windows.Forms.TextBox
Private addGrandButton As System.Windows.Forms.Button
Private comboBox1 As System.Windows.Forms.ComboBox
Private showSelectedButton As System.Windows.Forms.Button
Private textBox1 As System.Windows.Forms.TextBox
Private findButton As System.Windows.Forms.Button
Private label1 As System.Windows.Forms.Label
Public Sub New()
MyBase.New()
Me.InitializeComponent()
End Sub
<System.STAThreadAttribute()> Public Shared Sub Main()
System.Windows.Forms.Application.Run(New ComboBoxSample())
End Sub
Private Sub InitializeComponent()
Me.addButton = New System.Windows.Forms.Button()
Me.textBox2 = New System.Windows.Forms.TextBox()
Me.addGrandButton = New System.Windows.Forms.Button()
Me.comboBox1 = New System.Windows.Forms.ComboBox()
Me.showSelectedButton = New System.Windows.Forms.Button()
Me.textBox1 = New System.Windows.Forms.TextBox()
Me.findButton = New System.Windows.Forms.Button()
Me.label1 = New System.Windows.Forms.Label()
Me.addButton.Location = New System.Drawing.Point(248, 32)
Me.addButton.Size = New System.Drawing.Size(40, 24)
Me.addButton.TabIndex = 1
Me.addButton.Text = "Add"
AddHandler Me.addButton.Click, AddressOf Me.addButton_Click
Me.textBox2.Location = New System.Drawing.Point(8, 64)
Me.textBox2.Size = New System.Drawing.Size(232, 20)
Me.textBox2.TabIndex = 6
Me.textBox2.Text = ""
Me.addGrandButton.Location = New System.Drawing.Point(8, 96)
Me.addGrandButton.Size = New System.Drawing.Size(280, 23)
Me.addGrandButton.TabIndex = 2
Me.addGrandButton.Text = "Add 1,000 Items"
AddHandler Me.addGrandButton.Click, AddressOf Me.addGrandButton_Click
Me.comboBox1.Anchor = ((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left) _
Or System.Windows.Forms.AnchorStyles.Right)
Me.comboBox1.DropDownWidth = 280
Me.comboBox1.Items.AddRange(New Object() {"Item 1", "Item 2", "Item 3", "Item 4", "Item 5"})
Me.comboBox1.Location = New System.Drawing.Point(8, 248)
Me.comboBox1.Size = New System.Drawing.Size(280, 21)
Me.comboBox1.TabIndex = 7
Me.showSelectedButton.Location = New System.Drawing.Point(8, 128)
Me.showSelectedButton.Size = New System.Drawing.Size(280, 24)
Me.showSelectedButton.TabIndex = 4
Me.showSelectedButton.Text = "What Item is Selected?"
AddHandler Me.showSelectedButton.Click, AddressOf Me.showSelectedButton_Click
Me.textBox1.Location = New System.Drawing.Point(8, 32)
Me.textBox1.Size = New System.Drawing.Size(232, 20)
Me.textBox1.TabIndex = 5
Me.textBox1.Text = ""
Me.findButton.Location = New System.Drawing.Point(248, 64)
Me.findButton.Size = New System.Drawing.Size(40, 24)
Me.findButton.TabIndex = 3
Me.findButton.Text = "Find"
AddHandler Me.findButton.Click, AddressOf Me.findButton_Click
Me.label1.Location = New System.Drawing.Point(8, 224)
Me.label1.Size = New System.Drawing.Size(144, 23)
Me.label1.TabIndex = 0
Me.label1.Text = "Test ComboBox"
Me.ClientSize = New System.Drawing.Size(292, 273)
Me.Controls.AddRange(New System.Windows.Forms.Control() {Me.comboBox1, Me.textBox2, Me.textBox1, Me.showSelectedButton, Me.findButton, Me.addGrandButton, Me.addButton, Me.label1})
Me.Text = "ComboBox Sample"
End Sub
Private Sub addButton_Click(ByVal sender As Object, ByVal e As System.EventArgs)
comboBox1.Items.Add(textBox1.Text)
End Sub
Private Sub findButton_Click(ByVal sender As Object, ByVal e As System.EventArgs)
Dim index As Integer
index = comboBox1.FindString(textBox2.Text)
comboBox1.SelectedIndex = index
End Sub
Private Sub addGrandButton_Click(ByVal sender As Object, ByVal e As System.EventArgs)
comboBox1.BeginUpdate()
Dim I As Integer
For I = 0 To 1000
comboBox1.Items.Add("Item 1" + i.ToString())
Next
comboBox1.EndUpdate()
End Sub
Private Sub showSelectedButton_Click(ByVal sender As Object, ByVal e As System.EventArgs)
Dim selectedIndex As Integer
selectedIndex = comboBox1.SelectedIndex
Dim selectedItem As Object
selectedItem = comboBox1.SelectedItem
MessageBox.Show("Selected Item Text: " & selectedItem.ToString() & Microsoft.VisualBasic.Constants.vbCrLf & _
"Index: " & selectedIndex.ToString())
End Sub
End Class
End Namespace
설명
ComboBox 사용자가 목록에서 항목을 선택하거나 새 값을 입력할 수 있는 텍스트 상자와 ListBox결합된 텍스트 상자를 표시합니다.
이 속성은 DropDownStyle 목록이 항상 표시되는지 또는 목록이 드롭다운에 표시되는지 여부를 지정합니다. 이 속성은 DropDownStyle 텍스트 부분을 편집할 수 있는지 여부도 지정합니다. 사용 가능한 설정 및 해당 효과를 참조 ComboBoxStyle 하세요. 항상 목록을 표시하고 새 값을 입력할 수 없도록 설정하는 설정은 없습니다. 새 값을 추가할 수 없는 목록을 표시하려면 컨트롤을 ListBox 사용합니다.
런타임에 목록에서 개체를 추가하거나 제거하려면 클래스의 ComboBox.ObjectCollection 메서드를 사용합니다(해당 ComboBox속성을 통해Items). 메서드를 사용하여 개체 참조 배열을 할당할 AddRange 수 있습니다. 그런 다음 목록에 각 개체의 기본 문자열 값이 표시됩니다. 메서드를 사용하여 개별 개체를 Add 추가할 수 있습니다. 메서드를 사용하여 항목을 삭제하거나 메서드를 Remove 사용하여 전체 목록을 Clear 지울 수 있습니다.
표시 및 선택 기능 ComboBox 외에도 항목을 효율적으로 추가하고 목록의 항목 ComboBox 내에서 텍스트를 찾을 수 있는 기능도 제공합니다. 및 EndUpdate 메서드를 BeginUpdate 사용하면 항목 ComboBox 이 목록에 추가될 때마다 컨트롤을 다시 칠하지 않고 많은 수의 항목을 추가할 수 있습니다. 및 FindStringFindStringExact 메서드를 사용하면 특정 검색 문자열이 포함된 목록에서 항목을 검색할 수 있습니다.
이러한 속성을 사용하여 목록에서 현재 선택한 항목, Text 편집 필드에 표시되는 문자열을 지정하는 속성, SelectedIndex 현재 항목을 얻거나 설정할 속성, SelectedItem 개체에 대한 참조를 얻거나 설정할 속성을 관리할 수 있습니다.
메모
또는 기본 Windows Forms 페이지에 파생된 형식으로 해당 컨트롤의 문자열 컬렉션을 수정하려는 경우 ListBoxComboBoxCheckedListBox 기본 폼에서 해당 컨트롤의 문자열 컬렉션은 비어 있어야 합니다. 문자열 컬렉션이 비어 있지 않으면 다른 폼을 파생할 때 읽기 전용이 됩니다.
생성자
| Name | Description |
|---|---|
| ComboBox() |
ComboBox 클래스의 새 인스턴스를 초기화합니다. |
속성
| Name | Description |
|---|---|
| AccessibilityObject |
컨트롤에 AccessibleObject 할당된 값을 가져옵니다. (다음에서 상속됨 Control) |
| AccessibleDefaultActionDescription |
접근성 클라이언트 애플리케이션에서 사용할 컨트롤의 기본 작업 설명을 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| AccessibleDescription |
접근성 클라이언트 애플리케이션에서 사용하는 컨트롤에 대한 설명을 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| AccessibleName |
접근성 클라이언트 애플리케이션에서 사용하는 컨트롤의 이름을 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| AccessibleRole |
컨트롤의 액세스 가능한 역할을 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| AllowDrop |
컨트롤이 사용자가 끌어온 데이터를 허용할 수 있는지 여부를 나타내는 값을 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| AllowSelection |
목록에서 목록 항목을 선택할 수 있는지 여부를 나타내는 값을 가져옵니다. (다음에서 상속됨 ListControl) |
| Anchor |
컨트롤이 바인딩되는 컨테이너의 가장자리를 가져오거나 설정하며 컨트롤의 크기를 부모로 조정하는 방법을 결정합니다. (다음에서 상속됨 Control) |
| AutoCompleteCustomSource |
속성이 .로 설정된 |
| AutoCompleteMode |
자동 완성의 작동 ComboBox방식을 제어하는 옵션을 가져오거나 설정합니다. |
| AutoCompleteSource |
자동 완성에 사용되는 전체 문자열의 원본을 지정하는 값을 가져오거나 설정합니다. |
| AutoScrollOffset |
이 컨트롤이 스크롤 ScrollControlIntoView(Control)되는 위치를 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| AutoSize |
이 속성은 이 클래스와 관련이 없습니다. (다음에서 상속됨 Control) |
| BackColor |
컨트롤의 배경색을 가져오거나 설정합니다. |
| BackgroundImage |
이 속성은 이 클래스와 관련이 없습니다. |
| BackgroundImageLayout |
열거형에 정의된 배경 이미지 레이아웃을 ImageLayout 가져오거나 설정합니다. |
| BindingContext |
컨트롤의 값을 BindingContext 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| Bottom |
컨트롤의 아래쪽 가장자리와 컨테이너 클라이언트 영역의 위쪽 가장자리 사이의 거리를 픽셀 단위로 가져옵니다. (다음에서 상속됨 Control) |
| Bounds |
부모 컨트롤을 기준으로 비클라이언트 요소를 포함하여 컨트롤의 크기와 위치를 픽셀 단위로 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| CanEnableIme |
IME 지원을 사용하도록 설정하기 위해 속성을 활성 값으로 설정할 수 있는지 여부를 ImeMode 나타내는 값을 가져옵니다. (다음에서 상속됨 Control) |
| CanFocus |
컨트롤이 포커스를 받을 수 있는지 여부를 나타내는 값을 가져옵니다. (다음에서 상속됨 Control) |
| CanRaiseEvents |
컨트롤에서 이벤트가 발생할 수 있는지 여부를 결정합니다. (다음에서 상속됨 Control) |
| CanSelect |
컨트롤을 선택할 수 있는지 여부를 나타내는 값을 가져옵니다. (다음에서 상속됨 Control) |
| Capture |
컨트롤이 마우스를 캡처했는지 여부를 나타내는 값을 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| CausesValidation |
컨트롤이 포커스를 받을 때 유효성 검사가 필요한 컨트롤에서 유효성 검사를 수행할지 여부를 나타내는 값을 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| ClientRectangle |
컨트롤의 클라이언트 영역을 나타내는 사각형을 가져옵니다. (다음에서 상속됨 Control) |
| ClientSize |
컨트롤의 클라이언트 영역 높이와 너비를 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| CompanyName |
컨트롤을 포함하는 애플리케이션의 회사 또는 작성자의 이름을 가져옵니다. (다음에서 상속됨 Control) |
| Container |
를 IContainer 포함하는 값을 가져옵니다 Component. (다음에서 상속됨 Component) |
| ContainsFocus |
컨트롤 또는 해당 자식 컨트롤 중 하나에 현재 입력 포커스가 있는지 여부를 나타내는 값을 가져옵니다. (다음에서 상속됨 Control) |
| ContextMenu |
사용되지 않음.
컨트롤과 연결된 바로 가기 메뉴를 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| ContextMenuStrip |
이 컨트롤과 연결된 값을 ContextMenuStrip 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| Controls |
컨트롤 내에 포함된 컨트롤의 컬렉션을 가져옵니다. (다음에서 상속됨 Control) |
| Created |
컨트롤이 만들어졌는지 여부를 나타내는 값을 가져옵니다. (다음에서 상속됨 Control) |
| CreateParams |
컨트롤 핸들을 만들 때 필요한 생성 매개 변수를 가져옵니다. |
| Cursor |
마우스 포인터가 컨트롤 위에 있을 때 표시되는 커서를 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| DataBindings |
컨트롤의 데이터 바인딩을 가져옵니다. (다음에서 상속됨 Control) |
| DataContext |
데이터 바인딩을 위해 데이터 컨텍스트를 가져오거나 설정합니다. 앰비언트 속성입니다. (다음에서 상속됨 Control) |
| DataManager |
CurrencyManager 이 컨트롤과 연결된 컨트롤을 가져옵니다. (다음에서 상속됨 ListControl) |
| DataSource |
이에 ComboBox대한 데이터 원본을 가져오거나 설정합니다. |
| DataSource |
이에 ListControl대한 데이터 원본을 가져오거나 설정합니다. (다음에서 상속됨 ListControl) |
| DefaultCursor |
컨트롤의 기본 커서를 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| DefaultImeMode |
컨트롤에서 지원하는 기본 IME(입력 메서드 편집기) 모드를 가져옵니다. (다음에서 상속됨 Control) |
| DefaultMargin |
컨트롤 간에 기본적으로 지정된 공간을 픽셀 단위로 가져옵니다. (다음에서 상속됨 Control) |
| DefaultMaximumSize |
컨트롤의 기본 최대 크기로 지정된 길이와 높이(픽셀)를 가져옵니다. (다음에서 상속됨 Control) |
| DefaultMinimumSize |
컨트롤의 기본 최소 크기로 지정된 길이와 높이(픽셀)를 가져옵니다. (다음에서 상속됨 Control) |
| DefaultPadding |
컨트롤 내용의 기본 내부 간격(픽셀)을 가져옵니다. (다음에서 상속됨 Control) |
| DefaultSize |
컨트롤의 기본 크기를 가져옵니다. |
| DesignMode |
현재 디자인 모드인지 여부를 Component 나타내는 값을 가져옵니다. (다음에서 상속됨 Component) |
| DeviceDpi |
컨트롤이 현재 표시되는 디스플레이 디바이스의 DPI 값을 가져옵니다. (다음에서 상속됨 Control) |
| DisplayMember |
이 ListControl속성에 대해 표시할 속성을 가져오거나 설정합니다. (다음에서 상속됨 ListControl) |
| DisplayRectangle |
컨트롤의 표시 영역을 나타내는 사각형을 가져옵니다. (다음에서 상속됨 Control) |
| Disposing |
기본 Control 클래스가 삭제 중인지 여부를 나타내는 값을 가져옵니다. (다음에서 상속됨 Control) |
| Dock |
부모 컨트롤에 도킹되는 컨트롤 테두리를 가져오거나 설정하며 컨트롤의 크기를 부모 컨트롤과 함께 조정하는 방법을 결정합니다. (다음에서 상속됨 Control) |
| DoubleBuffered |
이 컨트롤이 깜박임을 줄이거나 방지하기 위해 보조 버퍼를 사용하여 표면을 다시 그릴지 여부를 나타내는 값을 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| DrawMode |
코드 또는 운영 체제가 목록의 요소 그리기를 처리할지 여부를 나타내는 값을 가져오거나 설정합니다. |
| DropDownHeight |
의 드롭다운 부분 ComboBox의 높이를 픽셀 단위로 가져오거나 설정합니다. |
| DropDownStyle |
콤보 상자의 스타일을 지정하는 값을 가져오거나 설정합니다. |
| DropDownWidth |
콤보 상자의 드롭다운 부분 너비를 가져오거나 설정합니다. |
| DroppedDown |
콤보 상자에 드롭다운 부분이 표시되는지 여부를 나타내는 값을 가져오거나 설정합니다. |
| Enabled |
컨트롤이 사용자 상호 작용에 응답할 수 있는지 여부를 나타내는 값을 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| Events |
이 Component에 연결된 이벤트 처리기 목록을 가져옵니다. (다음에서 상속됨 Component) |
| FlatStyle |
의 모양을 ComboBox가져오거나 설정합니다. |
| Focused |
포커스가 있는지 여부를 ComboBox 나타내는 값을 가져옵니다. |
| Font |
컨트롤에 표시되는 텍스트의 글꼴을 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| FontHeight |
컨트롤 글꼴의 높이를 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| ForeColor |
컨트롤의 전경색을 가져오거나 설정합니다. |
| FormatInfo |
사용자 지정 서식 동작을 IFormatProvider 제공하는 값을 가져오거나 설정합니다. (다음에서 상속됨 ListControl) |
| FormatString |
값을 표시하는 방법을 나타내는 서식 지정자 문자를 가져오거나 설정합니다. (다음에서 상속됨 ListControl) |
| FormattingEnabled |
의 속성ListControl에 서식이 적용되는 DisplayMember 지 여부를 나타내는 값을 가져오거나 설정합니다. (다음에서 상속됨 ListControl) |
| Handle |
컨트롤이 바인딩된 창 핸들을 가져옵니다. (다음에서 상속됨 Control) |
| HasChildren |
컨트롤에 하나 이상의 자식 컨트롤이 포함되어 있는지 여부를 나타내는 값을 가져옵니다. (다음에서 상속됨 Control) |
| Height |
컨트롤의 높이를 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| ImeMode |
컨트롤의 IME(입력 메서드 편집기) 모드를 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| ImeModeBase |
컨트롤의 IME 모드를 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| IntegralHeight |
부분 항목이 표시되지 않도록 컨트롤의 크기를 조정해야 하는지 여부를 나타내는 값을 가져오거나 설정합니다. |
| InvokeRequired |
호출자가 컨트롤을 만든 스레드와 다른 스레드에 있으므로 호출자가 컨트롤에 메서드를 호출할 때 호출자가 호출 메서드를 호출해야 하는지 여부를 나타내는 값을 가져옵니다. (다음에서 상속됨 Control) |
| IsAccessible |
컨트롤이 접근성 애플리케이션에 표시되는지 여부를 나타내는 값을 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| IsAncestorSiteInDesignMode |
이 컨트롤의 상위 항목 중 하나가 배치되고 DesignMode에 해당 사이트가 있는지 나타냅니다. 이 속성은 읽기 전용입니다. (다음에서 상속됨 Control) |
| IsDisposed |
컨트롤이 삭제되었는지 여부를 나타내는 값을 가져옵니다. (다음에서 상속됨 Control) |
| IsHandleCreated |
컨트롤에 연결된 핸들이 있는지 여부를 나타내는 값을 가져옵니다. (다음에서 상속됨 Control) |
| IsMirrored |
컨트롤이 미러링되는지 여부를 나타내는 값을 가져옵니다. (다음에서 상속됨 Control) |
| ItemHeight |
콤보 상자에서 항목의 높이를 가져오거나 설정합니다. |
| Items |
이 ComboBox항목에 포함된 항목의 컬렉션을 나타내는 개체를 가져옵니다. |
| LayoutEngine |
컨트롤 레이아웃 엔진의 캐시된 인스턴스를 가져옵니다. (다음에서 상속됨 Control) |
| Left |
컨트롤의 왼쪽 가장자리와 컨테이너 클라이언트 영역의 왼쪽 가장자리 사이의 거리를 픽셀 단위로 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| Location |
컨테이너의 왼쪽 위 모퉁이를 기준으로 컨트롤의 왼쪽 위 모퉁이 좌표를 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| Margin |
컨트롤 사이의 공간을 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| MaxDropDownItems |
의 드롭다운 부분에 ComboBox표시할 최대 항목 수를 가져오거나 설정합니다. |
| MaximumSize |
메서드가 지정할 수 있는 상한 GetPreferredSize(Size) 인 크기를 가져오거나 설정합니다. |
| MaxLength |
사용자가 입력할 수 ComboBox있는 문자 수를 가져오거나 설정합니다. |
| MinimumSize |
메서드가 지정할 수 있는 하한 GetPreferredSize(Size) 인 크기를 가져오거나 설정합니다. |
| Name |
컨트롤의 이름을 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| Padding |
이 속성은 이 클래스와 관련이 없습니다. |
| Parent |
컨트롤의 부모 컨테이너를 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| PreferredHeight |
기본 설정 높이를 ComboBox가져옵니다. |
| PreferredSize |
컨트롤이 맞을 수 있는 사각형 영역의 크기를 가져옵니다. (다음에서 상속됨 Control) |
| ProductName |
컨트롤을 포함하는 어셈블리의 제품 이름을 가져옵니다. (다음에서 상속됨 Control) |
| ProductVersion |
컨트롤을 포함하는 어셈블리의 버전을 가져옵니다. (다음에서 상속됨 Control) |
| RecreatingHandle |
컨트롤이 현재 해당 핸들을 다시 만들고 있는지 여부를 나타내는 값을 가져옵니다. (다음에서 상속됨 Control) |
| Region |
컨트롤과 연결된 창 영역을 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| RenderRightToLeft |
사용되지 않음.
사용되지 않음.
이 속성은 이제 사용되지 않습니다. (다음에서 상속됨 Control) |
| ResizeRedraw |
크기가 조정될 때 컨트롤 자체를 다시 그릴지 여부를 나타내는 값을 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| Right |
컨트롤의 오른쪽 가장자리와 컨테이너 클라이언트 영역의 왼쪽 가장자리 사이의 거리를 픽셀 단위로 가져옵니다. (다음에서 상속됨 Control) |
| RightToLeft |
컨트롤의 요소가 오른쪽에서 왼쪽 글꼴을 사용하여 로캘을 지원하도록 정렬되는지 여부를 나타내는 값을 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| ScaleChildren |
자식 컨트롤의 크기를 결정하는 값을 가져옵니다. (다음에서 상속됨 Control) |
| SelectedIndex |
현재 선택한 항목을 지정하는 인덱스(Index)를 가져오거나 설정합니다. |
| SelectedItem |
에서 ComboBox현재 선택된 항목을 가져오거나 설정합니다. |
| SelectedText |
의 편집 가능한 부분에서 ComboBox선택된 텍스트를 가져오거나 설정합니다. |
| SelectedValue |
속성에 지정된 ValueMember 멤버 속성의 값을 가져오거나 설정합니다. (다음에서 상속됨 ListControl) |
| SelectionLength |
콤보 상자의 편집 가능한 부분에서 선택한 문자 수를 가져오거나 설정합니다. |
| SelectionStart |
콤보 상자에서 선택한 텍스트의 시작 인덱을 가져오거나 설정합니다. |
| ShowFocusCues |
컨트롤에 포커스 사각형이 표시되어야 하는지 여부를 나타내는 값을 가져옵니다. (다음에서 상속됨 Control) |
| ShowKeyboardCues |
사용자 인터페이스가 키보드 가속기를 표시하거나 숨길 적절한 상태에 있는지 여부를 나타내는 값을 가져옵니다. (다음에서 상속됨 Control) |
| Site |
컨트롤의 사이트를 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| Size |
컨트롤의 높이와 너비를 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| Sorted |
콤보 상자의 항목이 정렬되는지 여부를 나타내는 값을 가져오거나 설정합니다. |
| TabIndex |
컨테이너 내에서 컨트롤의 탭 순서를 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| TabStop |
사용자가 TAB 키를 사용하여 이 컨트롤에 포커스를 줄 수 있는지 여부를 나타내는 값을 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| Tag |
컨트롤에 대한 데이터가 들어 있는 개체를 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| Text |
이 컨트롤과 연결된 텍스트를 가져오거나 설정합니다. |
| Top |
컨트롤의 위쪽 가장자리와 컨테이너 클라이언트 영역의 위쪽 가장자리 사이의 거리를 픽셀 단위로 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| TopLevelControl |
다른 Windows Forms 컨트롤에서 부모로 설정되지 않은 부모 컨트롤을 가져옵니다. 일반적으로 컨트롤이 포함된 가장 Form 바깥쪽입니다. (다음에서 상속됨 Control) |
| UseWaitCursor |
현재 컨트롤 및 모든 자식 컨트롤에 대기 커서를 사용할지 여부를 나타내는 값을 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| ValueMember |
에 있는 ListControl항목의 실제 값으로 사용할 속성의 경로를 가져오거나 설정합니다. (다음에서 상속됨 ListControl) |
| Visible |
컨트롤과 모든 자식 컨트롤이 표시되는지 여부를 나타내는 값을 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| Width |
컨트롤의 너비를 가져오거나 설정합니다. (다음에서 상속됨 Control) |
| WindowTarget |
이 속성은 이 클래스와 관련이 없습니다. (다음에서 상속됨 Control) |
메서드
이벤트
| Name | Description |
|---|---|
| AutoSizeChanged |
이 이벤트는 이 클래스와 관련이 없습니다. (다음에서 상속됨 Control) |
| BackColorChanged |
BackColor 속성 값이 변경되면 발생합니다. (다음에서 상속됨 Control) |
| BackgroundImageChanged |
BackgroundImage 속성 값이 변경되면 발생합니다. |
| BackgroundImageLayoutChanged |
속성이 변경되면 BackgroundImageLayout 발생합니다. |
| BindingContextChanged |
BindingContext 속성 값이 변경되면 발생합니다. (다음에서 상속됨 Control) |
| CausesValidationChanged |
CausesValidation 속성 값이 변경되면 발생합니다. (다음에서 상속됨 Control) |
| ChangeUICues |
포커스 또는 키보드 UI(사용자 인터페이스) 신호가 변경되면 발생합니다. (다음에서 상속됨 Control) |
| Click |
컨트롤을 클릭할 때 발생합니다. (다음에서 상속됨 Control) |
| 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 발생합니다. (다음에서 상속됨 ListControl) |
| DisplayMemberChanged |
속성이 변경되면 DisplayMember 발생합니다. (다음에서 상속됨 ListControl) |
| Disposed |
구성 요소가 메서드 호출에 Dispose() 의해 삭제될 때 발생합니다. (다음에서 상속됨 Component) |
| DockChanged |
Dock 속성 값이 변경되면 발생합니다. (다음에서 상속됨 Control) |
| DoubleClick |
이 이벤트는 이 클래스와 관련이 없습니다. |
| DoubleClick |
컨트롤을 두 번 클릭할 때 발생합니다. (다음에서 상속됨 Control) |
| DpiChangedAfterParent |
부모 컨트롤 또는 폼의 DPI가 변경된 후 컨트롤에 대한 DPI 설정이 프로그래밍 방식으로 변경될 때 발생합니다. (다음에서 상속됨 Control) |
| DpiChangedBeforeParent |
부모 컨트롤 또는 폼에 대한 DPI 변경 이벤트가 발생하기 전에 컨트롤에 대한 DPI 설정이 프로그래밍 방식으로 변경될 때 발생합니다. (다음에서 상속됨 Control) |
| DragDrop |
끌어서 놓기 작업이 완료되면 발생합니다. (다음에서 상속됨 Control) |
| DragEnter |
개체를 컨트롤의 경계로 끌 때 발생합니다. (다음에서 상속됨 Control) |
| DragLeave |
개체를 컨트롤의 범위 밖으로 끌 때 발생합니다. (다음에서 상속됨 Control) |
| DragOver |
개체를 컨트롤의 범위 위로 끌 때 발생합니다. (다음에서 상속됨 Control) |
| DrawItem |
소유자가 그린 ComboBox 시각적 측면이 변경되면 발생합니다. |
| DropDown |
드롭다운 부분이 ComboBox 표시되면 발생합니다. |
| DropDownClosed |
드롭다운 부분이 ComboBox 더 이상 표시되지 않을 때 발생합니다. |
| DropDownStyleChanged |
속성이 DropDownStyle 변경될 때 발생합니다. |
| 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) |
| KeyDown |
컨트롤에 포커스가 있는 동안 키를 누를 때 발생합니다. (다음에서 상속됨 Control) |
| KeyPress |
컨트롤에 포커스가 있는 동안 문자, 공백 또는 백스페이스 키를 누를 때 발생합니다. (다음에서 상속됨 Control) |
| KeyUp |
컨트롤에 포커스가 있는 동안 키가 해제될 때 발생합니다. (다음에서 상속됨 Control) |
| Layout |
컨트롤이 자식 컨트롤의 위치를 변경해야 하는 경우에 발생합니다. (다음에서 상속됨 Control) |
| Leave |
입력 포커스가 컨트롤을 떠날 때 발생합니다. (다음에서 상속됨 Control) |
| LocationChanged |
Location 속성 값이 변경되면 발생합니다. (다음에서 상속됨 Control) |
| LostFocus |
컨트롤이 포커스를 잃을 때 발생합니다. (다음에서 상속됨 Control) |
| MarginChanged |
컨트롤의 여백이 변경되면 발생합니다. (다음에서 상속됨 Control) |
| MeasureItem |
소유자가 그린 항목을 그려 ComboBox 야 할 때마다 목록 항목의 크기가 결정될 때마다 발생합니다. |
| MouseCaptureChanged |
컨트롤이 마우스 캡처를 잃을 때 발생합니다. (다음에서 상속됨 Control) |
| MouseClick |
마우스로 컨트롤을 클릭할 때 발생합니다. (다음에서 상속됨 Control) |
| MouseDoubleClick |
컨트롤을 마우스로 두 번 클릭하면 발생합니다. (다음에서 상속됨 Control) |
| MouseDown |
마우스 포인터가 컨트롤 위에 있고 마우스 단추를 누를 때 발생합니다. (다음에서 상속됨 Control) |
| MouseEnter |
마우스 포인터가 컨트롤에 들어갈 때 발생합니다. (다음에서 상속됨 Control) |
| MouseHover |
마우스 포인터가 컨트롤에 놓일 때 발생합니다. (다음에서 상속됨 Control) |
| MouseLeave |
마우스 포인터가 컨트롤을 떠날 때 발생합니다. (다음에서 상속됨 Control) |
| MouseMove |
마우스 포인터를 컨트롤 위로 이동할 때 발생합니다. (다음에서 상속됨 Control) |
| MouseUp |
마우스 포인터가 컨트롤 위에 있고 마우스 단추가 놓일 때 발생합니다. (다음에서 상속됨 Control) |
| MouseWheel |
컨트롤에 포커스가 있는 동안 마우스 휠이 움직일 때 발생합니다. (다음에서 상속됨 Control) |
| Move |
컨트롤을 이동할 때 발생합니다. (다음에서 상속됨 Control) |
| PaddingChanged |
이 이벤트는 이 클래스와 관련이 없습니다. |
| Paint |
컨트롤을 ComboBox 다시 그릴 때 발생합니다. |
| ParentChanged |
속성 값이 변경되면 Parent 발생합니다. (다음에서 상속됨 Control) |
| PreviewKeyDown |
포커스가 이 컨트롤에 KeyDown 있는 동안 키를 누르면 이벤트 전에 발생합니다. (다음에서 상속됨 Control) |
| QueryAccessibilityHelp |
접근성 애플리케이션에 대한 도움말을 제공할 때 AccessibleObject 발생합니다. (다음에서 상속됨 Control) |
| QueryContinueDrag |
끌어서 놓기 작업 중에 발생하며 끌기 소스에서 끌어서 놓기 작업을 취소해야 하는지 여부를 결정할 수 있습니다. (다음에서 상속됨 Control) |
| RegionChanged |
Region 속성 값이 변경되면 발생합니다. (다음에서 상속됨 Control) |
| Resize |
컨트롤의 크기를 조정할 때 발생합니다. (다음에서 상속됨 Control) |
| RightToLeftChanged |
속성 값이 변경되면 RightToLeft 발생합니다. (다음에서 상속됨 Control) |
| SelectedIndexChanged |
속성이 SelectedIndex 변경될 때 발생합니다. |
| SelectedValueChanged |
속성이 변경되면 SelectedValue 발생합니다. (다음에서 상속됨 ListControl) |
| SelectionChangeCommitted |
사용자가 선택한 항목을 변경하고 해당 변경 내용이 에 표시될 ComboBox때 발생합니다. |
| SizeChanged |
속성 값이 변경되면 Size 발생합니다. (다음에서 상속됨 Control) |
| StyleChanged |
컨트롤 스타일이 변경되면 발생합니다. (다음에서 상속됨 Control) |
| SystemColorsChanged |
시스템 색이 변경되면 발생합니다. (다음에서 상속됨 Control) |
| TabIndexChanged |
속성 값이 변경되면 TabIndex 발생합니다. (다음에서 상속됨 Control) |
| TabStopChanged |
속성 값이 변경되면 TabStop 발생합니다. (다음에서 상속됨 Control) |
| TextChanged |
속성 값이 변경되면 Text 발생합니다. (다음에서 상속됨 Control) |
| TextUpdate |
컨트롤이 텍스트의 서식을 지정했지만 텍스트가 표시되기 전에 발생합니다. |
| Validated |
컨트롤의 유효성 검사가 완료되면 발생합니다. (다음에서 상속됨 Control) |
| Validating |
컨트롤의 유효성을 검사할 때 발생합니다. (다음에서 상속됨 Control) |
| ValueMemberChanged |
속성이 변경되면 ValueMember 발생합니다. (다음에서 상속됨 ListControl) |
| 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) |