C# Class Rock.Reporting.DataFilter.Group.GroupAttributesFilter

Inheritance: EntityFieldFilter
Afficher le fichier Open project: NewSpring/Rock

Méthodes publiques

Méthode Description
CreateChildControls ( Type entityType, FilterField filterControl, FilterMode filterMode ) : System.Web.UI.Control[]

Creates the child controls. Implement this version of CreateChildControls if your DataFilterComponent supports different FilterModes

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.

GetSelection ( Type entityType, Control controls, FilterMode filterMode ) : string

Gets the selection.

GetTitle ( Type entityType ) : string

Gets the title.

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

Renders the controls.

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

Sets the selection.

groupTypePicker_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the groupTypePicker control.

Méthodes protégées

Méthode Description
ddlProperty_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the ddlProperty control.

Private Methods

Méthode Description
GetGroupAttributes ( int groupTypeId ) : List

Gets the properties and attributes for the entity

Method Details

CreateChildControls() public méthode

Creates the child controls. Implement this version of CreateChildControls if your DataFilterComponent supports different FilterModes
public CreateChildControls ( Type entityType, FilterField filterControl, FilterMode filterMode ) : System.Web.UI.Control[]
entityType System.Type
filterControl Rock.Web.UI.Controls.FilterField
filterMode FilterMode
Résultat System.Web.UI.Control[]

FormatSelection() public méthode

Formats the selection.
public FormatSelection ( Type entityType, string selection ) : string
entityType System.Type
selection string The selection.
Résultat string

GetClientFormatSelection() public méthode

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
Résultat string

GetExpression() public méthode

Gets the expression.
public GetExpression ( Type entityType, IService serviceInstance, System.Linq.Expressions.ParameterExpression parameterExpression, string selection ) : Expression
entityType System.Type
serviceInstance IService The service instance.
parameterExpression System.Linq.Expressions.ParameterExpression The parameter expression.
selection string The selection.
Résultat System.Linq.Expressions.Expression

GetSelection() public méthode

Gets the selection.
public GetSelection ( Type entityType, Control controls, FilterMode filterMode ) : string
entityType System.Type Type of the entity.
controls System.Web.UI.Control The controls.
filterMode FilterMode
Résultat string

GetTitle() public méthode

Gets the title.
public GetTitle ( Type entityType ) : string
entityType System.Type Type of the entity.
Résultat string

RenderControls() public méthode

Renders the controls.
public RenderControls ( Type entityType, FilterField filterControl, System.Web.UI.HtmlTextWriter writer, Control controls, FilterMode filterMode ) : 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.
filterMode FilterMode
Résultat void

SetSelection() public méthode

Sets the selection.
public SetSelection ( Type entityType, Control controls, string selection ) : void
entityType System.Type
controls System.Web.UI.Control The controls.
selection string The selection.
Résultat void

ddlProperty_SelectedIndexChanged() protected méthode

Handles the SelectedIndexChanged event of the ddlProperty control.
protected ddlProperty_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

groupTypePicker_SelectedIndexChanged() public méthode

Handles the SelectedIndexChanged event of the groupTypePicker control.
public groupTypePicker_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void