Back to Devexpress

MonthView.DisplayUnit Property

wpf-devexpress-dot-xpf-dot-scheduling-dot-monthview-74ac2378.md

latest1.5 KB
Original Source

MonthView.DisplayUnit Property

Specifies whether to round the selection up to a whole week or a whole month. This is a dependency property.

Namespace : DevExpress.Xpf.Scheduling

Assembly : DevExpress.Xpf.Scheduling.v25.2.dll

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public MonthViewDisplayUnit DisplayUnit { get; set; }
vb
Public Property DisplayUnit As MonthViewDisplayUnit

Property Value

TypeDescription
MonthViewDisplayUnit

A DevExpress.Xpf.Scheduling.MonthViewDisplayUnit enumeration value.

|

Available values:

NameDescription
Week

Round up the selection to whole weeks.

| | Month |

Round up the selection to a whole month.

|

Remarks

This property is only in effect if the ViewMode property is set to Standard.

See Also

MonthView Class

MonthView Members

DevExpress.Xpf.Scheduling Namespace