UITypeEditorEditStyle 열거형

정의

UITypeEditor값 편집 스타일을 나타내는 식별자를 지정합니다.

public enum class UITypeEditorEditStyle
public enum UITypeEditorEditStyle
type UITypeEditorEditStyle = 
Public Enum UITypeEditorEditStyle
상속
UITypeEditorEditStyle

필드

Name Description
None 1

대화형 UI(사용자 인터페이스) 구성 요소를 제공하지 않습니다.

Modal 2

프로그램을 계속하기 전에 사용자 입력이 필요한 모달 대화 상자를 시작하는 줄임표(...) 단추 또는 화면에 유지되고 언제든지 사용할 수 있지만 다른 사용자 활동을 허용하는 모덜리스 대화 상자를 표시합니다.

DropDown 3

드롭다운 화살표 단추를 표시하고 드롭다운 대화 상자에서 UI(사용자 인터페이스)를 호스트합니다.

예제

다음 코드 예제에서는 사용자 지정UITypeEditorEditStyle의 스타일을 지정 하는 데 사용 UITypeEditor 하는 방법을 보여 줍니다. 이 코드 예제는 클래스에 제공된 더 큰 예제의 DocumentDesigner 일부입니다.

public override UITypeEditorEditStyle GetEditStyle(
System.ComponentModel.ITypeDescriptorContext context)
{
    return UITypeEditorEditStyle.DropDown;
}
Public Overrides Function GetEditStyle( _
ByVal context As System.ComponentModel.ITypeDescriptorContext) _
As UITypeEditorEditStyle
    Return UITypeEditorEditStyle.DropDown
End Function

적용 대상

추가 정보