SaaS CMS has officially launched! Learn more now.

Class GroupByElement

Represents defenition of group by element.

Inheritance
System.Object
GroupByElement
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.BusinessFoundation.Data.Meta.Management
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 11.8.3
Syntax
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

true if this instance is post group object visible; otherwise, false.

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

true if this instance is pre group object visible; otherwise, false.

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.