C# Класс ZForge.Controls.XPTable.Models.DateTimeColumn

Наследование: DropDownColumn
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
LongDateFormat string
ShortDateFormat string
TimeFormat string

Private Properties

Свойство Тип Описание
Init void
ShouldSerializeCustomDateTimeFormat bool

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
Init ( ) : void

Initializes the DateTimeColumn with default values

ShouldSerializeCustomDateTimeFormat ( ) : bool

Specifies whether the CustomDateTimeFormat property should be serialized at design time

Описание методов

CreateDefaultEditor() публичный Метод

Gets the Column's default CellEditor
public CreateDefaultEditor ( ) : ICellEditor
Результат ICellEditor

CreateDefaultRenderer() публичный Метод

Gets the Column's default CellRenderer
public CreateDefaultRenderer ( ) : ICellRenderer
Результат ICellRenderer

DateTimeColumn() публичный Метод

Creates a new DateTimeColumn with default values
public DateTimeColumn ( ) : System
Результат System

DateTimeColumn() публичный Метод

Creates a new DateTimeColumn with the specified header text
public DateTimeColumn ( string text ) : System
text string The text displayed in the column's header
Результат System

DateTimeColumn() публичный Метод

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
Результат System

DateTimeColumn() публичный Метод

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
Результат System

DateTimeColumn() публичный Метод

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
Результат System

DateTimeColumn() публичный Метод

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
Результат System

DateTimeColumn() публичный Метод

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
Результат System

GetDefaultEditorName() публичный Метод

Gets a string that specifies the name of the Column's default CellEditor
public GetDefaultEditorName ( ) : string
Результат string

GetDefaultRendererName() публичный Метод

Gets a string that specifies the name of the Column's default CellRenderer
public GetDefaultRendererName ( ) : string
Результат string

Описание свойств

LongDateFormat публичное статическое свойство

Default long date format
public static string LongDateFormat
Результат string

ShortDateFormat публичное статическое свойство

Default short date format
public static string ShortDateFormat
Результат string

TimeFormat публичное статическое свойство

Default time format
public static string TimeFormat
Результат string