C# Класс Rock.Reporting.DataFilter.Person.InGroupFilter

Наследование: DataFilterComponent
Показать файл Открыть проект

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

Метод Описание
CreateChildControls ( Type entityType, FilterField filterControl ) : System.Web.UI.Control[]

Creates the child controls.

FormatSelection ( Type entityType, string selection ) : string

Formats the selection.

GetClientFormatSelection ( Type entityType ) : string

Formats the selection on the client-side. When the filter is collapsed by the user, the Filterfield control will set the description of the filter to whatever is returned by this property. If including script, the controls parent container can be referenced through a '$content' variable that is set by the control before referencing this property.

GetExpression ( Type entityType, IService serviceInstance, System.Linq.Expressions.ParameterExpression parameterExpression, string selection ) : Expression

Gets the expression.

GetGroupFilterClientSelection ( bool not ) : string

Gets the group filter client selection based on if we are in "Not" mode

GetSelection ( Type entityType, Control controls ) : string

Gets the selection.

GetTitle ( Type entityType ) : string

Gets the title.

GroupFilterFormatSelection ( string selection, bool not ) : string

Formats the selection for the InGroupFilter/NotInGroupFilter based on if we are in "Not" mode

RenderControls ( Type entityType, FilterField filterControl, System.Web.UI.HtmlTextWriter writer, Control controls ) : void

Renders the controls.

SetSelection ( Type entityType, Control controls, string selection ) : void

Sets the selection.

Защищенные методы

Метод Описание
gp_SelectItem ( object sender, EventArgs e ) : void

Handles the SelectItem event of the gp control.

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

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

Creates the child controls.
public CreateChildControls ( Type entityType, FilterField filterControl ) : System.Web.UI.Control[]
entityType System.Type
filterControl Rock.Web.UI.Controls.FilterField
Результат System.Web.UI.Control[]

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

Formats the selection.
public FormatSelection ( Type entityType, string selection ) : string
entityType System.Type Type of the entity.
selection string The selection.
Результат string

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

Formats the selection on the client-side. When the filter is collapsed by the user, the Filterfield control will set the description of the filter to whatever is returned by this property. If including script, the controls parent container can be referenced through a '$content' variable that is set by the control before referencing this property.
public GetClientFormatSelection ( Type entityType ) : string
entityType System.Type
Результат string

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

Gets the expression.
public GetExpression ( Type entityType, IService serviceInstance, System.Linq.Expressions.ParameterExpression parameterExpression, string selection ) : Expression
entityType System.Type Type of the entity.
serviceInstance IService The service instance.
parameterExpression System.Linq.Expressions.ParameterExpression The parameter expression.
selection string The selection.
Результат System.Linq.Expressions.Expression

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

Gets the group filter client selection based on if we are in "Not" mode
public GetGroupFilterClientSelection ( bool not ) : string
not bool if set to true [not].
Результат string

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

Gets the selection.
public GetSelection ( Type entityType, Control controls ) : string
entityType System.Type Type of the entity.
controls System.Web.UI.Control The controls.
Результат string

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

Gets the title.
public GetTitle ( Type entityType ) : string
entityType System.Type
Результат string

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

Formats the selection for the InGroupFilter/NotInGroupFilter based on if we are in "Not" mode
public GroupFilterFormatSelection ( string selection, bool not ) : string
selection string The selection.
not bool if set to true [not].
Результат string

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

Renders the controls.
public RenderControls ( Type entityType, FilterField filterControl, System.Web.UI.HtmlTextWriter writer, Control controls ) : void
entityType System.Type Type of the entity.
filterControl Rock.Web.UI.Controls.FilterField The filter control.
writer System.Web.UI.HtmlTextWriter The writer.
controls System.Web.UI.Control The controls.
Результат void

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

Sets the selection.
public SetSelection ( Type entityType, Control controls, string selection ) : void
entityType System.Type Type of the entity.
controls System.Web.UI.Control The controls.
selection string The selection.
Результат void

gp_SelectItem() защищенный Метод

Handles the SelectItem event of the gp control.
protected gp_SelectItem ( object sender, EventArgs e ) : void
sender object The source of the event.
e EventArgs The instance containing the event data.
Результат void