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

Наследование: System.Web.UI.UserControl
Показать файл Открыть проект

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

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

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

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

Formats the table of Messages based on the given list of Messages 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.

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

Метод Описание
MakeImageCellForRow ( User user ) : System.Web.UI.WebControls.TableCell

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

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

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

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

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

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

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

Formats the table of Messages based on the given list of Messages and colors.
public PopulateMessageTable ( List messages, Color backColors, Color textColors ) : void
messages 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

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

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

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