DayViewBase.AllDayCellAppearance Property
Gets or sets the appearance settings of all-day cells. This is a bindable property.
Namespace: DevExpress.Maui.Scheduler
Assembly: DevExpress.Maui.Scheduler.dll
NuGet Package: DevExpress.Maui.Scheduler
Declaration
public AllDayAreaCellAppearance AllDayCellAppearance { get; set; }
Property Value
Type | Description |
---|---|
AllDayAreaCellAppearance | The object that stores the appearance settings of the all-day cells. |
Remarks
Refer to the following topic to see the available appearance properties: AllDayAreaCellAppearance members.
You can use this property to configure the following cell types:
- Regular All-Day Area Cell
- Today All-Day Cell
The AllDayAreaCellAppearance class includes the following settings you can use to customize the all-day cell’s appearance:
Example
This example uses the AllDayCellAppearance
class and its customizer to modify the cell’s appearance.
<dxs:WorkWeekView.AllDayCellAppearance>
<dxs:AllDayAreaCellAppearance
LeftBorderThickness="2"
BottomBorderThickness="2"
BorderColor="#e1e1e1"
BackgroundColor="White"
TodayBackgroundColor="#4fc3f7">
<dxs:AllDayAreaCellAppearance.Customizer>
<views:AllDayAreaCellCustomizer/>
</dxs:AllDayAreaCellAppearance.Customizer>
</dxs:AllDayAreaCellAppearance>
</dxs:WorkWeekView.AllDayCellAppearance>
class AllDayAreaCellCustomizer : IAllDayAreaCellCustomizer {
public void Customize(AllDayAreaCellViewModel cell) {
if (cell.Interval.Start.DayOfWeek == DayOfWeek.Friday) {
cell.BackgroundColor = Colors.Blue;
}
}
}
Symbol | Description |
---|---|
| Gets or sets the appearance settings of all-day cells. This is a bindable property. |
Contains appearance properties for the all day appointment‘s cell. | |
Gets or sets the object that customizes the all-day area cell’s appearance depending on internal logic. This is a bindable property. | |
If implemented by a class, 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. |