ViewNavigatorProperties Class

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

Namespace: DevExpress.Web.ASPxScheduler

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

Declaration

public class ViewNavigatorProperties :
    PropertiesBase
Public Class ViewNavigatorProperties
    Inherits PropertiesBase

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()

Inheritance

Object
StateManager
PropertiesBase
ViewNavigatorProperties

Implements

See Also