MonthViewCellViewModel Class
The storage for appearance settings values of an individual month view cell‘s representation.
Namespace: DevExpress.XamarinForms.Scheduler
Assembly: DevExpress.XamarinForms.Scheduler.dll
NuGet Package: DevExpress.XamarinForms.Scheduler
Declaration
public class MonthViewCellViewModel :
CellViewModel
Remarks
The Scheduler View uses this class is the following occurrences:
- BindingContext of a data template assigned to the MonthView.CellTemplate property stores this class’s instance.
- The MonthViewCellStyle.Customizer‘s Customize(MonthViewCellViewModel) 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 month view cell style and its customizer to modify the cell’s appearance.
<dxs:MonthView.HeaderItemStyle>
<dxs:MonthViewHeaderItemStyle>
<dxs:MonthViewHeaderItemStyle.TodayWeekDayTextStyle>
<dxs:TextStyle Color="#ff8000"/>
</dxs:MonthViewHeaderItemStyle.TodayWeekDayTextStyle>
<dxs:MonthViewHeaderItemStyle.Customizer>
<views:MonthViewHeaderItemCustomizer/>
</dxs:MonthViewHeaderItemStyle.Customizer>
</dxs:MonthViewHeaderItemStyle>
</dxs:MonthView.HeaderItemStyle>
Symbol | Description |
---|---|
Gets or sets appearance settings of cells. | |
The storage for month view cell appearance settings. | |
Gets or sets an object that customizes the month view cell’s appearance depending on internal logic. | |
The interface that should implement a class that modifies appearance settings of individual Month View cells. | |
Modifies appearance settings of an individual Month View cell. | |
| The storage for appearance settings values of an individual month view cell‘s representation. |