Skip to main content

CalendarClient Class

Shows a calendar within the range control’s viewport.

Namespace: DevExpress.WinUI.Controls

Assembly: DevExpress.WinUI.RangeControl.v23.2.dll

NuGet Package: DevExpress.WinUI

Declaration

public class CalendarClient :
    CalendarClientBase

Remarks

To display a calendar within a RangeControl, assign a CalendarClient instance to the RangeControl.Client property.

<Window ...
    xmlns:dxc="using:DevExpress.WinUI.Controls">
    <Grid>
        <dxc:RangeControl>
            <dxc:CalendarClient>
                <dxc:CalendarClient.IntervalFactories>
                    <dxc:MonthIntervalFactory/>
                    <dxc:DayIntervalFactory/>
                    <dxc:HourIntervalFactory/>
                </dxc:CalendarClient.IntervalFactories>
            </dxc:CalendarClient>
        </dxc:RangeControl>
    </Grid>
</Window>

RangeControl - CalendarClient

The CalendarClient.IntervalFactories collection defines the available time intervals and formatting rules applied to them. Time intervals are visually represented by the calendar items.

Inheritance

Object
DependencyObject
UIElement
FrameworkElement
Panel
Canvas
DevExpress.WinUI.Controls.Internal.RangeControlClientBase
DevExpress.WinUI.Controls.Internal.CalendarClientBase
CalendarClient
See Also