MonthViewCellStyle Class

The storage for month view cell appearance settings.

Namespace: DevExpress.XamarinForms.Scheduler

Assembly: DevExpress.XamarinForms.Scheduler.dll

Declaration

public class MonthViewCellStyle :
    CellStyle

Returned By

The MonthView.CellStyle property returns an instance of MonthViewCellStyle.

Remarks

The style configures the following cell types:

Day cell types

  1. Cell
  2. First Day of the Month Cell
  3. Today Cell

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

Day Cell Style Settings

Examples

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

MonthView.AllDayCellStyle

Gets or sets appearance settings of cells.

MonthViewCellStyle

The storage for month view cell appearance settings.

MonthViewCellStyle.Customizer

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.

MonthViewCellViewModel

The storage for appearance settings values of an individual month view cell's representation.

Implements

Xamarin.Forms.IElementController

Inheritance

Object
Xamarin.Forms.BindableObject
Xamarin.Forms.Element
DevExpress.XamarinForms.Scheduler.Internal.SchedulerElement
ItemStyle
CellStyle
MonthViewCellStyle
See Also