ToolStripControlHost 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
사용자 지정 컨트롤 또는 Windows Forms 컨트롤을 호스트합니다.
public ref class ToolStripControlHost : System::Windows::Forms::ToolStripItem
public class ToolStripControlHost : System.Windows.Forms.ToolStripItem
type ToolStripControlHost = class
inherit ToolStripItem
Public Class ToolStripControlHost
Inherits ToolStripItem
- 상속
- 상속
- 파생
예제
다음 코드 예제에서는 컨트롤을 ToolStripControlHostMonthCalendar 사용하여 구성하고, OnSubscribeControlEvents 이벤트를 처리하고, 일부 멤버를 해당 멤버에 노출하는 방법을 ToolStripControlHost보여 줍니다.
//Declare a class that inherits from ToolStripControlHost.
public ref class ToolStripMonthCalendar: public ToolStripControlHost
{
public:
// Call the base constructor passing in a MonthCalendar instance.
ToolStripMonthCalendar() : ToolStripControlHost( gcnew MonthCalendar ) {}
property MonthCalendar^ MonthCalendarControl
{
MonthCalendar^ get()
{
return static_cast<MonthCalendar^>(Control);
}
}
property Day FirstDayOfWeek
{
// Expose the MonthCalendar.FirstDayOfWeek as a property.
Day get()
{
return MonthCalendarControl->FirstDayOfWeek;
}
void set( Day value )
{
MonthCalendarControl->FirstDayOfWeek = value;
}
}
// Expose the AddBoldedDate method.
void AddBoldedDate( DateTime dateToBold )
{
MonthCalendarControl->AddBoldedDate( dateToBold );
}
protected:
// Subscribe and unsubscribe the control events you wish to expose.
void OnSubscribeControlEvents( System::Windows::Forms::Control^ c )
{
// Call the base so the base events are connected.
__super::OnSubscribeControlEvents( c );
// Cast the control to a MonthCalendar control.
MonthCalendar^ monthCalendarControl = (MonthCalendar^)c;
// Add the event.
monthCalendarControl->DateChanged += gcnew DateRangeEventHandler( this, &ToolStripMonthCalendar::HandleDateChanged );
}
void OnUnsubscribeControlEvents( System::Windows::Forms::Control^ c )
{
// Call the base method so the basic events are unsubscribed.
__super::OnUnsubscribeControlEvents( c );
// Cast the control to a MonthCalendar control.
MonthCalendar^ monthCalendarControl = (MonthCalendar^)c;
// Remove the event.
monthCalendarControl->DateChanged -= gcnew DateRangeEventHandler( this, &ToolStripMonthCalendar::HandleDateChanged );
}
public:
event DateRangeEventHandler^ DateChanged;
private:
// Declare the DateChanged event.
// Raise the DateChanged event.
void HandleDateChanged( Object^ sender, DateRangeEventArgs^ e )
{
if ( DateChanged != nullptr )
{
DateChanged( this, e );
}
}
};
//Declare a class that inherits from ToolStripControlHost.
public class ToolStripMonthCalendar : ToolStripControlHost
{
// Call the base constructor passing in a MonthCalendar instance.
public ToolStripMonthCalendar() : base (new MonthCalendar()) { }
public MonthCalendar MonthCalendarControl
{
get
{
return Control as MonthCalendar;
}
}
// Expose the MonthCalendar.FirstDayOfWeek as a property.
public Day FirstDayOfWeek
{
get
{
return MonthCalendarControl.FirstDayOfWeek;
}
set { MonthCalendarControl.FirstDayOfWeek = value; }
}
// Expose the AddBoldedDate method.
public void AddBoldedDate(DateTime dateToBold)
{
MonthCalendarControl.AddBoldedDate(dateToBold);
}
// Subscribe and unsubscribe the control events you wish to expose.
protected override void OnSubscribeControlEvents(Control c)
{
// Call the base so the base events are connected.
base.OnSubscribeControlEvents(c);
// Cast the control to a MonthCalendar control.
MonthCalendar monthCalendarControl = (MonthCalendar) c;
// Add the event.
monthCalendarControl.DateChanged +=
new DateRangeEventHandler(OnDateChanged);
}
protected override void OnUnsubscribeControlEvents(Control c)
{
// Call the base method so the basic events are unsubscribed.
base.OnUnsubscribeControlEvents(c);
// Cast the control to a MonthCalendar control.
MonthCalendar monthCalendarControl = (MonthCalendar) c;
// Remove the event.
monthCalendarControl.DateChanged -=
new DateRangeEventHandler(OnDateChanged);
}
// Declare the DateChanged event.
public event DateRangeEventHandler DateChanged;
// Raise the DateChanged event.
private void OnDateChanged(object sender, DateRangeEventArgs e)
{
if (DateChanged != null)
{
DateChanged(this, e);
}
}
}
'Declare a class that inherits from ToolStripControlHost.
Public Class ToolStripMonthCalendar
Inherits ToolStripControlHost
' Call the base constructor passing in a MonthCalendar instance.
Public Sub New()
MyBase.New(New MonthCalendar())
End Sub
Public ReadOnly Property MonthCalendarControl() As MonthCalendar
Get
Return CType(Control, MonthCalendar)
End Get
End Property
' Expose the MonthCalendar.FirstDayOfWeek as a property.
Public Property FirstDayOfWeek() As Day
Get
Return MonthCalendarControl.FirstDayOfWeek
End Get
Set
MonthCalendarControl.FirstDayOfWeek = value
End Set
End Property
' Expose the AddBoldedDate method.
Public Sub AddBoldedDate(ByVal dateToBold As DateTime)
MonthCalendarControl.AddBoldedDate(dateToBold)
End Sub
' Subscribe and unsubscribe the control events you wish to expose.
Protected Overrides Sub OnSubscribeControlEvents(ByVal c As Control)
' Call the base so the base events are connected.
MyBase.OnSubscribeControlEvents(c)
' Cast the control to a MonthCalendar control.
Dim monthCalendarControl As MonthCalendar = _
CType(c, MonthCalendar)
' Add the event.
AddHandler monthCalendarControl.DateChanged, _
AddressOf HandleDateChanged
End Sub
Protected Overrides Sub OnUnsubscribeControlEvents(ByVal c As Control)
' Call the base method so the basic events are unsubscribed.
MyBase.OnUnsubscribeControlEvents(c)
' Cast the control to a MonthCalendar control.
Dim monthCalendarControl As MonthCalendar = _
CType(c, MonthCalendar)
' Remove the event.
RemoveHandler monthCalendarControl.DateChanged, _
AddressOf HandleDateChanged
End Sub
' Declare the DateChanged event.
Public Event DateChanged As DateRangeEventHandler
' Raise the DateChanged event.
Private Sub HandleDateChanged(ByVal sender As Object, _
ByVal e As DateRangeEventArgs)
RaiseEvent DateChanged(Me, e)
End Sub
End Class
설명
ToolStripControlHost는 , ToolStripComboBox및 ToolStripTextBox.의 ToolStripProgressBar기본 클래스입니다. ToolStripControlHost 는 다음 두 가지 방법으로 사용자 지정 컨트롤을 포함한 다른 컨트롤을 호스트할 수 있습니다.
ToolStripControlHost 에서 파생되는 클래스를 사용하여 생성합니다Control. 호스트된 컨트롤 및 속성에 완전히 액세스하려면 속성을 나타내는 실제 클래스로 다시 캐스팅 Control 해야 합니다.
확장 ToolStripControlHost및 상속된 클래스의 매개 변수 없는 생성자에서 파생되는 클래스를 전달하는 기본 클래스 생성자를 호출합니다 Control. 이 옵션을 사용하면 공통 컨트롤 메서드 및 속성을 래핑하여 쉽게 액세스할 수 있습니다 ToolStrip.
클래스를 ToolStripControlHost 사용하여 사용자 지정된 컨트롤 또는 다른 Windows Forms 컨트롤을 호스트합니다.
사용자 지정하려면 사용자 지정 ToolStripItem구현에서 ToolStripControlHost 파생하고 만듭니다. 호스트된 컨트롤에서 발생하는 이벤트를 처리하는 것과 같은 OnSubscribeControlEvents 메서드를 재정의할 수 있으며, 사용자 지정 기능을 속성에 추가하여 호스트된 컨트롤을 향상시킬 수 있습니다.
생성자
| Name | Description |
|---|---|
| ToolStripControlHost(Control, String) |
지정된 컨트롤을 호스트하고 지정된 이름을 가진 클래스의 ToolStripControlHost 새 인스턴스를 초기화합니다. |
| ToolStripControlHost(Control) |
지정된 컨트롤을 호스트하는 클래스의 ToolStripControlHost 새 인스턴스를 초기화합니다. |
속성
| Name | Description |
|---|---|
| AccessibilityObject |
컨트롤에 AccessibleObject 할당된 값을 가져옵니다. (다음에서 상속됨 ToolStripItem) |
| AccessibleDefaultActionDescription |
접근성 클라이언트 애플리케이션에서 사용할 컨트롤의 기본 작업 설명을 가져오거나 설정합니다. (다음에서 상속됨 ToolStripItem) |
| AccessibleDescription |
접근성 클라이언트 애플리케이션에 보고될 설명을 가져오거나 설정합니다. (다음에서 상속됨 ToolStripItem) |
| AccessibleName |
접근성 클라이언트 애플리케이션에서 사용할 컨트롤의 이름을 가져오거나 설정합니다. (다음에서 상속됨 ToolStripItem) |
| AccessibleRole |
컨트롤의 사용자 인터페이스 요소 유형을 지정하는 액세스 가능한 컨트롤 역할을 가져오거나 설정합니다. (다음에서 상속됨 ToolStripItem) |
| Alignment |
항목이 시작 또는 끝에 ToolStrip맞춰지는지 여부를 나타내는 값을 가져오거나 설정합니다. (다음에서 상속됨 ToolStripItem) |
| AllowDrop |
끌어서 놓기 및 항목 다시 정렬이 구현하는 이벤트를 통해 처리되는지 여부를 나타내는 값을 가져오거나 설정합니다. (다음에서 상속됨 ToolStripItem) |
| Anchor |
바인딩된 ToolStripItem 컨테이너의 가장자리를 가져오거나 설정하며 부모로 크기를 조정하는 방법을 ToolStripItem 결정합니다. (다음에서 상속됨 ToolStripItem) |
| AutoSize |
항목의 크기가 자동으로 조정되는지 여부를 나타내는 값을 가져오거나 설정합니다. (다음에서 상속됨 ToolStripItem) |
| AutoToolTip |
도구 설명의 속성 또는 속성을 ToolStripItem 사용할 Text 지 여부를 나타내는 값을 가져오거나 ToolTipText 설정합니다. (다음에서 상속됨 ToolStripItem) |
| Available |
에 배치ToolStrip해야 하는지 여부를 ToolStripItem 나타내는 값을 가져오거나 설정합니다. (다음에서 상속됨 ToolStripItem) |
| BackColor |
컨트롤의 배경색을 가져오거나 설정합니다. |
| BackgroundImage |
컨트롤에 표시되는 배경 이미지를 가져오거나 설정합니다. |
| BackgroundImageLayout |
열거형에 정의된 배경 이미지 레이아웃을 |
| BindingContext |
에 대한 IBindableComponent통화 관리자 컬렉션을 가져오거나 설정합니다. (다음에서 상속됨 BindableComponent) |
| Bounds |
항목의 크기와 위치를 가져옵니다. (다음에서 상속됨 ToolStripItem) |
| CanRaiseEvents |
구성 요소가 이벤트를 발생시키는지 여부를 나타내는 값을 가져옵니다. (다음에서 상속됨 Component) |
| CanSelect |
컨트롤을 선택할 수 있는지 여부를 나타내는 값을 가져옵니다. |
| CausesValidation |
호스트된 컨트롤이 포커스를 받을 때 다른 컨트롤에서 유효성 검사 이벤트를 발생시키고 발생시키는지 여부를 나타내는 값을 가져오거나 설정합니다. |
| Command |
ToolStripItem의 Click 이벤트가 호출될 때 호출할 메서드를 가져오거나 설정합니다.ICommandExecute(Object) (다음에서 상속됨 ToolStripItem) |
| CommandParameter |
속성에 할당된 매개 변수에 ICommand 전달되는 매개 변수를 Command 가져오거나 설정합니다. (다음에서 상속됨 ToolStripItem) |
| Container |
를 IContainer 포함하는 값을 가져옵니다 Component. (다음에서 상속됨 Component) |
| ContentRectangle |
텍스트 및 아이콘과 같은 콘텐츠를 배경 테두리를 덮어쓰지 않고 배치할 수 있는 ToolStripItem 영역을 가져옵니다. (다음에서 상속됨 ToolStripItem) |
| Control |
호스팅 ToolStripControlHost 하는 Control 것을 가져옵니다. |
| ControlAlign |
폼에서 컨트롤의 맞춤을 가져오거나 설정합니다. |
| DataBindings |
이에 IBindableComponent대한 데이터 바인딩 개체의 컬렉션을 가져옵니다. (다음에서 상속됨 BindableComponent) |
| DefaultAutoToolTip |
기본값으로 정의된 값을 표시 ToolTip 할지 여부를 나타내는 값을 가져옵니다. (다음에서 상속됨 ToolStripItem) |
| DefaultDisplayStyle |
에 ToolStripItem표시되는 내용을 나타내는 값을 가져옵니다. (다음에서 상속됨 ToolStripItem) |
| DefaultMargin |
항목의 기본 여백을 가져옵니다. (다음에서 상속됨 ToolStripItem) |
| DefaultPadding |
항목의 내부 간격 특성을 가져옵니다. (다음에서 상속됨 ToolStripItem) |
| DefaultSize |
컨트롤의 기본 크기를 가져옵니다. |
| DesignMode |
현재 디자인 모드인지 여부를 Component 나타내는 값을 가져옵니다. (다음에서 상속됨 Component) |
| DismissWhenClicked |
항목을 클릭한 후 숨길지 여부를 ToolStripDropDown 나타내는 값을 가져옵니다. (다음에서 상속됨 ToolStripItem) |
| DisplayStyle |
이 속성은 이 클래스와 관련이 없습니다. |
| Dock |
부모 컨트롤에 도킹되는 테두리를 가져오거나 설정 ToolStripItem 하며 부모 컨트롤의 크기를 조정하는 방법을 ToolStripItem 결정합니다. (다음에서 상속됨 ToolStripItem) |
| DoubleClickEnabled |
이 속성은 이 클래스와 관련이 없습니다. |
| Enabled |
부모 컨트롤을 ToolStripItem 사용할 수 있는지 여부를 나타내는 값을 가져오거나 설정합니다. |
| Events |
이 Component에 연결된 이벤트 처리기 목록을 가져옵니다. (다음에서 상속됨 Component) |
| Focused |
컨트롤에 입력 포커스가 있는지 여부를 나타내는 값을 가져옵니다. |
| Font |
호스트된 컨트롤에서 사용할 글꼴을 가져오거나 설정합니다. |
| ForeColor |
호스트된 컨트롤의 전경색을 가져오거나 설정합니다. |
| Height |
의 높이(픽셀) ToolStripItem를 가져오거나 설정합니다. (다음에서 상속됨 ToolStripItem) |
| Image |
개체와 연결된 이미지입니다. |
| ImageAlign |
이 속성은 이 클래스와 관련이 없습니다. |
| ImageIndex |
항목에 표시되는 이미지의 인덱스 값을 가져오거나 설정합니다. (다음에서 상속됨 ToolStripItem) |
| ImageKey |
에 표시되는 ToolStripItem이미지 ImageList 의 키 접근자를 가져오거나 설정합니다. (다음에서 상속됨 ToolStripItem) |
| ImageScaling |
이 속성은 이 클래스와 관련이 없습니다. |
| ImageTransparentColor |
이 속성은 이 클래스와 관련이 없습니다. |
| IsDisposed |
개체가 삭제되었는지 여부를 나타내는 값을 가져옵니다. (다음에서 상속됨 ToolStripItem) |
| IsOnDropDown |
현재 ControlToolStripDropDown컨테이너가 .인지 여부를 나타내는 값을 가져옵니다. (다음에서 상속됨 ToolStripItem) |
| IsOnOverflow |
속성이 .로 설정Overflow되었는지 여부를 Placement 나타내는 값을 가져옵니다. (다음에서 상속됨 ToolStripItem) |
| Margin |
항목과 인접 항목 사이의 공간을 가져오거나 설정합니다. (다음에서 상속됨 ToolStripItem) |
| MergeAction |
자식 메뉴를 부모 메뉴와 병합하는 방법을 가져오거나 설정합니다. (다음에서 상속됨 ToolStripItem) |
| MergeIndex |
현재 ToolStrip내에서 병합된 항목의 위치를 가져오거나 설정합니다. (다음에서 상속됨 ToolStripItem) |
| Name |
항목의 이름을 가져오거나 설정합니다. (다음에서 상속됨 ToolStripItem) |
| Overflow |
항목이 둘 사이에 연결되어 ToolStripToolStripOverflowButton 있는지 또는 부동 소수점 사이의 부동 소수점인지를 가져오거나 설정합니다. (다음에서 상속됨 ToolStripItem) |
| Owner |
이 항목의 소유자를 가져오거나 설정합니다. (다음에서 상속됨 ToolStripItem) |
| OwnerItem |
이 ToolStripItem항목의 부모를 ToolStripItem 가져옵니다. (다음에서 상속됨 ToolStripItem) |
| Padding |
항목의 내용과 해당 가장자리 사이의 내부 간격을 픽셀 단위로 가져오거나 설정합니다. (다음에서 상속됨 ToolStripItem) |
| Parent |
의 부모 컨테이너 ToolStripItem를 가져오거나 설정합니다. (다음에서 상속됨 ToolStripItem) |
| Placement |
항목의 현재 레이아웃을 가져옵니다. (다음에서 상속됨 ToolStripItem) |
| Pressed |
항목의 상태를 눌렀는지 여부를 나타내는 값을 가져옵니다. (다음에서 상속됨 ToolStripItem) |
| Renderer |
부모 ToolStrip렌더러를 반환합니다. (다음에서 상속됨 ToolStripItem) |
| RightToLeft |
컨트롤의 요소가 오른쪽에서 왼쪽 글꼴을 사용하여 로캘을 지원하도록 정렬되는지 여부를 나타내는 값을 가져오거나 설정합니다. |
| RightToLeftAutoMirrorImage |
이 속성은 이 클래스와 관련이 없습니다. |
| Selected |
항목이 선택되었는지 여부를 나타내는 값을 가져옵니다. |
| ShowKeyboardCues |
바로 가기 키를 표시하거나 숨길지 여부를 나타내는 값을 가져옵니다. (다음에서 상속됨 ToolStripItem) |
| Site |
호스트된 컨트롤의 사이트를 가져오거나 설정합니다. |
| Size |
의 크기를 ToolStripItem가져오거나 설정합니다. |
| Tag |
항목에 대한 데이터가 포함된 개체를 가져오거나 설정합니다. (다음에서 상속됨 ToolStripItem) |
| Text |
호스트된 컨트롤에 표시할 텍스트를 가져오거나 설정합니다. |
| TextAlign |
이 속성은 이 클래스와 관련이 없습니다. |
| TextDirection |
이 속성은 이 클래스와 관련이 없습니다. |
| TextImageRelation |
이 속성은 이 클래스와 관련이 없습니다. |
| ToolTipText |
컨트롤의 텍스트로 ToolTip 표시되는 텍스트를 가져오거나 설정합니다. (다음에서 상속됨 ToolStripItem) |
| Visible |
항목이 표시되는지 여부를 나타내는 값을 가져오거나 설정합니다. (다음에서 상속됨 ToolStripItem) |
| Width |
너비를 픽셀 ToolStripItem단위로 가져오거나 설정합니다. (다음에서 상속됨 ToolStripItem) |
메서드
이벤트
| Name | Description |
|---|---|
| AvailableChanged |
Available 속성 값이 변경되면 발생합니다. (다음에서 상속됨 ToolStripItem) |
| BackColorChanged |
BackColor 속성 값이 변경되면 발생합니다. (다음에서 상속됨 ToolStripItem) |
| BindingContextChanged |
바인딩 컨텍스트가 변경될 때 발생합니다. (다음에서 상속됨 BindableComponent) |
| Click |
클릭할 ToolStripItem 때 발생합니다. (다음에서 상속됨 ToolStripItem) |
| CommandCanExecuteChanged |
속성에 CanExecute(Object) 할당된 Command 상태 ICommand 변경 시 발생합니다. (다음에서 상속됨 ToolStripItem) |
| CommandChanged |
속성 할당이 ICommandCommand 변경될 때 발생합니다. (다음에서 상속됨 ToolStripItem) |
| CommandParameterChanged |
속성 값 CommandParameter 이 변경될 때 발생합니다. (다음에서 상속됨 ToolStripItem) |
| DisplayStyleChanged |
이 이벤트는 이 클래스와 관련이 없습니다. |
| Disposed |
구성 요소가 메서드 호출에 Dispose() 의해 삭제될 때 발생합니다. (다음에서 상속됨 Component) |
| DoubleClick |
마우스로 항목을 두 번 클릭할 때 발생합니다. (다음에서 상속됨 ToolStripItem) |
| DragDrop |
사용자가 항목을 끌어서 마우스 단추를 놓으면 항목이 이 항목에 삭제되어야 함을 나타냅니다. (다음에서 상속됨 ToolStripItem) |
| DragEnter |
사용자가 항목을 이 항목의 클라이언트 영역으로 끌 때 발생합니다. (다음에서 상속됨 ToolStripItem) |
| DragLeave |
사용자가 항목을 끌어와 마우스 포인터가 이 항목의 클라이언트 영역 위에 더 이상 없을 때 발생합니다. (다음에서 상속됨 ToolStripItem) |
| DragOver |
사용자가 이 항목의 클라이언트 영역 위로 항목을 끌 때 발생합니다. (다음에서 상속됨 ToolStripItem) |
| EnabledChanged |
Enabled 속성 값이 변경되면 발생합니다. (다음에서 상속됨 ToolStripItem) |
| Enter |
호스트된 컨트롤을 입력할 때 발생합니다. |
| ForeColorChanged |
속성 값이 변경되면 ForeColor 발생합니다. (다음에서 상속됨 ToolStripItem) |
| GiveFeedback |
끌기 작업 중에 발생합니다. (다음에서 상속됨 ToolStripItem) |
| GotFocus |
호스트된 컨트롤이 포커스를 받을 때 발생합니다. |
| KeyDown |
호스트된 컨트롤에 포커스가 있는 동안 키를 누르고 누를 때 발생합니다. |
| KeyPress |
호스트된 컨트롤에 포커스가 있는 동안 키를 누를 때 발생합니다. |
| KeyUp |
호스트된 컨트롤에 포커스가 있는 동안 키가 해제될 때 발생합니다. |
| Leave |
입력 포커스가 호스트된 컨트롤을 떠날 때 발생합니다. |
| LocationChanged |
위치 ToolStripItem 가 업데이트되면 발생합니다. (다음에서 상속됨 ToolStripItem) |
| LostFocus |
호스트된 컨트롤이 포커스를 잃을 때 발생합니다. |
| MouseDown |
마우스 포인터가 항목 위에 있고 마우스 단추를 누를 때 발생합니다. (다음에서 상속됨 ToolStripItem) |
| MouseEnter |
마우스 포인터가 항목에 들어갈 때 발생합니다. (다음에서 상속됨 ToolStripItem) |
| MouseHover |
마우스 포인터가 항목 위로 마우스를 가져가면 발생합니다. (다음에서 상속됨 ToolStripItem) |
| MouseLeave |
마우스 포인터가 항목을 떠날 때 발생합니다. (다음에서 상속됨 ToolStripItem) |
| MouseMove |
마우스 포인터를 항목 위로 이동할 때 발생합니다. (다음에서 상속됨 ToolStripItem) |
| MouseUp |
마우스 포인터가 항목 위에 있고 마우스 단추가 놓일 때 발생합니다. (다음에서 상속됨 ToolStripItem) |
| OwnerChanged |
속성이 변경되면 Owner 발생합니다. (다음에서 상속됨 ToolStripItem) |
| Paint |
항목이 다시 그려질 때 발생합니다. (다음에서 상속됨 ToolStripItem) |
| QueryAccessibilityHelp |
접근성 클라이언트 애플리케이션이 에 대한 도움말을 호출할 ToolStripItem때 발생합니다. (다음에서 상속됨 ToolStripItem) |
| QueryContinueDrag |
끌어서 놓기 작업 중에 발생하며 끌기 소스에서 끌어서 놓기 작업을 취소해야 하는지 여부를 결정할 수 있습니다. (다음에서 상속됨 ToolStripItem) |
| RightToLeftChanged |
속성 값이 변경되면 RightToLeft 발생합니다. (다음에서 상속됨 ToolStripItem) |
| SelectedChanged |
Selected 속성 값이 변경되면 발생합니다. (다음에서 상속됨 ToolStripItem) |
| TextChanged |
Text 속성 값이 변경되면 발생합니다. (다음에서 상속됨 ToolStripItem) |
| Validated |
호스트된 컨트롤의 유효성을 성공적으로 검사한 후에 발생합니다. |
| Validating |
호스트된 컨트롤의 유효성을 검사하는 동안 발생합니다. |
| VisibleChanged |
Visible 속성 값이 변경되면 발생합니다. (다음에서 상속됨 ToolStripItem) |
명시적 인터페이스 구현
| Name | Description |
|---|---|
| IDropTarget.OnDragDrop(DragEventArgs) |
DragDrop 이벤트를 발생시킵니다. (다음에서 상속됨 ToolStripItem) |
| IDropTarget.OnDragEnter(DragEventArgs) |
DragEnter 이벤트를 발생시킵니다. (다음에서 상속됨 ToolStripItem) |
| IDropTarget.OnDragLeave(EventArgs) |
DragLeave 이벤트를 발생시킵니다. (다음에서 상속됨 ToolStripItem) |
| IDropTarget.OnDragOver(DragEventArgs) |
|