Skip to main content
A newer version of this page is available. .

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.v19.1.dll

Declaration

public class VisualDayViewGroupByNone :
    VisualDayViewResourcesBasedViewInfo

Remarks

Important

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.

Example

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

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

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the VisualDayViewGroupByNone class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also