Spread Windows Forms 9.0 Product Documentation
NumberCellType Class Members
Properties  Methods  Events


The following tables list the members exposed by NumberCellType.

Public Constructors
 NameDescription
Public ConstructorNumberCellType ConstructorOverloaded.   
Top
Public Properties
 NameDescription
Public PropertyAcceptsArrowKeysGets or sets how arrow keys are processed by the edit control. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Public PropertyAllowArrowKeysMoveActiveCellGets or sets whether to allow arrow keys to move the active cell. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Public PropertyAllowEditorVerticalAlignGets or sets whether to allow editor vertical align. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Public PropertyAutoCompleteCustomSourceGets or sets a custom string collection when the AutoCompleteSource property is set to CustomSource. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Public PropertyAutoCompleteModeGets or sets how automatic completion works. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Public PropertyAutoCompleteSourceGets or sets the source of complete strings used for automatic completion. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Public PropertyAutoFillAutoCompleteCustomSourceGets or sets whether the AutoCompleteCustomSource is automatically filled with data from other cells in the column. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Public PropertyBackgroundImageGets or sets the background image for the cell. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Public PropertyButtonAlignGets or sets where the buttons are displayed in the cell. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Public PropertyDecimalPlacesGets or sets the number of decimal places.  
Public PropertyDecimalSeparatorGets or sets the decimal character.  
Public PropertyDropDownButtonGets or sets whether a drop-down button is displayed in the cell. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Public PropertyEnableSubEditorGets or sets whether the SubEditor is available. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Public PropertyFixedPointGets or sets whether to display zeros as placeholders in the decimal portion of the number for a fixed-point numeric display.  
Public PropertyFocusPositionGets or sets the initial cursor position. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Public PropertyFractionConvertWholeNumbersGets or sets whether to convert whole numbers to fractions when values are displayed as fractions.  
Public PropertyFractionCustomFormatGets or sets how values are displayed as fractions with custom formatting.  
Public PropertyFractionDenominatorDigitsGets or sets the number of digits when values are displayed as fractions.  
Public PropertyFractionDenominatorPrecisionGets or sets the precision when values are displayed as fractions.  
Public PropertyFractionModeGets or sets whether values are represented as fractions.  
Public PropertyFractionRenderOnlyGets or sets whether to allow fractions in edit mode when values are displayed as fractions.  
Public PropertyLeadingZeroGets or sets whether leading zeros are displayed.  
Public PropertyMaximumValueGets or sets the maximum value allowed for user input.  
Public PropertyMinimumValueGets or sets the minimum value allowed for user entry.  
Public PropertyNegativeFormatGets or sets how the value is formatted for negative values.  
Public PropertyNegativeRedGets or sets whether negative numeric values are displayed in red.  
Public PropertyNullDisplayGets or sets the text to display for null values. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Public PropertyOverflowCharacterGets or sets the character to use to replace the value if it does not fit the width of the display.  
Public PropertyReadOnlyGets or sets whether the cell is read-only (and thus cannot be modified). (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Public PropertySeparatorGets or sets the string used to separate thousands in a numeric value.  
Public PropertyShowSeparatorGets or sets whether to display the thousands separator string.  
Public PropertyShrinkToFitGets or sets whether to shrink the text to fit the cell. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Public PropertySpinButtonGets or sets whether a spin button is displayed when editing.  
Public PropertySpinDecimalIncrementGets or sets the amount by which the value increments when using the spin buttons and the cursor is in the decimal portion.  
Public PropertySpinIntegerIncrementGets or sets the amount by which the value increments when using the spin buttons and the cursor is in the integer portion.  
Public PropertySpinWrapGets or sets whether the value wraps when the minimum or maximum is reached.  
Public PropertyStaticGets or sets whether the cell is static, which prohibits user interaction. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Public PropertyStringTrimGets or sets how to trim characters that do not fit in the cell. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Public PropertySubEditorGets or sets the subeditor. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Public PropertyTextOrientationGets or sets how text orients itself when painting the cell. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Public PropertyTextRotationAngleGets or sets the rotation angle of the text for the cell. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Public PropertyWordWrapGets or sets whether text that is too long to fit in the cell wraps to additional lines. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
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 FarPoint.Win.Spread.CellType.EditBaseCellType)
Public MethodCancelEditingCancels the editing of a cell. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Public MethodCanOverflowDetermines whether the cell can overflow into adjacent cells. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Public MethodCloneOverridden. Creates and returns a numeric cell.  
Public MethodDeserializeOverridden. Loads the object from XML.  
Public MethodFormatOverridden. Formats the specified data into the format of the cell type and returns it as a string.  
Public MethodGetEditorControlOverloaded. Overridden. Gets the edit control for this cell type with the specified appearance and scaling.  
Public MethodGetEditorValueGets the unformatted value in the editor control. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Public MethodGetErrorIconBound (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Public MethodGetHorizontalAlignmentGets the horizontal alignment based on the value. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Public MethodGetPreferredSizeOverloaded. Overridden. Gets the preferred (maximum required) size of the cell for the editor control.  
Public MethodGetReservedCursorGets the cursor reserved for this cell type. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Public MethodGetReusableEditorControlImplementation of IReuseEditorControl.GetEditorControl for use by cell types. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Public MethodGetVerticalAlignmentGets the vertical alignment based on the value. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
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.EditBaseCellType)
Public MethodIsReservedLocationDetermines whether the specified cursor location has special meaning to the editor control. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Public MethodIsReusableChecks if this celltype is reusable.  
Public MethodIsValidOverridden. Determines whether the specified value can be converted to a double-precision, floating point value and is between the minimum and maximum allowed values.  
Public MethodPaintCellOverloaded. Overridden. Overrides the PaintCell to provide fraction support.  
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 MethodSetCalculatorTextSets the text for the pop-up calculator.  
Public MethodSetCurrentCultureGets or sets the current culture. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Public MethodSetEditorValueOverridden. Sets the value of the editor control.  
Public MethodShowSubEditorShows the subeditor control associated with the cell. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Public MethodStartEditingStarts the editing of a cell. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Public MethodStopEditingStops the editing of a cell. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Top
Protected Methods
 NameDescription
Protected MethodFireEditorValueChangedFires the EditorValueChanged event if there are any delegates attached. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Protected MethodGetNewFormatGets the format string for formatting the numeric value.  
Protected MethodGetSeparatorCharacterGets the separator character for formatting the numeric value.  
Protected MethodGetTextRectangleGets the rectangle in which text is drawn. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Protected MethodIsCaretInTheBeginningGets whether the caret is in the beginning. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Protected MethodIsCaretInTheEndGets whether the caret is at the end. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Protected MethodIsCaretInTheFirstLineGets whether the caret is in the first line. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Protected MethodIsCaretInTheLastLineGets whether the caret is in the last line. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Protected MethodPaintEnhancedConditionalFormatPaints the enhanced conditional format. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
Protected MethodToHorizontalAlignmentConverts a FarPoint.Win.Spread.CellHorizontalAlignment value to the corresponding FarPoint.Win.HorizontalAlignment value. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Protected MethodToVerticalAlignmentConverts a FarPoint.Win.Spread.CellVerticalAlignment value to the corresponding FarPoint.Win.VerticalAlignment value. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
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

NumberCellType Class
FarPoint.Win.Spread.CellType Namespace

User-Task Documentation

Setting a Number Cell
Working with Editable Cell Types

 

 


Copyright © GrapeCity, inc. All rights reserved.