C# Class Rock.Web.UI.Controls.TimeField

Inheritance: RockBoundField
ファイルを表示 Open project: NewSpring/Rock

Public Methods

Method Description
Initialize ( bool enableSorting, Control control ) : bool

Initializes the T:System.Web.UI.WebControls.BoundField object.

TimeField ( ) : System

Initializes a new instance of the DateField class.

Protected Methods

Method Description
FormatDataValue ( object dataValue, bool encode ) : string

Formats the specified field value for a cell in the T:System.Web.UI.WebControls.BoundField object.

Method Details

FormatDataValue() protected method

Formats the specified field value for a cell in the T:System.Web.UI.WebControls.BoundField object.
protected FormatDataValue ( object dataValue, bool encode ) : string
dataValue object The field value to format.
encode bool true to encode the value; otherwise, false.
return string

Initialize() public method

Initializes the T:System.Web.UI.WebControls.BoundField object.
public Initialize ( bool enableSorting, Control control ) : bool
enableSorting bool true if sorting is supported; otherwise, false.
control System.Web.UI.Control The data control that owns the .
return bool

TimeField() public method

Initializes a new instance of the DateField class.
public TimeField ( ) : System
return System