Skip to content

GroupOrderAttribute class

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

Sets the order in which this property is grouped by default. This is only meaningful when a grid has grouping, and it sets the default grouped columns. The properties with this attribute are the default ones grouped by and their groupOrder determines in which order they are grouped.

[AttributeUsage(AttributeTargets.All)]
public class GroupOrderAttribute : Attribute
parameter description
groupOrder The group order.

Public Members

name description
GroupOrderAttribute(…) Sets the order in which this property is grouped by default. This is only meaningful when a grid has grouping, and it sets the default grouped columns. The properties with this attribute are the default ones grouped by and their groupOrder determines in which order they are grouped.
GroupOrder { get; } Gets the group order.

Remarks

Initializes a new instance of the GroupOrderAttribute class.

See Also