Back to Devexpress

ASPxCardView.GroupSelectorFillItems Event

aspnet-devexpress-dot-web-dot-aspxcardview-42db9c1b.md

latest2.2 KB
Original Source

ASPxCardView.GroupSelectorFillItems Event

Enables you to provide custom items in the group selector.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public event ASPxCardViewGroupSelectorFillItemsEventHandler GroupSelectorFillItems
vb
Public Event GroupSelectorFillItems As ASPxCardViewGroupSelectorFillItemsEventHandler

Event Data

The GroupSelectorFillItems event's data class is ASPxCardViewGroupSelectorFillItemsEventArgs. The following properties provide information specific to this event:

PropertyDescription
ItemsGets a collection of CardViewGroupSelectorItem items.

Remarks

The group selector is a combo box editor that provides a set of card view columns by which you can group cards. The GroupSelectorFillItems event is raised before the group selector is invoked and its default items are created. This enables you to provide your custom items to the group selector.

csharp
protected void ASPxCardView1_GroupSelectorFillItems(object source, ASPxCardViewGroupSelectorFillItemsEventArgs e) {
    e.Items.Add(new CardViewGroupSelectorItem("Group by two columns", ASPxCardView1.Columns["Group1"], ASPxCardView1.Columns["Group2"]));
}

See Also

Grouping Overview

ASPxCardView Class

ASPxCardView Members

DevExpress.Web Namespace