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






Gets or sets a value that determines the number of groups displayed in the view.

Syntax

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

Remarks

Grouping data in UXScheduleView can make the schedule view look crowded and cluttered especially when you are displaying a lot of days in one view. To overcome this challenge, UXScheduleView limits the number of group item visible which can be customized through the NumberOfGroups property. You can then use the Next and Previous Group button at the top right of each view to navigate between groups.

Group By Copy Code
<Intersoft:UXScheduleView DisplayDate="1/2/2012" NumberOfGroups="3"
            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 group navigation buttons.

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.