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

ViewNavigatorProperties Class

Represents settings specific to the calendar functionality of the ASPxViewNavigator control.

Namespace: DevExpress.Web.ASPxScheduler

Assembly: DevExpress.Web.ASPxScheduler.v18.2.dll

Declaration

public class ViewNavigatorProperties :
    PropertiesBase

The following members return ViewNavigatorProperties objects:

Library Related API Members
ASP.NET Bootstrap Controls BootstrapScheduler.OptionsViewNavigator
BootstrapScheduler.ViewNavigator
ASP.NET Web Forms Controls ASPxScheduler.ViewNavigator
SchedulerSettings.ViewNavigator

Remarks

The ViewNavigatorProperties object provides access to the properties used to customize the ASPxViewNavigator control.

Example

WebForms:

<dx:ASPxScheduler ID="ASPxScheduler1" runat="server" Width="400px" ...>
    <ViewNavigator ShowGotoDateButton="true" ShowTodayButton="true" />
</dx:ASPxScheduler>

MVC:

@Html.DevExpress().Scheduler(
    settings => {
        settings.Name = "scheduler";
        settings.ActiveViewType = SchedulerViewType.Day;
        settings.Start = new DateTime(2016, 10, 10);
        settings.Views.DayView.Enabled = true;

        settings.OptionsBehavior.ShowViewNavigator = Model.ShowViewNavigator;
        settings.ViewNavigator.ShowGotoDateButton = true;
        settings.ViewNavigator.ShowTodayButton = true;
        ...
}).Bind(Model.Appointments, Model.Resources).GetHtml()

Implements

Inheritance

Object
StateManager
PropertiesBase
ViewNavigatorProperties
See Also