C# Class Skybrud.Umbraco.GridData.GridRow

Class representing a row in an Umbraco Grid.
Inheritance: Skybrud.Umbraco.GridData.Json.GridJsonObject
Afficher le fichier Open project: skybrud/Skybrud.Umbraco.GridData Class Usage Examples

Méthodes publiques

Méthode Description
GetAllControls ( ) : GridControl[]

Gets an array of all nested controls.

GetAllControls ( bool>.Func predicate ) : GridControl[]

Gets an array of all nested controls matching the specified predicate.

GetAllControls ( string alias ) : GridControl[]

Gets an array of all nested controls with the specified editor alias.

Parse ( GridSection section, Newtonsoft.Json.Linq.JObject obj ) : GridRow

Parses a row from the specified obj.

Méthodes protégées

Méthode Description
GridRow ( Newtonsoft.Json.Linq.JObject obj ) : System

Method Details

GetAllControls() public méthode

Gets an array of all nested controls.
public GetAllControls ( ) : GridControl[]
Résultat GridControl[]

GetAllControls() public méthode

Gets an array of all nested controls matching the specified predicate.
public GetAllControls ( bool>.Func predicate ) : GridControl[]
predicate bool>.Func The predicate (callback function) used for comparison.
Résultat GridControl[]

GetAllControls() public méthode

Gets an array of all nested controls with the specified editor alias.
public GetAllControls ( string alias ) : GridControl[]
alias string The editor alias of controls to be returned.
Résultat GridControl[]

GridRow() protected méthode

protected GridRow ( Newtonsoft.Json.Linq.JObject obj ) : System
obj Newtonsoft.Json.Linq.JObject
Résultat System

Parse() public static méthode

Parses a row from the specified obj.
public static Parse ( GridSection section, Newtonsoft.Json.Linq.JObject obj ) : GridRow
section GridSection The parent section of the row.
obj Newtonsoft.Json.Linq.JObject The instance of JObject to be parsed.
Résultat GridRow