GroupOrderAttribute class

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

Sets in which order this property should be grouped by. 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 by.

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

Public Members

name description
GroupOrderAttribute(…) Sets in which order this property should be grouped by. 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 by.
GroupOrder { get; } Gets the group order.

Remarks

Initializes a new instance of the GroupOrderAttribute class.

See Also