Spread Windows Forms 10.0 Product Documentation
GcNumberCellType Class Members
Properties  Methods  Events


The following tables list the members exposed by GcNumberCellType.

Public Constructors
 NameDescription
Public ConstructorGcNumberCellType ConstructorOverloaded.   
Top
Public Properties
 NameDescription
Public PropertyAcceptsArrowKeysGets or sets how arrow keys are processed by the edit control. (Inherited from GrapeCity.Win.Spread.InputMan.CellType.InputManCellTypeBase)
Public PropertyAcceptsCrLfGets or sets a value that indicates how to process the CrLf characters when copying, cutting, or pasting a string.  
Public PropertyAcceptsDecimalGets 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.  
Public PropertyAllowDeleteToNullGets or sets a value that indicates whether to allow a null value when deleting the contents.  
Public PropertyAlternateTextGets the alternate text of the GcNumberCellType control.  
Public PropertyBackgroundImageGets or sets the background image for the cell. (Inherited from GrapeCity.Win.Spread.InputMan.CellType.InputManCellTypeBase)
Public PropertyClipContentGets or sets how data is copied to the Clipboard. (Inherited from GrapeCity.Win.Spread.InputMan.CellType.FieldsEditorControlCellType)
Public PropertyDisplayFieldsGets the display fields of the GcNumberCellType object.  
Public PropertyDropDownGets the drop-down settings for the drop-down function.  
Public PropertyDropDownCalculator2  
Public PropertyEditModeGets or sets the edit mode of the control. (Inherited from GrapeCity.Win.Spread.InputMan.CellType.InputManCellTypeBase)
Public PropertyExcelExportFormatOverridden. Gets or sets the excel export format.  
Public PropertyExitOnLastCharGets or sets whether the next control in the tab order receives the focus as soon as the control is filled with the last character. (Inherited from GrapeCity.Win.Spread.InputMan.CellType.InputManCellTypeBase)
Public PropertyFieldsA GrapeCity.Win.Spread.InputMan.CellType.NumberFields object that represents the items in the GcNumber object.  
Public PropertyFocusPositionGets or sets the initial cursor position when the editor gets focus.  
Public PropertyMaxMinBehaviorGets or sets the behavior when the new input value is outside of MinValue and MaxValue.  
Public PropertyMaxValueGets or sets the maximum allowable value when using the spin option.  
Public PropertyMinValueGets or sets the minimum allowable value when using the spin option.  
Public PropertyNegativeColorGets or sets the color when the value sign of this control is negative.  
Public PropertyPaintByControlGets 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.  
Public PropertyPopUpCalculatorGets the PopUpCalculator instance which the user can use to customize the pop-up calculator.  
Public PropertyReadOnlyGets or sets a value that indicates whether this control is read-only. (Inherited from GrapeCity.Win.Spread.InputMan.CellType.InputManCellTypeBase)
Public PropertyRecommendedValueGets or sets the recommended value.  
Public PropertyRoundPatternGets or sets the round pattern of the value.  
Public PropertyShortcutKeysGets the InputMan EditingControl's shortcuts. (Inherited from GrapeCity.Win.Spread.InputMan.CellType.InputManCellTypeBase)
Public PropertyShowRecommendedValueGets or sets a value that indicates whether to show the recommended value.  
Public PropertyShowTouchToolBarGets or sets the how to show the InputManCellTypeBase.TouchToolBar. (Inherited from GrapeCity.Win.Spread.InputMan.CellType.InputManCellTypeBase)
Public PropertySideButtonsGets a collection of side buttons.  
Public PropertySpinGets the spin function settings.  
Public PropertyStaticGets or sets whether the cell is static, which prohibits user interaction. (Inherited from GrapeCity.Win.Spread.InputMan.CellType.InputManCellTypeBase)
Public PropertySubEditorGets or sets the subeditor. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Public PropertyTouchContextMenuScaleGets or sets the factor applies to context menu item's height while context menu is popped up by touch. (Inherited from GrapeCity.Win.Spread.InputMan.CellType.InputManCellTypeBase)
Public PropertyTouchToolBarGets the shown InputManCellTypeBase.TouchToolBar by touch operation. (Inherited from GrapeCity.Win.Spread.InputMan.CellType.InputManCellTypeBase)
Public PropertyUseNegativeColorGets or sets a value that indicates whether to use the GcNumber.NegativeColor property to display the negative value.  
Public PropertyUseSpreadDropDownButtonRenderGets or sets a value that indicates whether to paint the drop-down button with the spread drop-down button renderer. (Inherited from GrapeCity.Win.Spread.InputMan.CellType.InputManCellTypeBase)
Public PropertyValueSignGets or sets the value sign of the control.  
Top
Protected Properties
 NameDescription
Protected PropertyExtraRendererSettingsGets the conditional formatting settings. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Top
Public Methods
 NameDescription
Public MethodCanBeOverflownDetermines whether data from another cell can overflow into this cell (whether this cell can be overflowed into). (Inherited from GrapeCity.Win.Spread.InputMan.CellType.InputManCellTypeBase)
Public MethodCancelEditingCancels the editing of a cell. (Inherited from GrapeCity.Win.Spread.InputMan.CellType.InputManCellTypeBase)
Public MethodCanOverflowDetermines whether a cell can overflow its data into an adjacent cell. (Inherited from GrapeCity.Win.Spread.InputMan.CellType.InputManCellTypeBase)
Public MethodCloneOverridden. Creates and returns a base cell.  
Public MethodDeserializeOverridden. Loads the object from XML.  
Public MethodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from GrapeCity.Win.Spread.InputMan.CellType.InputManCellTypeBase)
Public MethodFormatOverridden. Formats the specified data into the format of the cell type and returns it as a string.  
Public MethodFormatToClipboardFormats to the Clipboard.  
Public MethodGetDisplayTextOverridden. Gets the display text.  
Public MethodGetEditorControlOverloaded. Overridden. Gets the edit control for this cell type with the specified appearance and scaling.  
Public MethodGetEditorValueOverridden. Gets the unformatted value in the editor control.  
Public MethodGetErrorIconBoundGets a rectangle to draw an error icon in. (Inherited from GrapeCity.Win.Spread.InputMan.CellType.InputManCellTypeBase)
Public MethodGetHorizontalAlignmentGets the horizontal alignment based on the value.  
Public MethodGetObjectDataOverridden. Populates a System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object.  
Public MethodGetPreferredSizeOverloaded. Overridden. Gets the preferred (maximum needed) size of the cell for the renderer control.  
Public MethodGetReservedCursorGets the cursor reserved for this cell type. (Inherited from GrapeCity.Win.Spread.InputMan.CellType.InputManCellTypeBase)
Public MethodGetVerticalAlignmentGets the vertical alignment based on the value.  
Public MethodInitialByCreateInstanceSupports designtime's CreateInstance. (Inherited from GrapeCity.Win.Spread.InputMan.CellType.InputManCellTypeBase)
Public MethodInitializeEditorControlOverridden. Initializes the editor control.  
Public MethodIsPropertySupportedGets whether the cell type supports the named property. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Public MethodIsReservedKeyDetermines whether the specified key has special meaning to the editor control. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Public MethodIsReservedLocationDetermines whether the specified cursor location has special meaning to the editor control. (Inherited from GrapeCity.Win.Spread.InputMan.CellType.InputManCellTypeBase)
Public MethodIsReusableOverridden. Determines whether the specified control is reusable.  
Public MethodIsValidOverridden. Determines whether the specified value is valid.  
Public MethodPaintCellOverloaded. Paints the cell when not in edit mode to the specified graphics interface with the specified appearance settings. (Inherited from GrapeCity.Win.Spread.InputMan.CellType.InputManCellTypeBase)
Public MethodParseOverridden. Parses the specified string to the data type of the cell type and returns it as an object.  
Public MethodSerializeOverridden. Saves the object to XML.  
Public MethodSetEditorValueOverridden. Sets the value of the editor control.  
Public MethodShowSubEditorOverridden. Shows the subeditor control associated with the cell.  
Public MethodStartEditingOverridden. Starts the editing of a cell.  
Public MethodStopEditingOverridden. Stops the editing of a cell.  
Top
Protected Methods
 NameDescription
Protected MethodFireEditorValueChangedFires the EditorValueChanged event if there are any delegates attached. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Protected MethodGetDefaultDisplayFieldsGets the default display fields.  
Protected MethodGetDefaultShortcutsOverridden. Gets the default shortcuts.  
Protected MethodGetDefaultSideButtonTypesGets the default side buttons.  
Protected MethodInitializeDefaultSideButtonsInitializes the default side buttons.  
Protected MethodIsCaretInTheBeginningGets whether the caret is in the beginning. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Protected MethodIsCaretInTheEndGets whether the caret is at the end. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Protected MethodIsCaretInTheFirstLineGets whether the caret is in the first line. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Protected MethodIsCaretInTheLastLineGets whether the caret is in the last line. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Protected MethodPaintEnhancedConditionalFormatPaints the enhanced conditional format. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Top
Public Events
 NameDescription
Public EventEditingCanceledOccurs when editing (the editor control) has been canceled by the user. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Public EventEditingStoppedOccurs when editing in the the editor control has been stopped by the user. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Public EventEditorValueChangedOccurs when the value in the editor control has been changed by the user. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Top
See Also

Reference

GcNumberCellType Class
GrapeCity.Win.Spread.InputMan.CellType Namespace

 

 


Copyright © GrapeCity, inc. All rights reserved.