C# Class Skybrud.Umbraco.GridData.GridRow

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

Public Methods

Method 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.

Protected Methods

Method Description
GridRow ( Newtonsoft.Json.Linq.JObject obj ) : System

Method Details

GetAllControls() public method

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

GetAllControls() public method

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.
return GridControl[]

GetAllControls() public method

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.
return GridControl[]

GridRow() protected method

protected GridRow ( Newtonsoft.Json.Linq.JObject obj ) : System
obj Newtonsoft.Json.Linq.JObject
return System

Parse() public static method

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.
return GridRow