ASPxSchedulerImages Class

Contains settings that allow images to be defined for the scheduler's specific elements.

Namespace: DevExpress.Web.ASPxScheduler

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

Declaration

public class ASPxSchedulerImages :
    ImagesBase

The following members accept/return ASPxSchedulerImages objects:

Library Related API Members
ASP.NET Controls and MVC Extensions ASPxScheduler.Images
ASP.NET Bootstrap Controls BootstrapScheduler.Images
ASP.NET MVC Extensions AppointmentRecurrenceFormSettings.Images
SchedulerSettings.Images

Remarks

Use the ASPxScheduler.Images (for ASPxScheduler) or AppointmentRecurrenceFormSettings.Images property to access the ASPxSchedulerImages object.

Web Forms:

<dx:ASPxScheduler ID="ASPxScheduler1" >
    <!-- ... -->
    <Images>
        <Appointment>
            <Reminder Width="75">
        </Appointment>
    </Images>
</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",
        Images.Appointment.Reminder.Width = 75,
        <!-- ... -->
    };
}

Inheritance

See Also