ASPxSchedulerStyles Class
Contains the scheduler element’s style settings.
Namespace: DevExpress.Web.ASPxScheduler
Assembly: DevExpress.Web.ASPxScheduler.v24.2.dll
Declaration
Related API Members
The following members return ASPxSchedulerStyles objects:
Library | Related API Members |
---|---|
ASP.NET MVC Extensions | AppointmentRecurrenceFormSettings.Styles |
SchedulerSettings.Styles | |
ASP.NET Web Forms Controls | ASPxScheduler.Styles |
Remarks
Use the ASPxScheduler.Styles (for ASPxScheduler) or AppointmentRecurrenceFormSettings.Styles property to access the ASPxSchedulerStyles object.
Web Forms:
<dx:ASPxScheduler ID="ASPxScheduler1" >
<!-- ... -->
<Styles>
<LoadingPanel CssClass="myClass" />
</Styles>
</dx:ASPxScheduler>
MVC:
@Html.DevExpress().Scheduler(
settings => {
settings.Name = "scheduler";
<!-- ... -->
settings.OptionsForms.SetAppointmentFormTemplateContent(c => {
<!-- ... -->
ViewBag.AppointmentRecurrenceFormSettings = CreateAppointmentRecurrenceFormSettings(c);
});
}).Bind(Model.Appointments, Model.Resources).SetErrorText(ViewBag.SchedulerErrorText).GetHtml()
AppointmentRecurrenceFormSettings CreateAppointmentRecurrenceFormSettings(AppointmentFormTemplateContainer container) {
return new AppointmentRecurrenceFormSettings {
Name = "appointmentRecurrenceForm",
Styles.LoadingPanel.CssClass = "myClass",
<!-- ... -->
};
}
Implements
Inheritance
Object
StateManager
PropertiesBase
StylesBase
DevExpress.Web.ASPxScheduler.ASPxSchedulerStylesBase
ASPxSchedulerStyles
See Also