MonthViewHeaderItemViewModel Class
The storage for appearance settings values of an individual month view header item‘s representation.
Namespace: DevExpress.XamarinForms.Scheduler
Assembly: DevExpress.XamarinForms.Scheduler.dll
NuGet Package: DevExpress.XamarinForms.Scheduler
Declaration
public class MonthViewHeaderItemViewModel :
HeaderItemViewModel
Remarks
The Scheduler View uses this class in the following occurrences:
- BindingContext of a data template assigned to the MonthView.HeaderItemTemplate property stores this class’s instance.
- The MonthViewHeaderItemStyle.Customizer‘s Customize(MonthViewHeaderItemViewModel) 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 header item style and its customizer to modify the appearance of header items.
<dxs:MonthView.HeaderItemStyle>
<dxs:MonthViewHeaderItemStyle BorderColor="#808080"
BorderThickness="2,0,0,2">
<dxs:MonthViewHeaderItemStyle.TodayWeekDayTextStyle>
<dxs:TextStyle Color="#ff8000" FontAttributes="Bold"/>
</dxs:MonthViewHeaderItemStyle.TodayWeekDayTextStyle>
<dxs:MonthViewHeaderItemStyle.Customizer>
<views:MonthViewHeaderItemCustomizer/>
</dxs:MonthViewHeaderItemStyle.Customizer>
</dxs:MonthViewHeaderItemStyle>
</dxs:MonthView.HeaderItemStyle>
Symbol | Description |
---|---|
Gets or sets appearance settings of header items. | |
The storage for the Month View’s header items appearance settings. | |
Gets or sets an object that customizes the appearance of an individual month view header item. | |
The interface that should implement a class that modifies appearance settings of individual Month View header items. | |
IMonthViewHeaderItemCustomizer.Customize(MonthViewHeaderItemViewModel) | Modifies appearance settings of an individual Month View header item. |
| The storage for appearance settings values of an individual month view header item‘s representation. |