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

Inheritance: RockTemplateField, INotRowSelectedField
ファイルを表示 Open project: NewSpring/Rock Class Usage Examples

Public Methods

Method Description
Initialize ( bool sortingEnabled, Control control ) : bool

Performs basic instance initialization for a data control field.

OnClick ( RowEventArgs e ) : void

Raises the E:Click event.

ToggleField ( ) : System

Initializes a new instance of the ToggleField class.

toggleFieldTemplate_CheckedChanged ( object sender, RowEventArgs e ) : void

Handles the CheckedChanged event of the toggleFieldTemplate control.

Method Details

Initialize() public method

Performs basic instance initialization for a data control field.
public Initialize ( bool sortingEnabled, Control control ) : bool
sortingEnabled bool A value that indicates whether the control supports the sorting of columns of data.
control System.Web.UI.Control The data control that owns the .
return bool

OnClick() public method

Raises the E:Click event.
public OnClick ( RowEventArgs e ) : void
e RowEventArgs The instance containing the event data.
return void

ToggleField() public method

Initializes a new instance of the ToggleField class.
public ToggleField ( ) : System
return System

toggleFieldTemplate_CheckedChanged() public method

Handles the CheckedChanged event of the toggleFieldTemplate control.
public toggleFieldTemplate_CheckedChanged ( object sender, RowEventArgs e ) : void
sender object The source of the event.
e RowEventArgs The instance containing the event data.
return void