C# Класс Rock.Web.UI.RockBlockCustomSettings

RockBlockCustomSettings is the base abstract class that a Blocks should use if it will implement a UI for custom settings (outside of the normal block properties). Any block property that has a category of "CustomSetting" will not appear in the normal block settings.
Наследование: Rock.Web.UI.RockBlock
Показать файл Открыть проект

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

Метод Описание
GetAdministrateControls ( bool canConfig, bool canEdit ) : List

Adds icons to the configuration area of a Rock.Model.Block instance. Can be overridden to add additional icons

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

Метод Описание
ShowSettings ( ) : void

Shows the settings.

lbEdit_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbEdit control.

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

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

Adds icons to the configuration area of a Rock.Model.Block instance. Can be overridden to add additional icons
public GetAdministrateControls ( bool canConfig, bool canEdit ) : List
canConfig bool A flag that indicates if the user can configure the instance. /// This value will be true if the user is allowed to configure the instance; otherwise false.
canEdit bool A flag that indicates if the user can edit the instance. /// This value will be true if the user is allowed to edit the instance; otherwise false.
Результат List

ShowSettings() защищенный абстрактный Метод

Shows the settings.
protected abstract ShowSettings ( ) : void
Результат void

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

Handles the Click event of the lbEdit control.
protected lbEdit_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void