[]
        
(Showing Draft Content)

GrapeCity.Win.Spread.InputMan.CellType.GcCharMaskCellType

GcCharMaskCellType Class

Represents a GcCharMaskCellType class.

Inheritance
GcCharMaskCellType
Namespace: GrapeCity.Win.Spread.InputMan.CellType
Assembly: GrapeCity.Win.PluginInputMan.dll
Syntax
public class GcCharMaskCellType : InputManCellTypeBase, ICellType, IEditor, ICloneable, IPropertyAllowedSupport, INotifyEditorValueChanged, IEnhancedRenderer, IRenderer, IEnhancedPdfRenderer, IAllowArrowKeysMoveActiveCell, IErrorIconSupport, IEditorVerticaAlignSupport, ICellType, ICloneable<ICellType>, INumFmtSupportCellType, IDisposable, IReuseEditorControl2, IReuseEditorControl, IPdfSupport, IOOXmlSupport, ISerializable, ISerializeSupport, IReadOnlySupport, IStaticSupport, IFormatter2, IFormatter, IDeserializationCallback
Public Class GcCharMaskCellType
    Inherits InputManCellTypeBase
    Implements ICellType, IEditor, ICloneable, IPropertyAllowedSupport, INotifyEditorValueChanged, IEnhancedRenderer, IRenderer, IEnhancedPdfRenderer, IAllowArrowKeysMoveActiveCell, IErrorIconSupport, IEditorVerticaAlignSupport, ICellType, ICloneable(Of ICellType), INumFmtSupportCellType, IDisposable, IReuseEditorControl2, IReuseEditorControl, IPdfSupport, IOOXmlSupport, ISerializable, ISerializeSupport, IReadOnlySupport, IStaticSupport, IFormatter2, IFormatter, IDeserializationCallback
Remarks

The GcCharMaskCellType provides number input for positive and negative values and allows you to design a functional numeric input interface quickly and efficiently.

Constructors

Name Description
GcCharMaskCellType()

Initializes a new instance of the GcCharMaskCellType class.

GcCharMaskCellType(SerializationInfo, StreamingContext)

Initializes a new instance of the GcCharMaskCellType class.

Properties

Name Description
AcceptsCrLf

Gets or sets how to process the CrLf characters when copying, cutting, or pasting a string.

AllowSpace

Gets or sets whether to allow space input.

AutoConvert

Gets or sets whether to automatically convert the entered characters according to the input mask.

CharBoxSpacing

Gets or sets the spacing between character boxes.

CharBoxes

Gets the character box collection.

ClipContent

Gets or sets how data should be copied to the clipboard.

ExcelExportFormat

Gets or sets the excel export format.

FocusPosition

Gets or sets the initial cursor position when the editor gets focus.

FormatString

Gets or sets the input format to use in the control.

InputDirection

Gets or sets a CharMaskInputDirection that indicates the input direction.

PaintByControl

Gets or sets a value that indicates how to paint the cell. If true, the cell uses the inner control's painting to paint the cell, in this case, the cell paints exactly the same as the editing control. All settings of the cell such as fields with different styles are shown when painting the cell. The cell's paint performance is slow if painting by the control, rather than painting the string directly. Also, the text in the cell cannot be selected when exporting to pdf. If false, performance is good but some settings do not take effect.

PasswordChar

Gets or sets the character used to mask characters of a password in the control.

RecommendedValue

Gets or sets the recommended value.

ShowRecommendedValue

Gets or sets whether to show the recommended value.

UseSystemPasswordChar

Gets or sets whether to use the system password character.

Methods

Name Description
Clone()

Creates and returns a base cell.

Deserialize(XmlNodeReader)

Loads the object from XML.

Format(object)

Formats the specified data into the format of the cell type and returns it as a string.

FormatToClipboard(object)

Formats to the Clipboard.

GetDefaultCharMaskBoxes()

Gets the default display fields.

GetDefaultShortcuts()

Gets the default shortcuts.

GetDisplayText(object)

Gets the display text.

GetEditorControl(Appearance, float)

Gets the edit control for this cell type with the specified appearance and scaling.

GetEditorValue()

Gets the unformatted value in the editor control.

GetObjectData(SerializationInfo, StreamingContext)

Populates a SerializationInfo object with the data needed to serialize the target object.

GetPreferredSize(Graphics, Size, Appearance, object, float)

Gets the preferred (maximum needed) size of the cell for the renderer control.

GetPreferredSize(Control)

Gets the preferred (maximum needed) size of the cell for the editor control.

InitializeEditorControl(Control, Appearance, float)

Initializes the editor control.

IsReusable(Control)

Determines whether the specified control is reusable.

IsValid(object)

Determines whether the specified value is valid.

Parse(string)

Parses the specified string to the data type of the cell type and returns it as an object.

Serialize(XmlTextWriter)

Saves the object to XML.

SetEditorValue(object)

Sets the value of the editor control.

ShowSubEditor()

Shows the subeditor control associated with the cell.

StartEditing(EventArgs, bool, bool)

Starts the editing of a cell.

StopEditing()

Stops the editing of a cell.