Class GroupByElement
Represents defenition of group by element.
Inheritance
Inherited Members
Namespace: Mediachase.BusinessFoundation.Data.Meta.Management
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 12.17.2Syntax
public class GroupByElement
Remarks
A group by element defines information that can be used to reorder object list by group. The class stores information about field name, pre(post) group object fields and pre(post) group visibility.
Constructors
GroupByElement()
Initializes a new instance of the GroupByElement class.
Declaration
public GroupByElement()
GroupByElement(String)
Initializes a new instance of the GroupByElement class.
Declaration
public GroupByElement(string fieldName)
Parameters
Type | Name | Description |
---|---|---|
System.String | fieldName | Name of the field. |
Properties
DefaultSorting
Gets or sets the default sorting.
Declaration
public SortingElementType DefaultSorting { get; set; }
Property Value
Type | Description |
---|---|
SortingElementType | The default sorting. |
FieldName
Gets or sets the name of the field.
Declaration
public string FieldName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the field. |
IsPostGroupObjectVisible
Gets or sets a value indicating whether this instance is post group object visible.
Declaration
public bool IsPostGroupObjectVisible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IsPreGroupObjectVisible
Gets or sets a value indicating whether this instance is pre group object visible.
Declaration
public bool IsPreGroupObjectVisible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
PostGroupObjectFields
Gets or sets the post group object fields.
Declaration
public List<GroupByObjectField> PostGroupObjectFields { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<GroupByObjectField> | The post group object fields. |
PreGroupObjectFields
Gets or sets the pre group object fields.
Declaration
public List<GroupByObjectField> PreGroupObjectFields { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<GroupByObjectField> | The pre group object fields. |