[]
Represents a GcNumberCellType class.
public class GcNumberCellType : 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
Public Class GcNumberCellType
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
The GcNumberCellType provides number input for positive and negative values and allows you to design a functional numeric input interface quickly and efficiently.
Name | Description |
---|---|
GcNumberCellType() | Initializes a new instance of the GcNumberCellType class. |
GcNumberCellType(SerializationInfo, StreamingContext) | Initializes a new instance of the GcNumberCellType class. |
Name | Description |
---|---|
AcceptsCrLf | Gets or sets a value that indicates how to process the CrLf characters when copying, cutting, or pasting a string. |
AcceptsDecimal | Gets or sets a value that indicates if the decimal part is accepted when pasting a value that includes the decimal part when the decimal part is not allowed by the format setting. |
AllowDeleteToNull | Gets or sets a value that indicates whether to allow a null value when deleting the contents. |
AlternateText | Gets the alternate text of the GcNumberCellType control. |
DisplayFields | Gets the display fields of the GcNumberCellType object. |
DropDown | Gets the drop-down settings for the drop-down function. |
DropDownCalculator | Gets the DropDownCalculator instance which the user can use to customize the drop-down calculator. |
ExcelExportFormat | Gets or sets the excel export format. |
Fields | A GrapeCity.Win.Spread.InputMan.CellType.NumberFields object that represents the items in the GrapeCity.Win.Spread.InputMan.CellType.GcNumber object. |
FocusPosition | Gets or sets the initial cursor position when the editor gets focus. |
MaxMinBehavior | Gets or sets the behavior when the new input value is outside of MinValue and MaxValue. |
MaxValue | Gets or sets the maximum allowable value when using the spin option. |
MinValue | Gets or sets the minimum allowable value when using the spin option. |
NegativeColor | Gets or sets the color when the value sign of this control is negative. |
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. |
PopUpCalculator | Gets the PopUpCalculator instance which the user can use to customize the pop-up calculator. |
RecommendedValue | Gets or sets the recommended value. |
RoundPattern | Gets or sets the round pattern of the value. |
ShowRecommendedValue | Gets or sets a value that indicates whether to show the recommended value. |
SideButtons | Gets a collection of side buttons. |
Spin | Gets the spin function settings. |
UseNegativeColor | Gets or sets a value that indicates whether to use the GrapeCity.Win.Spread.InputMan.CellType.GcNumber.NegativeColor property to display the negative value. |
ValueSign | Gets or sets the value sign of the control. |
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. |
GetDefaultDisplayFields() | 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 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 the editing of a cell. |
StopEditing() | Stops the editing of a cell. |