DayViewCellAppearance.SlotBorderColor Property
Gets or sets the color the Day-based view uses to paint a day view cell’s bottom border when the cell does not represent the last time slot in the time scale interval. This is a bindable property.
Namespace: DevExpress.Maui.Scheduler
Assembly: DevExpress.Maui.Scheduler.dll
NuGet Package: DevExpress.Maui.Scheduler
Declaration
public Color SlotBorderColor { get; set; }
Property Value
Type | Description |
---|---|
Color | The border color. |
Example
This example uses the day view cell’s appearance and its customizer to modify the cell’s appearance.
<dxs:WorkWeekView.CellAppearance>
<dxs:DayViewCellAppearance
LeftBorderThickness="2"
BottomBorderThickness="2"
BorderColor = "#e1e1e1"
SlotBorderColor="#f0f0f0"
BackgroundColor="#f5f5f5"
WorkTimeBackgroundColor="White"
TodayBackgroundColor="#4fc3f7">
<dxs:DayViewCellAppearance.Customizer>
<views:DayViewCellCustomizer/>
</dxs:DayViewCellAppearance.Customizer>
</dxs:DayViewCellAppearance>
</dxs:WorkWeekView.CellAppearance>
class DayViewCellCustomizer : IDayViewCellCustomizer {
public void Customize(DayViewCellViewModel cell) {
if (cell.Interval.Start.DayOfWeek == DayOfWeek.Friday) {
cell.BackgroundColor = Colors.Blue;
}
}
}
Symbol | Description |
---|---|
Gets or sets appearance settings of cells. This is a bindable property. | |
The storage for the day view cell appearance settings. | |
Gets or sets the object that customizes the day view cell’s appearance depending on internal logic. This is a bindable property. | |
If implemented by a class, modifies appearance settings of individual Day View cells. | |
Modifies appearance settings of an individual Day View cell. | |
The storage for the appearance settings values of an individual day view cell. |