C# Class Rock.Web.UI.Controls.ToggleFieldTemplate

Template used by the ToggleField control
Inheritance: ITemplate
显示文件 Open project: NewSpring/Rock Class Usage Examples

Private Properties

Property Type Description
toggle_CheckedChanged void
toggle_DataBinding void
toggle_PreRender void

Public Methods

Method Description
InstantiateIn ( Control container ) : void

When implemented by a class, defines the T:System.Web.UI.Control object that child controls and templates belong to. These child controls are in turn defined within an inline template.

Private Methods

Method Description
toggle_CheckedChanged ( object sender, EventArgs e ) : void

Handles the CheckedChanged event of the Toggle control.

toggle_DataBinding ( object sender, EventArgs e ) : void

Handles the DataBinding event of the Toggle control.

toggle_PreRender ( object sender, EventArgs e ) : void

Handles the PreRender event of the toggle control.

Method Details

InstantiateIn() public method

When implemented by a class, defines the T:System.Web.UI.Control object that child controls and templates belong to. These child controls are in turn defined within an inline template.
public InstantiateIn ( Control container ) : void
container System.Web.UI.Control The object to contain the instances of controls from the inline template.
return void