Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.CellType Namespace / DateTimeCellType Class
Fields Properties Methods Events


In This Topic
    DateTimeCellType Class Members
    In This Topic

    The following tables list the members exposed by DateTimeCellType.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Fields
     NameDescription
    Public Fieldstatic (Shared in Visual Basic)Gets the value returned from the editor if the editing value is partial and not empty.  
    Top
    Protected Fields
     NameDescription
    Protected FieldInternal use only. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets how arrow keys are processed by the edit control. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
    Public PropertyGets or sets whether to allow arrow keys to move the active cell. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
    Public PropertyGets or sets whether to allow editor vertical align. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
    Public PropertyGets or sets the string to indicate morning for 12-hour time format.  
    Public PropertyGets or sets a custom string collection when the AutoCompleteSource property is set to CustomSource. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
    Public PropertyGets or sets how automatic completion works. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
    Public PropertyGets or sets the source of complete strings used for automatic completion. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
    Public PropertyGets or sets whether the AutoCompleteCustomSource is automatically filled with data from other cells in the column. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
    Public PropertyGets or sets the background image for the cell. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
    Public PropertyGets or sets where the buttons are displayed in the cell. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
    Public PropertyGets or sets the calendar for formatting date values.  
    Public PropertyGets or sets the background color of the pop-up calendar in the date-time cell.  
    Public PropertyGets or sets the text font of the pop-up calendar in the date-time cell.  
    Public PropertyGets or sets the text color of the pop-up calendar in the date-time cell.  
    Public PropertyGets or sets the background color of the month part of the pop-up calendar in the date-time cell.  
    Public PropertyGets or sets the text font of the month part of the pop-up calendar in the date-time cell.  
    Public PropertyGets or sets the text color of the month part of the pop-up calendar in the date-time cell.  
    Public PropertyGets or sets how to dock the month header of the pop-up calendar in the date-time cell.  
    Public PropertyGets or sets the height of the month header of the pop-up calendar in the date-time cell.  
    Public PropertyGets or sets the style of the month header of the pop-up calendar in the date-time cell.  
    Public PropertyGets or sets whether to show the surrounding days in the pop-up calendar in the date-time cell.  
    Public PropertyGets or sets the single line header of the pop-up calendar in the date-time cell.  
    Public PropertyGets or sets the color of the surrounding days of the pop-up calendar in the date-time cell.  
    Public PropertyGets or sets the background color of the weekday part of the pop-up calendar in the date-time cell.  
    Public PropertyGets or sets the text font of the weekday part of the pop-up calendar in the date-time cell.  
    Public PropertyGets or sets the text color of the weekday part of the pop-up calendar in the date-time cell.  
    Public PropertyGets or sets how to dock the weekday header of the pop-up calendar in the date-time cell.  
    Public PropertyGets or sets the height of the weekday header of the pop-up calendar in the date-time cell.  
    Public PropertyGets or sets the background color of the year part of the pop-up calendar in the date-time cell.  
    Public PropertyGets or sets the text font of the year part of the pop-up calendar in the date-time cell.  
    Public PropertyGets or sets the text color of the year part of the pop-up calendar in the date-time cell.  
    Public PropertyGets or sets how to dock the year header of the pop-up calendar in the date-time cell.  
    Public PropertyGets or sets the height of the year header of the pop-up calendar in the date-time cell.  
    Public PropertyGets or sets the style of the year header of the pop-up calendar in the date-time cell.  
    Public PropertyGets or sets the default date for the control.  
    Public PropertyGets or sets the string that separates the portions of a date value.  
    Public PropertyGets or sets the format for displaying dates and times.  
    Public PropertyGets or sets alternate day names for the control (use with UserDefinedFormat).  
    Public PropertyGets or sets whether a drop-down button is displayed in the cell. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
    Public PropertyGets or sets what value is written to the underlying data model.  
    Public PropertyGets or sets whether the SubEditor is available. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
    Public PropertyGets or sets the initial cursor position. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
    Public PropertyGets or sets a value indicating whether the value is formatted with GrapeCity.Spreadsheet.NumberFormat value. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
    Public PropertyGets or sets the maximum date value allowed for user entry.  
    Public PropertyGets or sets the maximum time value allowed for user entry.  
    Public PropertyGets or sets the minimum date value allowed for user entry.  
    Public PropertyGets or sets the minimum time value allowed for user entry.  
    Public PropertyGets or sets alternate month names for the control (use with UserDefinedFormat).  
    Public PropertyGets or sets the text to display for null values. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
    Public PropertyGets or sets the string to indicate afternoon and evening for 12-hour time format.  
    Public PropertyGets or sets whether the cell is read-only (and thus cannot be modified). (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
    Public PropertyGets or sets alternate short day names for the control (use with UserDefinedFormat).  
    Public PropertyGets or sets alternate short month names for the control (use with UserDefinedFormat).  
    Public PropertyGets or sets whether to shrink the text to fit the cell. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
    Public PropertyGets or sets whether the celltype ignores invalid character input while editing.  
    Public PropertyGets or sets whether a spin button is displayed while editing.  
    Public PropertyGets or sets whether the cell is static, which prohibits user interaction. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
    Public PropertyGets or sets how to trim characters that do not fit in the cell. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
    Public PropertyGets or sets the subeditor. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
    Public PropertyGets or sets how text orients itself when painting the cell. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
    Public PropertyGets or sets the rotation angle of the text for the cell. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
    Public PropertyGets or sets the default time used in the control.  
    Public PropertyGets or sets the string that separates the portions of a time value.  
    Public PropertyGets or sets the last year of a 100-year range that can be represented by a 2-digit year.  
    Public PropertyGets or sets the format used when the date-time format is user-defined.  
    Public PropertyGets 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 PropertyGets the conditional formatting settings. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
    Top
    Public Methods
     NameDescription
    Public MethodDetermines 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 MethodCancels the editing of a cell. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
    Public MethodDetermines whether the cell can overflow into adjacent cells. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
    Public MethodOverridden. Creates and returns a date-time cell.  
    Public MethodOverridden. Loads the object from XML.  
    Public MethodOverridden. Formats the specified data into the format of the cell type and returns it as a string.  
    Public MethodOverloaded. Overridden. Gets the edit control for this cell type with the specified appearance and scaling.  
    Public MethodOverridden. Gets the unformatted value in the editor control.  
    Public Method (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
    Public MethodGets the horizontal alignment based on the value. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
    Public MethodOverridden. Serializes the cell type.  
    Public MethodOverloaded. Overridden. Gets the preferred (maximum required) size of the cell for the editor control.  
    Public MethodGets the cursor reserved for this cell type. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
    Public MethodImplementation of IReuseEditorControl.GetEditorControl for use by cell types. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
    Public MethodGets the vertical alignment based on the value. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
    Public MethodOverridden. Initializes the editor control.  
    Public MethodGets whether the cell type supports the named property. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
    Public MethodDetermines whether the specified key has special meaning to the editor control. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
    Public MethodDetermines whether the specified cursor location has special meaning to the editor control. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
    Public MethodChecks if this celltype is reusable.  
    Public MethodOverridden. Determines whether the specified value can be converted to a date-time value and is between the minimum and maximum allowed values.  
    Public MethodOverloaded. Paints (prints) the cell to PDF. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
    Public MethodOverridden. Parses the specified string to the data type of the cell type and returns it as an object.  
    Public MethodOverridden. Saves the object to XML.  
    Public MethodSets the format to be used for the pop-up calendar header.  
    Public MethodOverloaded. Sets the various text elements for the pop-up calendar, including the day and month names and the button text.  
    Public MethodGets or sets the current culture. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
    Public MethodOverridden. Sets the value of the editor control.  
    Public MethodShows the subeditor control associated with the cell. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
    Public MethodStarts the editing of a cell. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
    Public MethodStops the editing of a cell. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
    Public MethodConverts the name of the cell type to a string. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
    Top
    Protected Methods
     NameDescription
    Protected MethodCreates a new object that is a copy of the current instance. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
    Protected MethodFires the EditingCanceled event if there are any delegates attached. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
    Protected MethodFires the EditingStopped event if there are any delegates attached. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
    Protected MethodFires the EditorValueChanged event if there are any delegates attached. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
    Protected MethodGets the AM string for formatting time values.  
    Protected MethodGets the date separator string for formatting date values.  
    Protected MethodGets the long day names for formatting date values.  
    Protected MethodGets the formatter which represents the behavior of this cell type. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
    Protected MethodGets the long date format for formatting date values.  
    Protected MethodGets the long month names for formatting date values.  
    Protected MethodGets the new format for formatting date values or time values or both.  
    Protected MethodGets the PM string for formatting time values.  
    Protected MethodGets the short date format for formatting date values.  
    Protected MethodGets the short day names for formatting date values.  
    Protected MethodGets the short month names for formatting date values.  
    Protected MethodGets the rectangle in which text is drawn. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
    Protected MethodGets the time format for formatting time values.  
    Protected MethodGets the time separator string for formatting time values.  
    Protected MethodGets whether the caret is in the beginning. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
    Protected MethodGets whether the caret is at the end. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
    Protected MethodGets whether the caret is in the first line. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
    Protected MethodGets whether the caret is in the last line. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
    Protected MethodPaints the enhanced conditional format. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
    Protected MethodParses the specified string to the data type of the cell type and returns it as an object. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
    Protected MethodSets the new format (returned by GetNewFormat) into the internal cell formatter.  
    Protected MethodConverts a FarPoint.Win.Spread.CellHorizontalAlignment value to the corresponding FarPoint.Win.HorizontalAlignment value. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
    Protected MethodConverts this cell type to the corresponding GrapeCity.Spreadsheet.NumberFormat value. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
    Protected MethodConverts 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 EventOccurs when editing (the editor control) has been canceled by the user. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
    Public EventOccurs when editing in the the editor control has been stopped by the user. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
    Public EventOccurs when the value in the editor control has been changed by the user. (Inherited from FarPoint.Win.Spread.CellType.BaseCellType)
    Top
    See Also