UITypeEditorEditStyle Enumeration

Specifies identifiers that indicate the value editing style of a UITypeEditor.

Namespace: System.Drawing.Design
Assembly: System.Drawing (in system.drawing.dll)

'Declaration
Public Enumeration UITypeEditorEditStyle
'Usage
Dim instance As UITypeEditorEditStyle

public enum UITypeEditorEditStyle
public enum UITypeEditorEditStyle

 Member nameDescription
DropDownDisplays a drop-down arrow button and hosts the user interface (UI) in a drop-down dialog box. 
ModalDisplays an ellipsis (...) button to start a modal dialog box, which requires user input before continuing a program, or a modeless dialog box, which stays on the screen and is available for use at any time but permits other user activities. 
NoneProvides no interactive user interface (UI) component. 

The following code example demonstrates how to use UITypeEditorEditStyle to specify the style of a custom UITypeEditor. This code example is part of a larger example provided for the DocumentDesigner class.

Public Overrides Function GetEditStyle( _
ByVal context As System.ComponentModel.ITypeDescriptorContext) _
As UITypeEditorEditStyle
    Return UITypeEditorEditStyle.DropDown
End Function


Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show: