[]
        
(Showing Draft Content)

GrapeCity.Win.Spread.InputMan.CellType.GcMaskCellType

GcMaskCellType Class

Represents a GcMaskCellType class.

Namespace: GrapeCity.Win.Spread.InputMan.CellType
Assembly: GrapeCity.Win.PluginInputMan.dll
Syntax
public class GcMaskCellType : FieldsEditorControlCellType, 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, IRenderAlignment, IDeserializationCallback
Public Class GcMaskCellType
    Inherits FieldsEditorControlCellType
    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, IRenderAlignment, IDeserializationCallback
Remarks

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

Constructors

Name Description
GcMaskCellType()

Initializes a new instance of the GcMaskCellType class.

GcMaskCellType(SerializationInfo, StreamingContext)

Initializes a new instance of the GcMaskCellType class.

Properties

Name Description
AcceptsCrLf

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

AcceptsTabChar

Gets or sets how to process the Tab character when copying, cutting, or pasting a string.

AlternateText

Gets a value that indicates alternate text settings.

AutoConvert

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

DefaultActiveField

Gets or sets the default active field.

ExcelExportFormat

Gets or sets the excel export format.

Fields

Gets the fields of the MaskFieldCollection.

FocusPosition

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

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.

PasswordRevelationMode

Gets or sets the password revelation mode.

RecommendedValue

Gets or sets the recommended value.

ShowRecommendedValue

Gets or sets whether to show the recommended value.

SideButtons

Gets a collection of side buttons.

Spin

Gets information for the spin function.

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.

GetDefaultMaskFields()

Gets the default display fields.

GetDefaultShortcuts()

Gets the default shortcuts.

GetDefaultSideButtonTypes()

Gets the default side buttons.

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.

GetHorizontalAlignment(object)

Gets the horizontal alignment based on the value.

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.

GetVerticalAlignment(object)

Gets the vertical alignment based on the value.

InitializeDefaultSideButtons(SideButtonBaseInfo[])

Initializes the default side buttons.

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 cell editing.

StopEditing()

Stops cell editing.