Intersoft ClientUI Documentation
GroupBy Property
See Also  Send Feedback
Intersoft.Client.UI.ScheduleView Namespace > UXScheduleView Class : GroupBy Property






Gets or sets a value that determines the group by condition.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Common Properties")>
Public Property GroupBy As GroupByMode
Visual Basic (Usage)Copy Code
Dim instance As UXScheduleView
Dim value As GroupByMode
 
instance.GroupBy = value
 
value = instance.GroupBy
C# 
[CategoryAttribute("Common Properties")]
public GroupByMode GroupBy {get; set;}
Delphi 
public read-write property GroupBy: GroupByMode; 
JScript 
CategoryAttribute("Common Properties")
public function get,set GroupBy : GroupByMode
Managed Extensions for C++ 
[CategoryAttribute("Common Properties")]
public: __property GroupByMode get_GroupBy();
public: __property void set_GroupBy( 
   GroupByMode value
);
C++/CLI 
[CategoryAttribute("Common Properties")]
public:
property GroupByMode GroupBy {
   GroupByMode get();
   void set (    GroupByMode value);
}

Remarks

To enable data grouping in UXScheduleView, you can set either the GroupBy property or GroupCollection property. The GroupBy property is used to group the data based on provided categories or resources, while the GroupCollection property offers a more flexible way to group data including nested grouping capability.

When the data is grouped, you can not move an item from one group to another group using the drag-drop feature in UXScheduleView.
Group By Copy Code
<Intersoft:UXScheduleView DisplayDate="1/2/2012"
            EventsSource="{Binding Events}" CategoriesSource="{Binding Categories}" ResourcesSource="{Binding Resources}"
            GroupBy="Resources">
    <Intersoft:UXScheduleDayView/>
    <Intersoft:UXScheduleWorkWeekView IsActive="True"/>
    <Intersoft:UXScheduleWeekView/>
    <Intersoft:UXScheduleMonthView/>
</Intersoft:UXScheduleView>

The following figure shows the schedule data grouped by resources.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.