C# Class ActivEarth.Groups.OwnedGroupsDisplayTable

Inheritance: System.Web.UI.UserControl
Afficher le fichier Open project: mlcamilli/ActivEarth

Protected Properties

Свойство Type Description
_ownedGroupsTable global::System.Web.UI.WebControls.Table

Méthodes publiques

Méthode Description
PopulateGroupsTable ( List groups, Color backColors, Color textColors ) : void

Formats the table of Groups based on the given list of Groups and colors.

Méthodes protégées

Méthode Description
Page_Load ( object sender, EventArgs e ) : void

This is a component, so no work is required when it loads. The population of the table is handled by the page ASP.

Private Methods

Méthode Description
MakeLinkCellForRow ( string text, int groupId, Color textColor ) : System.Web.UI.WebControls.TableCell

Formats a cell to add to the row containing the given text linking to the given Group ID.

MakeRowForTable ( ActivEarth group, Color backColor, Color textColor ) : System.Web.UI.WebControls.TableRow

Formats a single row to the table with the given Group's information.

MakeTextCellForRow ( string text, Color textColor ) : System.Web.UI.WebControls.TableCell

Formats a cell to add to the row containing the given text.

Method Details

Page_Load() protected méthode

This is a component, so no work is required when it loads. The population of the table is handled by the page ASP.
protected Page_Load ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

PopulateGroupsTable() public méthode

Formats the table of Groups based on the given list of Groups and colors.
public PopulateGroupsTable ( List groups, Color backColors, Color textColors ) : void
groups List
backColors Color The list of alternating background colors to display in the table
textColors Color The list of alternating text colors to display in the table
Résultat void

Property Details

_ownedGroupsTable protected_oe property

_ownedGroupsTable control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Table _ownedGroupsTable
Résultat global::System.Web.UI.WebControls.Table