C# Класс ActivEarth.Groups.GroupsDisplayTable

Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
_groupsTable global::System.Web.UI.WebControls.Table

Открытые методы

Метод Описание
PopulateGroupsTable ( List groups, Color backColors, Color textColors ) : void

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

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
MakeButtonCellForRow ( int groupID, int leaveOrJoin ) : TableCell

Formats a cell to add to the row with a button allowing the User to join the Group if they are not a Member and to leave the Group if the User is not a Member of the Group.

MakeLinkCellForRow ( string text, int groupId, Color textColor ) : 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 ) : TableRow

Formats a single row to the table using the given Groups.

MakeTextCellForRow ( string text, Color textColor ) : TableCell

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

MembersContains ( List members, User user ) : Boolean

Determines whether or not the given user is in the list of Members.

joinClick ( object sender, EventArgs e ) : void

Method called when a Join Button is clicked allowing the User to join the Group.

quitClick ( object sender, EventArgs e ) : void

Method called when a Leave Button is clicked allowing the User to leave the Group.

Описание методов

Page_Load() защищенный Метод

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 EventArgs
Результат void

PopulateGroupsTable() публичный Метод

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 The list of messages to display in the table
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
Результат void

Описание свойств

_groupsTable защищенное свойство

_groupsTable control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Table _groupsTable
Результат global::System.Web.UI.WebControls.Table