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

Inheritance: RockBoundField
Show file Open project: NewSpring/Rock Class Usage Examples

Private Properties

Property Type Description
SetBadgeTypeByRules void

Public Methods

Method Description
BadgeField ( ) : System

Initializes a new instance of the BadgeField 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.

Private Methods

Method Description
SetBadgeTypeByRules ( BadgeRowEventArgs e ) : void

Method Details

BadgeField() public method

Initializes a new instance of the BadgeField class.
public BadgeField ( ) : 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