ViewNavigatorProperties Class
Represents settings specific to the calendar functionality of the ASPxViewNavigator control.
Namespace: DevExpress.Web.ASPxScheduler
Assembly: DevExpress.Web.ASPxScheduler.v24.2.dll
Declaration
Related API Members
The following members return ViewNavigatorProperties objects:
Library | Related API Members |
---|---|
ASP.NET Bootstrap Controls | BootstrapScheduler.OptionsViewNavigator |
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.
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