Intersoft.Client.UI.Data Namespace > UXGridView Class : GroupDescriptors Property |
<CategoryAttribute("Data Grouping")> Public ReadOnly Property GroupDescriptors As ObservableCollection(Of GroupDescription)
Dim instance As UXGridView Dim value As ObservableCollection(Of GroupDescription) value = instance.GroupDescriptors
[CategoryAttribute("Data Grouping")] public ObservableCollection<GroupDescription> GroupDescriptors {get;}
[CategoryAttribute("Data Grouping")] public: property ObservableCollection<GroupDescription^>^ GroupDescriptors { ObservableCollection<GroupDescription^>^ get(); }
To set a predefined group, you can specify the GroupDescriptors property in either XAML or code. You can also specify the default sort direction through the SortDirection property.
XAML |
Copy Code
|
---|---|
<Intersoft:UXGridView AutoGenerateColumns="False" ItemsSource="{Binding Products}"> <Intersoft:UXGridView.GroupDescriptors> <Intersoft:UXGridViewGroupDescriptor PropertyName="CategoryID" SortDirection="Descending"/> </Intersoft:UXGridView.GroupDescriptors> </Intersoft:UXGridView> |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2