[]
        
(Showing Draft Content)

FarPoint.Win.Spread.CellType.GeneralEditor

GeneralEditor Class

Represents the base control for the cell types derived from GeneralCellType.

Namespace: FarPoint.Win.Spread.CellType
Assembly: FarPoint.Win.Spread.dll
Syntax
public class GeneralEditor : SuperEditBase, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IEditorImeSenteceModeSupport, ITouchEditor, IInputScopeSupport, IVerticalAlignmentSupport
Public Class GeneralEditor
    Inherits SuperEditBase
    Implements IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IEditorImeSenteceModeSupport, ITouchEditor, IInputScopeSupport, IVerticalAlignmentSupport

Constructors

Name Description
GeneralEditor()

Constructs a new general editor.

Properties

Name Description
AcceptsArrowKeys

Gets or sets whether to accept arrow keys.

AcceptsReturn

Gets or sets whether a return is accepted.

AutoAdvance

Gets or sets whether the focus moves to another control when the cursor is moved with the arrow keys.

AutoCompleteCustomSource

Gets or sets a custom System.Collections.Specialized.StringCollection when the AutoCompleteSource property is set to CustomSource.

AutoCompleteMode

Gets or sets how automatic completion works.

AutoCompleteSource

Gets or sets the source of complete strings used for automatic completion.

BorderStyle

Gets or sets the style of the border.

CanShowSelectionGripper

Gets whether the selection gripper can be displayed.

CharacterCasing

Gets or sets the character case.

CharacterSet

Gets or sets the character set to use.

DecimalIncrement

Sets the amount by which the value increments when the cursor is in the decimal portion.

IntegerIncrement

Sets the amount by which the value increments when the cursor is in the integer portion.

MaximumLength

Gets or sets the maximum number of characters allowed.

Multiline

Gets or sets whether the text box has multiple lines.

PasswordChar

Gets or sets which character to substitute when the user types in a password.

ReadOnly

Gets or sets whether the cell is read-only (and cannot be edited).

ScrollBars

Gets or sets the use of scroll bars.

SubEditor

Gets or sets the subeditor in the cell.

WordWrap

Gets or sets whether text that is too long to fit in the cell wraps to additional lines.

Methods

Name Description
GetDrawingStringFormat(ref Rectangle)

Gets a new string format for drawing the text in the specified rectangle.

OnAfterFocus(EventArgs)

Raises the AfterFocus event.

OnLocationChanged(EventArgs)

Raises the System.Windows.Forms.Control.LocationChanged event.

OnSubEditorClosed(EventArgs)

Raises the SubEditorClosed event.

OnSubEditorOpening(SubEditorCancelEventArgs)

Raises the SubEditorOpening event.

Reset()

Resets the contents of the control to the default value.

Select(bool, bool)

Selects a control using the specified direction in the tab order from which to select the control.

ShowSubEditor(bool)

Shows or hides the subeditor control associated with the cell.

Events

Name Description
AfterFocus

Occurs after the control gets focus.

SubEditorClosed

Occurs when the subeditor for a cell closes.

SubEditorOpening

Occurs when the subeditor for a cell opens.