C# Class ZForge.Controls.XPTable.Models.DateTimeColumn

Inheritance: DropDownColumn
Mostrar archivo Open project: zhuangyy/Motion Class Usage Examples

Public Properties

Property Type Description
LongDateFormat string
ShortDateFormat string
TimeFormat string

Private Properties

Property Type Description
Init void
ShouldSerializeCustomDateTimeFormat bool

Public Methods

Method Description
CreateDefaultEditor ( ) : ICellEditor

Gets the Column's default CellEditor

CreateDefaultRenderer ( ) : ICellRenderer

Gets the Column's default CellRenderer

DateTimeColumn ( ) : System

Creates a new DateTimeColumn with default values

DateTimeColumn ( string text ) : System

Creates a new DateTimeColumn with the specified header text

DateTimeColumn ( string text, Image image ) : System

Creates a new DateTimeColumn with the specified header text and image

DateTimeColumn ( string text, Image image, int width ) : System

Creates a new DateTimeColumn with the specified header text, image and width

DateTimeColumn ( string text, Image image, int width, bool visible ) : System

Creates a new DateTimeColumn with the specified header text, image, width and visibility

DateTimeColumn ( string text, int width ) : System

Creates a new DateTimeColumn with the specified header text and width

DateTimeColumn ( string text, int width, bool visible ) : System

Creates a new DateTimeColumn with the specified header text, width and visibility

GetDefaultEditorName ( ) : string

Gets a string that specifies the name of the Column's default CellEditor

GetDefaultRendererName ( ) : string

Gets a string that specifies the name of the Column's default CellRenderer

Private Methods

Method Description
Init ( ) : void

Initializes the DateTimeColumn with default values

ShouldSerializeCustomDateTimeFormat ( ) : bool

Specifies whether the CustomDateTimeFormat property should be serialized at design time

Method Details

CreateDefaultEditor() public method

Gets the Column's default CellEditor
public CreateDefaultEditor ( ) : ICellEditor
return ICellEditor

CreateDefaultRenderer() public method

Gets the Column's default CellRenderer
public CreateDefaultRenderer ( ) : ICellRenderer
return ICellRenderer

DateTimeColumn() public method

Creates a new DateTimeColumn with default values
public DateTimeColumn ( ) : System
return System

DateTimeColumn() public method

Creates a new DateTimeColumn with the specified header text
public DateTimeColumn ( string text ) : System
text string The text displayed in the column's header
return System

DateTimeColumn() public method

Creates a new DateTimeColumn with the specified header text and image
public DateTimeColumn ( string text, Image image ) : System
text string The text displayed in the column's header
image Image The image displayed on the column's header
return System

DateTimeColumn() public method

Creates a new DateTimeColumn with the specified header text, image and width
public DateTimeColumn ( string text, Image image, int width ) : System
text string The text displayed in the column's header
image Image The image displayed on the column's header
width int The column's width
return System

DateTimeColumn() public method

Creates a new DateTimeColumn with the specified header text, image, width and visibility
public DateTimeColumn ( string text, Image image, int width, bool visible ) : System
text string The text displayed in the column's header
image Image The image displayed on the column's header
width int The column's width
visible bool Specifies whether the column is visible
return System

DateTimeColumn() public method

Creates a new DateTimeColumn with the specified header text and width
public DateTimeColumn ( string text, int width ) : System
text string The text displayed in the column's header
width int The column's width
return System

DateTimeColumn() public method

Creates a new DateTimeColumn with the specified header text, width and visibility
public DateTimeColumn ( string text, int width, bool visible ) : System
text string The text displayed in the column's header
width int The column's width
visible bool Specifies whether the column is visible
return System

GetDefaultEditorName() public method

Gets a string that specifies the name of the Column's default CellEditor
public GetDefaultEditorName ( ) : string
return string

GetDefaultRendererName() public method

Gets a string that specifies the name of the Column's default CellRenderer
public GetDefaultRendererName ( ) : string
return string

Property Details

LongDateFormat public_oe static_oe property

Default long date format
public static string LongDateFormat
return string

ShortDateFormat public_oe static_oe property

Default short date format
public static string ShortDateFormat
return string

TimeFormat public_oe static_oe property

Default time format
public static string TimeFormat
return string