Skip to main content
A newer version of this page is available. .

CellControl.Background Property

Gets or sets the brush used to paint the cell background. This is a dependency property.

Namespace: DevExpress.Xpf.Scheduling.Visual

Assembly: DevExpress.Xpf.Scheduling.v18.2.dll

Declaration

public Brush Background { get; set; }

Property Value

Type Description
Brush

A Brush object used to paint the cell background.

Remarks

Set the Background property to override the cell color obtained from the resource ResourceItem.Color property or the brush obtained from the resource schemas (default schemas or schemas assigned to the SchedulerControl.ResourceBrushSchemas property).

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Background property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also