Skip to main content

ViewNavigatorProperties Class

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

Namespace: DevExpress.Web.ASPxScheduler

Assembly: DevExpress.Web.ASPxScheduler.v22.1.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
ASP.NET MVC Extensions SchedulerSettings.ViewNavigator

Remarks

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

Scheduler - ViewNavigatorProperties Class

Example

Web Forms:

<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