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

Inheritance: RockBoundField
Datei anzeigen Open project: NewSpring/Rock Class Usage Examples

Public Methods

Method Description
DateTimeField ( ) : System

Initializes a new instance of the DateTimeField class.

Initialize ( bool enableSorting, Control control ) : bool

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

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

DateTimeField() public method

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

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