C# Class DotNetNuke.Extensions.Web.ControlExtensions

Exnteion methods for control.
Afficher le fichier Open project: JonHaywood/DotNetNuke.Extensions

Méthodes publiques

Méthode Description
FindControl ( this parentControl, bool>.Func filterFunc ) : Control

Finds the first control in the control hierarchy that matches the filter function.

FindControlById ( this parentControl, string id ) : Control

Finds the control by id.

FindControls ( this parentControl, bool>.Func filterFunc ) : List

Finds all controls that are in the control hierarchy below this control.

FindControlsByPrefix ( this parentControl, string idPrefix ) : List

Finds the controls by the ID prefix.

Private Methods

Méthode Description
FindControls ( Control parentControl, bool findOne, bool>.Func filterFunc ) : List

Finds all controls that are in the control hierarchy below this control.

Method Details

FindControl() public static méthode

Finds the first control in the control hierarchy that matches the filter function.
public static FindControl ( this parentControl, bool>.Func filterFunc ) : Control
parentControl this The parent control.
filterFunc bool>.Func Function that tests each control to see if it matches our criteria.
Résultat System.Web.UI.Control

FindControlById() public static méthode

Finds the control by id.
public static FindControlById ( this parentControl, string id ) : Control
parentControl this The parent control.
id string The id.
Résultat System.Web.UI.Control

FindControls() public static méthode

Finds all controls that are in the control hierarchy below this control.
public static FindControls ( this parentControl, bool>.Func filterFunc ) : List
parentControl this The parent control.
filterFunc bool>.Func Function that tests each control to see if it matches our criteria.
Résultat List

FindControlsByPrefix() public static méthode

Finds the controls by the ID prefix.
public static FindControlsByPrefix ( this parentControl, string idPrefix ) : List
parentControl this The parent control.
idPrefix string The id prefix.
Résultat List