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

Inheritance: System.Web.UI.WebControls.BoundField, IPriorityColumn, IRockGridField
Afficher le fichier Open project: NewSpring/Rock Class Usage Examples

Méthodes publiques

Méthode Description
GetExportValue ( System.Web.UI.WebControls.GridViewRow row ) : object

Gets the value that should be exported to Excel

Initialize ( bool sortingEnabled, Control control ) : bool

Performs basic instance initialization for a data control field.

Méthodes protégées

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

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.
Résultat string

GetExportValue() public méthode

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

Initialize() public méthode

Performs basic instance initialization for a data control field.
public Initialize ( bool sortingEnabled, Control control ) : bool
sortingEnabled bool A value that indicates whether the control supports the sorting of columns of data.
control System.Web.UI.Control The data control that owns the .
Résultat bool