[]
Represents a GcTimeSpanCellType class.
public class GcTimeSpanCellType : 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, IDeserializationCallback
Public Class GcTimeSpanCellType
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, IDeserializationCallback
The GcTimeSpanCell allows you to design a functional date-time input interface quickly and efficiently.
Name | Description |
---|---|
GcTimeSpanCellType() | Initializes a new instance of the GcTimeSpanCellType class. |
GcTimeSpanCellType(SerializationInfo, StreamingContext) | Initializes a new instance of the GcTimeSpanCellType class. |
Name | Description |
---|---|
AcceptsCrLf | Gets or sets how to process the CrLf characters when copying, cutting, or pasting a string. |
AlternateText | Gets the alternate text setting. |
DefaultActiveField | Gets or sets the default active field. |
DisplayFields | Gets the display fields. |
ExcelExportFormat | Gets or sets the excel export format. |
Fields | Gets the fields. |
FocusPosition | Gets or sets the initial cursor position when the editor gets focus. |
MaxMinBehavior | Gets or sets the behavior when the new values are outside the range of MinValue and MaxValue. |
MaxValue | Gets or sets the maximum allowable value when using the spin button to change the field or value. |
MinValue | Gets or sets the minimum allowable value when using a spin button to change the field or value. |
NegativeColor | Gets or sets the color when the value's sign 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. |
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 the settings for the spin function. |
UseNegativeColor | Gets or sets whether to use GrapeCity.Win.Spread.InputMan.CellType.GcTimeSpan.NegativeColor to render negative values. |
ValidateMode | Gets or sets the validate mode. |
ValueSign | Gets or sets the value sign. |
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. |
GetDefaultFields() | Gets the default 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. |
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. |
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. |