[]
        
(Showing Draft Content)

GrapeCity.Win.Spread.InputMan.CellType.DropDownEditor

DropDownEditor Class

Represents the DropDownEditor settings.

Inheritance
DropDownEditor
Namespace: GrapeCity.Win.Spread.InputMan.CellType
Assembly: GrapeCity.Win.PluginInputMan.dll
Syntax
[TypeConverter(typeof(DropDownEditorConverter))]
public class DropDownEditor
<TypeConverter(GetType(DropDownEditorConverter))>
Public Class DropDownEditor

Properties

Name Description
BackColor

Gets or sets the background color of the drop-down window.

BackgroundImage

Gets or sets the background image displayed in the drop-down window.

BackgroundImageLayout

Gets or sets the layout of the background image.

BorderStyle

Gets or sets the border style.

CanUndo

Gets a value that indicates whether the user can undo the previous operation in a text box control.

ContentAlignment

Gets or sets the alignment of the content.

ContextMenuStrip

Gets or sets the context menu strip.

Cursor

Gets or sets the cursor that is displayed when the mouse pointer is over the drop-down window.

Font

Gets or sets the font which is used for the drop-down window.

ForeColor

Gets or sets the foreground color of the drop-down window.

Lines

Gets or sets the lines in the drop-down editor.

Padding

Gets or sets the padding of the drop-down window.

ReadOnly

Gets or sets a value that indicates whether the drop-down editor is read-only.

ScrollBarMode

Gets or sets how to display the scroll bars.

ScrollBars

Gets or sets a value that indicates how to show scroll bars.

SelectedText

Gets or sets a value that indicates the currently selected text in the drop-down editor.

SelectionLength

Gets or sets the number of characters selected in the drop-down editor.

SelectionStart

Gets or sets the starting point of text selected in the drop-down window.

ShowContextMenu

Gets or sets a value that indicates whether to show the context menu.

SingleBorderColor

Gets or sets the color of the single line border.

Text

Gets or sets the text.

TextLength

Gets the length of the text in the drop-down window.

TouchToolBar

Gets the shown TouchToolBar by touch operation.

Methods

Name Description
AppendText(string)

Appends text to the current text of the control.

Clear()

Clears the contents of the control.

ClearUndo()

Clears information about the most recent operation from the undo buffer of the control.

Copy()

Copies the current selection in the control to the Clipboard.

Cut()

Moves the current selection in the control to the Clipboard.

GetLineCount()

Retrieves the number of lines in a multiple-line mode of the drop-down window.

OnClick(object, EventArgs)

Raises the Click event.

OnDoubleClick(object, EventArgs)

Raises the DoubleClick event.

OnInvalidInput(object, EventArgs)

Raises the InvalidInput event.

OnKeyDown(object, KeyEventArgs)

Raises the KeyDown event.

OnKeyPress(object, KeyPressEventArgs)

Raises the KeyPress event.

OnKeyUp(object, KeyEventArgs)

Raises the KeyUp event.

OnTextChanged(object, EventArgs)

Raises the TextChanged event.

OnTextChanging(object, TextChangingEventArgs)

Raises the TextChanging event.

Paste()

Replaces the current selection in the control with the contents of the Clipboard.

ResetPadding()

Reset padding of the editor.

ScrollToCaret()

Scrolls the contents of the control to the current caret position.

SelectAll()

Selects all text in the control.

ShouldSerializePadding()

Indicates whether the Padding property should be persisted.

Undo()

Undoes the last edit operation in the control.

Events

Name Description
Click

Occurs when the drop-down editor is clicked.

DoubleClick

Occurs when the drop-down editor is double-clicked.

InvalidInput

Occurs when there is invalid input.

KeyDown

Occurs when a key is pressed.

KeyPress

Occurs when a character key is pressed.

KeyUp

Occurs when a key is released.

TextChanged

Occurs when the text of the drop-down editor is changed.

TextChanging

Occurs when a key is released.