Skip to main content

RepositoryItemDateEdit.ShowMonthNavigationButtons Property

Gets or sets the visibility of buttons that let an end-user navigate between months.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Appearance")]
public DefaultBoolean ShowMonthNavigationButtons { get; set; }

Property Value

Type Default Description
DefaultBoolean Default

A DefaultBoolean enumeration value that specifies the visibility of buttons that let an end-user navigate between months.

Available values:

Name Description Return Value
True

The value is true.

0

False

The value is false.

1

Default

The value is specified by a global option or a higher-level object.

2

Remarks

When the ShowMonthNavigationButtons property is set to Default or True, the DateEdit control displays the navigation buttons that allow an end-user navigate through months. See the figure below.

DateEdit_ShowMonthButtons

Set the ShowMonthNavigationButtons property to False to hide these buttons. Even if the buttons are hidden, an end-user can click the calendar left or right edge to navigate through months in the corresponding direction.

This property is not in effect for the calendar in TouchUI mode (see RepositoryItemDateEdit.CalendarView).

See Also