A newer version of this page is available. Switch to the current version.

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
Public Class ViewNavigatorProperties
    Inherits PropertiesBase

Related API Members

The following members accept/return ViewNavigatorProperties objects:

Library Related API Members
ASP.NET Controls and MVC Extensions ASPxScheduler.ViewNavigator
SchedulerSettings.ViewNavigator
ASP.NET Bootstrap Controls BootstrapScheduler.OptionsViewNavigator
BootstrapScheduler.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