C# Class RockWeb.Blocks.Cms.PageMenu

Inheritance: Rock.Web.UI.RockBlock, ISecondaryBlock
Show file Open project: CentralAZ/Rockit-CentralAZ

Public Methods

Method Description
SetVisible ( bool visible ) : void

Will not display the block information if it is considered a secondary block and secondary blocks are being hidden.

Protected Methods

Method Description
OnInit ( EventArgs e ) : void
OnPreRender ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.PreRender event.

PageMenu_BlockUpdated ( object sender, EventArgs e ) : void

Handles the BlockUpdated event of the PageMenu control.

Private Methods

Method Description
CacheKey ( ) : string
GetTemplate ( ) : Template
Render ( ) : void

Method Details

OnInit() protected method

protected OnInit ( EventArgs e ) : void
e System.EventArgs
return void

OnPreRender() protected method

Raises the E:System.Web.UI.Control.PreRender event.
protected OnPreRender ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
return void

PageMenu_BlockUpdated() protected method

Handles the BlockUpdated event of the PageMenu control.
protected PageMenu_BlockUpdated ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

SetVisible() public method

Will not display the block information if it is considered a secondary block and secondary blocks are being hidden.
public SetVisible ( bool visible ) : void
visible bool if set to true [visible].
return void