[]
Represents a numeric cell formatted as a percent value.
public class PercentCellType : EditBaseCellType, ICellType, IEditor, ICloneable, IPropertyAllowedSupport, INotifyEditorValueChanged, IEnhancedPdfRenderer, IPdfSupport, IAllowArrowKeysMoveActiveCell, IErrorIconSupport, IEditorVerticaAlignSupport, ICellType, ICloneable<ICellType>, INumFmtSupportCellType, ISerializeSupport, IEditFormula, IRenderAlignment, IReadOnlySupport, IStaticSupport, IWordWrapSupport, IDisposable, IFormulaEditingSupport, IAutoCompleteSupport, IShrinkToFitSupport, IFormatter, IStringTrimmingSupport, ITextOrientationSupport2, ITextOrientationSupport, IEnhancedRenderer, IRenderer, IDisplayFormulaSupport, ISerializable, IReuseEditorControl2, IReuseEditorControl
Public Class PercentCellType
Inherits EditBaseCellType
Implements ICellType, IEditor, ICloneable, IPropertyAllowedSupport, INotifyEditorValueChanged, IEnhancedPdfRenderer, IPdfSupport, IAllowArrowKeysMoveActiveCell, IErrorIconSupport, IEditorVerticaAlignSupport, ICellType, ICloneable(Of ICellType), INumFmtSupportCellType, ISerializeSupport, IEditFormula, IRenderAlignment, IReadOnlySupport, IStaticSupport, IWordWrapSupport, IDisposable, IFormulaEditingSupport, IAutoCompleteSupport, IShrinkToFitSupport, IFormatter, IStringTrimmingSupport, ITextOrientationSupport2, ITextOrientationSupport, IEnhancedRenderer, IRenderer, IDisplayFormulaSupport, ISerializable, IReuseEditorControl2, IReuseEditorControl
Name | Description |
---|---|
PercentCellType() | Creates a new percent cell with default settings. |
PercentCellType(PercentCellType) | Creates a new copy from the specified cell type ("Copy constructor"). |
PercentCellType(SerializationInfo, StreamingContext) | Creates a new percent cell from serialization. |
Name | Description |
---|---|
DecimalPlaces | Gets or sets the number of decimal places. |
DecimalSeparator | Gets or sets the decimal character. |
FixedPoint | Gets or sets whether to display zeros as placeholders in the decimal portion of the number for a fixed-point numeric display. |
LeadingZero | Gets or sets whether leading zeros are displayed. |
MaximumValue | Gets or sets the maximum value allowed for user entry. |
MinimumValue | Gets or sets the minimum value allowed for user entry. |
NegativeFormat | Gets or sets the format for displaying a negative value. |
NegativeRed | Gets or sets whether negative numeric values are displayed in red. |
PercentSign | Gets or sets the character to display as the percent sign. |
PositiveFormat | Gets or sets the format for displaying a positive value. |
Separator | Gets or sets the string used to separate thousands in a numeric value. |
ShowSeparator | Gets or sets whether to display the thousands separator string. |
SpinButton | Gets or sets whether a spin button is displayed when editing. |
SpinDecimalIncrement | Gets or sets the amount by which the value increments when using the spin buttons and the cursor is in the decimal portion. |
SpinIntegerIncrement | Gets or sets the amount by which the value increments when using the spin buttons and the cursor is in the integer portion. |
SpinWrap | Gets or sets whether the value wraps when the minimum or maximum is reached. |
Name | Description |
---|---|
Clone() | Creates and returns a percent 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. |
GetEditorControl(Appearance, float) | Gets the edit control for this cell type with the specified appearance and scaling. |
GetEditorControl(Control, 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. |
GetNewFormat() | Gets the new format string for formatting percent values. |
GetObjectData(SerializationInfo, StreamingContext) | Serializes the cell type. |
GetPercentSignString() | Gets the percent symbol string for formatting percent values. |
GetPreferredSize(Graphics, Size, Appearance, object, float) | Retrieves the size of a rectangular area into which a control fits. |
GetSeparatorCharacter() | Gets the separator character string for formatting percent values. |
InitializeEditorControl(Control, Appearance, float) | Initializes the editor control. |
IsReusable(Control) | Checks if this celltype is reusable. |
IsValid(object) | Determines whether the specified value can be converted to a double-precision, floating point value and is between the minimum and maximum allowed values. |
PaintCell(Graphics, Rectangle, Appearance, object, bool, bool, float) | Paints the cell, when not in edit mode, to the specified graphics interface with the specified appearance settings. |
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. |
SetCalculatorText(string, string) | Sets the text for the pop-up calculator. |
SetEditorValue(object) | Sets the value of the editor control. |
SetNewFormat() | Sets the new format (returned by GetNewFormat) into the internal cell formatter. |