The requested page is not available for the requested platform. You are viewing the content for Default platform.

AppointmentViewModel Class

The storage for appearance settings values of an individual appointment item's representation.

Namespace: DevExpress.XamarinForms.Scheduler

Assembly: DevExpress.XamarinForms.Scheduler.dll

Declaration

public class AppointmentViewModel :
    ItemViewModel

Remarks

The Scheduler View uses this class in the following occurrences:

This view model provides the following settings that you can customize:

All Day Area Cell View Model's Settable Properties

Examples

This example demonstrates how to use the appointment style and its customizer to modify the cell's appearance.

<dxs:WorkWeekView.AppointmentStyle>
    <dxs:AppointmentStyle
        BorderThickness="2"
        BorderColor="#808080"
        ContentPadding="8">
        <dxs:AppointmentStyle.TextStyle>
            <dxs:TextStyle Color="Black"/>
        </dxs:AppointmentStyle.TextStyle>
        <dxs:AppointmentStyle.Customizer>
            <views:AppointmentCustomizer/>
        </dxs:AppointmentStyle.Customizer>
    </dxs:AppointmentStyle>
</dxs:WorkWeekView.AppointmentStyle>

Symbol

Description

DayViewBase.AppointmentStyle

Gets or sets appearance settings of appointments.

AppointmentStyle

The storage of appointment item appearance settings.

AppointmentStyle.Customizer

Gets or sets the object that customizes the appointment appearance depending on internal logic.

IAppointmentCustomizer

The interface that should implement a class that modifies appearance settings of individual appointments.

IAppointmentCustomizer.Customize(AppointmentViewModel)

Modifies appearance settings of an individual appointment.

AppointmentViewModel

The storage for appearance settings values of an individual appointment item's representation.

Inheritance

Object
DevExpress.XamarinForms.Scheduler.Internal.NotifyPropertyChangedBase
ItemViewModel
AppointmentViewModel
See Also