C# 클래스 ActivEarth.Groups.MembersDisplayTable

파일 보기 프로젝트 열기: mlcamilli/ActivEarth

보호된 프로퍼티들

프로퍼티 타입 설명
_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