Skip to main content

VisualDayViewGroupByNone Class

Provides information on visual elements displayed within the SchedulerControl, when the Day View or Work-Week View is the currently active view and no grouping is applied to appointments.

Namespace: DevExpress.Xpf.Scheduler.Drawing

Assembly: DevExpress.Xpf.Scheduler.v22.1.dll

NuGet Package: DevExpress.Wpf.Scheduler


public class VisualDayViewGroupByNone :



You are viewing documentation for the legacy WPF Scheduler control. If you’re starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.

The VisualDayViewGroupByNone class instance can be accessed via the SchedulerViewBase.VisualViewInfo property when the DayView or WorkWeekView is currently used by the SchedulerControl to show its data (the SchedulerControl.ActiveViewType property is set to SchedulerViewType.Day or SchedulerViewType.WorkWeek) and no grouping is applied to appointments (the SchedulerControl.GroupType property is set to SchedulerGroupType.None).

You can access the VisualDayViewGroupByNone class instance in the SchedulerControl.CustomizeVisualViewInfo event handler using the CustomizeVisualViewInfoEventArgs.VisualViewInfo property.

The VisualDayViewGroupByNone class instance can be created from a custom template. You can modify the template to adjust properties and settings as your need dictates.


The following code snippet illustrates how to change the width of the container that holds the Day view.

View Example

<Style x:Key="CustomDayViewGroupByNoneStyle" TargetType="{x:Type dxschd:VisualDayViewGroupByNone}">
    <Setter Property="Template">
            <ControlTemplate TargetType="{x:Type dxschd:VisualDayViewGroupByNone}">
                <dxschd:SharedGroupSizeContainer x:Name="DayViewContainer">
                    <dxschd:DayViewAppointmentInfoContainer x:Name="VisibleAptInfoContainer" Width="200">
See Also