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

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

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

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

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

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

Formats the preview table of Users on the Group Page based on the given list of Users and colors.

PopulateMembersTable_Owner ( List users, Color backColors, Color textColors ) : void

Formats the table of all Users in the Group with the option to remove users for the Owner of the group.

PopulateMembersTable_SeeAll ( List users, Color backColors, Color textColors ) : void

Formats the table of all Users in the Group based on the given list of Users 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.

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

Метод Описание
MakeBootCellForRow ( int userId ) : TableCell

Formats a cell to add to the row with a button allowing the Owner to remove the User from the Group.

MakeImageCellForRow ( User user ) : TableCell

Formats a cell to add to the row containing the given User's picture.

MakeRowForOwnerTable ( User user, Color backColor, Color textColor ) : TableRow

Formats a single row for the Owner's table containing the given User.

MakeRowForSeeAllTable ( User user, Color backColor, Color textColor ) : TableRow

Formats a single row for the table of all Users containing the given User.

MakeTextCellForRow ( string text, Color textColor ) : TableCell

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

bootClick ( object sender, EventArgs e ) : void

Method called when a Remove User Button is clicked allowing the Owner to remove the User from the Group.

getUserImageUrl ( User user, string imageSizeName ) : string

Returns the relative url for an image. Current image sizes are: - icon: a 150x150 image for the user's profile

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

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

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

Formats the preview table of Users on the Group Page based on the given list of Users and colors.
public PopulateMembersTable_Display ( List users, Color backColors, Color textColors ) : void
users List The list of users 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

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

Formats the table of all Users in the Group with the option to remove users for the Owner of the group.
public PopulateMembersTable_Owner ( List users, Color backColors, Color textColors ) : void
users List The list of users 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

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

Formats the table of all Users in the Group based on the given list of Users and colors.
public PopulateMembersTable_SeeAll ( List users, Color backColors, Color textColors ) : void
users List The list of users 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

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

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

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