mobilecontrols-devexpress-dot-xamarinforms-dot-scheduler-a8f77dc6.md
The interface that should implement a class that modifies appearance settings of individual Month View cells.
Namespace : DevExpress.XamarinForms.Scheduler
Assembly : DevExpress.XamarinForms.Scheduler.dll
NuGet Package : DevExpress.XamarinForms.Scheduler
public interface IMonthViewCellCustomizer
The following members return IMonthViewCellCustomizer objects:
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>
class MonthViewHeaderItemCustomizer : IMonthViewHeaderItemCustomizer {
public void Customize(MonthViewHeaderItemViewModel header) {
if (header.IsToday) {
var tmp = header.BackgroundColor;
header.BackgroundColor = header.WeekDayTextColor;
header.WeekDayTextColor = tmp;
}
}
}
|
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.
| |
IMonthViewCellCustomizer
|
The interface that should implement a class that modifies appearance settings of individual Month View cells.
| |
IMonthViewCellCustomizer.Customize(MonthViewCellViewModel)
|
Modifies appearance settings of an individual Month View cell.
| |
|
The storage for appearance settings values of an individual month view cell‘s representation.
|
See Also