C# Class 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.
Inheritance: Rock.Web.UI.RockBlock
Afficher le fichier Open project: NewSpring/Rock

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
ShowSettings ( ) : void

Shows the settings.

lbEdit_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbEdit control.

Method Details

GetAdministrateControls() public méthode

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.
Résultat List

ShowSettings() protected abstract méthode

Shows the settings.
protected abstract ShowSettings ( ) : void
Résultat void

lbEdit_Click() protected méthode

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.
Résultat void