Skip to main content

ASPxSchedulerImages.Appointment Property

Gets the settings of an image within an appointment.

Namespace: DevExpress.Web.ASPxScheduler

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

Declaration

public AppointmentImages Appointment { get; }

Property Value

Type Description
AppointmentImages

Image settings.

Remarks

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,
        <!-- ... -->
    };
}
See Also