C# Класс Rock.Web.UI.Controls.ToggleField

Наследование: RockTemplateField, INotRowSelectedField
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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.

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

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

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 .
Результат bool

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

Raises the E:Click event.
public OnClick ( RowEventArgs e ) : void
e RowEventArgs The instance containing the event data.
Результат void

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

Initializes a new instance of the ToggleField class.
public ToggleField ( ) : System
Результат System

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

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.
Результат void