Input for WinForms | ComponentOne
C1.Win Namespace / IEmbeddedEditor Interface / GetEditStyle Method

In This Topic
    GetEditStyle Method (IEmbeddedEditor)
    In This Topic
    Gets the editor style, which determines the type of button that is displayed in the cell before and during editing (DropDown, Modal, or None).
    Syntax
    'Declaration
     
    
    Function GetEditStyle() As UITypeEditorEditStyle
    UITypeEditorEditStyle GetEditStyle()
    Remarks

    The default handler returns DropDown for ComboBoxes, DateTimePickers, and UpDown controls. It returns None for other control types.

    The UITypeEditorEditStyle enumeration is defined in the System.Drawing.Design namespace. The available settings are DropDown, Modal, and None.

    See Also