UITypeEditorEditStyle 열거형

정의

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

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

필드

DropDown 3

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

Modal 2

프로그램을 진행하기 전에 사용자 입력을 요구하는 모달 대화 상자 또는 언제라도 사용할 수 있도록 화면에 표시되어 있으면서 다른 사용자 작업을 허용하는 모덜리스 대화 상자를 시작하는 줄임표(...) 단추를 표시합니다.

None 1

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

예제

다음 코드 예제에서는 사용자 지정UITypeEditor의 스타일을 지정 하는 데 사용 UITypeEditorEditStyle 하는 방법을 보여 줍니다. 이 코드 예제는에 대해 제공 된 큰 예제의 일부는 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

적용 대상

추가 정보