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

Inheritance: RockBoundField
显示文件 Open project: NewSpring/Rock Class Usage Examples

Public Methods

Method Description
GetDefinedValue ( object dataValue ) : DefinedValueCache

Gets the defined value from data value.

GetExportValue ( System.Web.UI.WebControls.GridViewRow row ) : object

Gets the value that should be exported to Excel

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

GetDefinedValue() public method

Gets the defined value from data value.
public GetDefinedValue ( object dataValue ) : DefinedValueCache
dataValue object The data value.
return DefinedValueCache

GetExportValue() public method

Gets the value that should be exported to Excel
public GetExportValue ( System.Web.UI.WebControls.GridViewRow row ) : object
row System.Web.UI.WebControls.GridViewRow
return object