Spread Windows Forms 8.0 Product Documentation
DateTimeCellType Class Members
Fields  Properties  Methods  Events


The following tables list the members exposed by DateTimeCellType.

Public Constructors
 NameDescription
Public ConstructorDateTimeCellType ConstructorOverloaded.   
Top
Public Fields
 NameDescription
Public Fieldstatic (Shared in Visual Basic)IncompleteValueGets the value returned from the editor if the editing value is partial and not empty.  
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 PropertyAMStringGets or sets the string to indicate morning for 12-hour time format.  
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 PropertyCalendarGets or sets the calendar for formatting date values.  
Public PropertyCalendarDayBackColorGets or sets the background color of the pop-up calendar in the date-time cell.  
Public PropertyCalendarDayFontGets or sets the text font of the pop-up calendar in the date-time cell.  
Public PropertyCalendarDayForeColorGets or sets the text color of the pop-up calendar in the date-time cell.  
Public PropertyCalendarMonthBackColorGets or sets the background color of the month part of the pop-up calendar in the date-time cell.  
Public PropertyCalendarMonthFontGets or sets the text font of the month part of the pop-up calendar in the date-time cell.  
Public PropertyCalendarMonthForeColorGets or sets the text color of the month part of the pop-up calendar in the date-time cell.  
Public PropertyCalendarMonthHeaderDockGets or sets how to dock the month header of the pop-up calendar in the date-time cell.  
Public PropertyCalendarMonthHeaderHeightGets or sets the height of the month header of the pop-up calendar in the date-time cell.  
Public PropertyCalendarMonthHeaderStyleGets or sets the style of the month header of the pop-up calendar in the date-time cell.  
Public PropertyCalendarShowSurroundingDaysGets or sets whether to show the surrounding days in the pop-up calendar in the date-time cell.  
Public PropertyCalendarSingleLineHeaderGets or sets the single line header of the pop-up calendar in the date-time cell.  
Public PropertyCalendarSurroundingDaysColorGets or sets the color of the surrounding days of the pop-up calendar in the date-time cell.  
Public PropertyCalendarWeekdayBackColorGets or sets the background color of the weekday part of the pop-up calendar in the date-time cell.  
Public PropertyCalendarWeekdayFontGets or sets the text font of the weekday part of the pop-up calendar in the date-time cell.  
Public PropertyCalendarWeekdayForeColorGets or sets the text color of the weekday part of the pop-up calendar in the date-time cell.  
Public PropertyCalendarWeekdayHeaderDockGets or sets how to dock the weekday header of the pop-up calendar in the date-time cell.  
Public PropertyCalendarWeekdayHeaderHeightGets or sets the height of the weekday header of the pop-up calendar in the date-time cell.  
Public PropertyCalendarYearBackColorGets or sets the background color of the year part of the pop-up calendar in the date-time cell.  
Public PropertyCalendarYearFontGets or sets the text font of the year part of the pop-up calendar in the date-time cell.  
Public PropertyCalendarYearForeColorGets or sets the text color of the year part of the pop-up calendar in the date-time cell.  
Public PropertyCalendarYearHeaderDockGets or sets how to dock the year header of the pop-up calendar in the date-time cell.  
Public PropertyCalendarYearHeaderHeightGets or sets the height of the year header of the pop-up calendar in the date-time cell.  
Public PropertyCalendarYearHeaderStyleGets or sets the style of the year header of the pop-up calendar in the date-time cell.  
Public PropertyDateDefaultGets or sets the default date for the control.  
Public PropertyDateSeparatorGets or sets the string that separates the portions of a date value.  
Public PropertyDateTimeFormatGets or sets the format for displaying dates and times.  
Public PropertyDayNamesGets or sets alternate day names for the control (use with UserDefinedFormat).  
Public PropertyDropDownButtonGets or sets whether a drop-down button is displayed in the cell. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Public PropertyEditorValueGets or sets what value is written to the underlying data model.  
Public PropertyEnableSubEditorGets or sets whether the SubEditor is available. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Public PropertyFocusPositionGets or sets the initial cursor position. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Public PropertyMaximumDateGets or sets the maximum date value allowed for user entry.  
Public PropertyMaximumTimeGets or sets the maximum time value allowed for user entry.  
Public PropertyMinimumDateGets or sets the minimum date value allowed for user entry.  
Public PropertyMinimumTimeGets or sets the minimum time value allowed for user entry.  
Public PropertyMonthNamesGets or sets alternate month names for the control (use with UserDefinedFormat).  
Public PropertyNullDisplayGets or sets the text to display for null values. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Public PropertyPMStringGets or sets the string to indicate afternoon and evening for 12-hour time format.  
Public PropertyReadOnlyGets or sets whether the cell is read-only (and thus cannot be modified). (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Public PropertyShortDayNamesGets or sets alternate short day names for the control (use with UserDefinedFormat).  
Public PropertyShortMonthNamesGets or sets alternate short month names for the control (use with UserDefinedFormat).  
Public PropertyShrinkToFitGets or sets whether to shrink the text to fit the cell. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Public PropertySimpleEditGets or sets whether the celltype ignores invalid character input while editing.  
Public PropertySpinButtonGets or sets whether a spin button is displayed while editing.  
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 PropertyTimeDefaultGets or sets the default time used in the control.  
Public PropertyTimeSeparatorGets or sets the string that separates the portions of a time value.  
Public PropertyTwoDigitYearMaxGets or sets the last year of a 100-year range that can be represented by a 2-digit year.  
Public PropertyUserDefinedFormatGets or sets the format used when the date-time format is user-defined.  
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 date-time 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 MethodGetEditorValueOverridden. Gets the unformatted value in the editor control.  
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 date-time value and is between the minimum and maximum allowed values.  
Public MethodPaintCellOverloaded. Paints (prints) the cell to PDF. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
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 MethodSetCalendarFormatSets the format to be used for the pop-up calendar header.  
Public MethodSetCalendarTextOverloaded. Sets the various text elements for the pop-up calendar, including the day and month names and the button text.  
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 MethodGetAMStringDesignatorGets the AM string for formatting time values.  
Protected MethodGetDateSeparatorStringGets the date separator string for formatting date values.  
Protected MethodGetDayNamesGets the long day names for formatting date values.  
Protected MethodGetLongDateFormatGets the long date format for formatting date values.  
Protected MethodGetMonthNamesGets the long month names for formatting date values.  
Protected MethodGetNewFormatGets the new format for formatting date values or time values or both.  
Protected MethodGetPMStringDesignatorGets the PM string for formatting time values.  
Protected MethodGetShortDateFormatGets the short date format for formatting date values.  
Protected MethodGetShortDayNamesGets the short day names for formatting date values.  
Protected MethodGetShortMonthNamesGets the short month names for formatting date values.  
Protected MethodGetTextRectangleGets the rectangle in which text is drawn. (Inherited from FarPoint.Win.Spread.CellType.EditBaseCellType)
Protected MethodGetTimeFormatGets the time format for formatting time values.  
Protected MethodGetTimeSeparatorStringGets the time separator string for formatting time values.  
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 MethodSetNewFormatSets the new format (returned by GetNewFormat) into the internal cell formatter.  
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

DateTimeCellType Class
FarPoint.Win.Spread.CellType Namespace

User-Task Documentation

Setting a Date-Time Cell
Working with Editable Cell Types

 

 


Copyright © GrapeCity, inc. All rights reserved.