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

Inheritance: DropDownColumn
Afficher le fichier Open project: zhuangyy/Motion Class Usage Examples

Méthodes publiques

Свойство Type Description
LongDateFormat string
ShortDateFormat string
TimeFormat string

Private Properties

Свойство Type Description
Init void
ShouldSerializeCustomDateTimeFormat bool

Méthodes publiques

Méthode 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

Méthode 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 méthode

Gets the Column's default CellEditor
public CreateDefaultEditor ( ) : ICellEditor
Résultat ICellEditor

CreateDefaultRenderer() public méthode

Gets the Column's default CellRenderer
public CreateDefaultRenderer ( ) : ICellRenderer
Résultat ICellRenderer

DateTimeColumn() public méthode

Creates a new DateTimeColumn with default values
public DateTimeColumn ( ) : System
Résultat System

DateTimeColumn() public méthode

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

DateTimeColumn() public méthode

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
Résultat System

DateTimeColumn() public méthode

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
Résultat System

DateTimeColumn() public méthode

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
Résultat System

DateTimeColumn() public méthode

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
Résultat System

DateTimeColumn() public méthode

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
Résultat System

GetDefaultEditorName() public méthode

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

GetDefaultRendererName() public méthode

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

Property Details

LongDateFormat public_oe static_oe property

Default long date format
public static string LongDateFormat
Résultat string

ShortDateFormat public_oe static_oe property

Default short date format
public static string ShortDateFormat
Résultat string

TimeFormat public_oe static_oe property

Default time format
public static string TimeFormat
Résultat string