AllDayAreaCellViewModel Class
The storage for appearance settings values of an individual all-day area cell‘s representation.
Namespace: DevExpress.XamarinForms.Scheduler
Assembly: DevExpress.XamarinForms.Scheduler.dll
NuGet Package: DevExpress.XamarinForms.Scheduler
Declaration
public class AllDayAreaCellViewModel :
CellViewModel
Remarks
The Scheduler View uses this class in the following occurrences:
- BindingContext of a data template assigned to the DayViewBase.AllDayCellTemplate property stores this class’s instance.
- The AllDayAreaCellStyle.Customizer‘s Customize(AllDayAreaCellViewModel) accepts this class’s instance as an argument.
This view model provides the following settings that you can customize:
Example
This example demonstrates how to use the all-day area cell style and its customizer to modify the cell’s appearance.
<dxs:WorkWeekView.AllDayCellStyle>
<dxs:AllDayAreaCellStyle
LeftBorderThickness="2"
BottomBorderThickness="2"
BorderColor="#e1e1e1"
BackgroundColor="White"
TodayBackgroundColor="#4fc3f7">
<dxs:AllDayAreaCellStyle.Customizer>
<views:AllDayAreaCellCustomizer/>
</dxs:AllDayAreaCellStyle.Customizer>
</dxs:AllDayAreaCellStyle>
</dxs:WorkWeekView.AllDayCellStyle>
Symbol | Description |
---|---|
Gets or sets appearance settings of all-day cells. | |
The storage for All day area cells’ appearance settings. | |
Gets or sets the object that customizes the all-day area cell’s appearance depending on internal logic. | |
The interface that should implement a class that modifies appearance settings of individual all-day area cells. | |
IAllDayAreaCellCustomizer.Customize(AllDayAreaCellViewModel) | Modifies appearance settings of an individual all-day area cell. |
| The storage for appearance settings values of an individual all-day area cell‘s representation. |