Back to Devexpress

ResourceBrushSchemaCollection Class

wpf-devexpress-dot-xpf-dot-scheduling-0f04ae6e.md

latest3.3 KB
Original Source

ResourceBrushSchemaCollection Class

A collection of color combinations used to paint Scheduler resources.

Namespace : DevExpress.Xpf.Scheduling

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

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public class ResourceBrushSchemaCollection :
    FreezableCollection<ResourceBrushSchema>
vb
Public Class ResourceBrushSchemaCollection
    Inherits FreezableCollection(Of ResourceBrushSchema)

The following members return ResourceBrushSchemaCollection objects:

Remarks

The ResourceBrushSchemaCollection class is a collection of ResourceBrushSchema objects that contain color combinations used to paint scheduler’s resources. An instance of the ResourceColors object is available using the SchedulerControl.ResourceColors collection.

Use the SchedulerControl.ResourceColors property to access resource color collection.

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

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.

wpf-scheduler-specify-custom-work-time-intervals/CS/CustomWorkTimeExample/MainWindow.xaml#L16

xml
<!--region #ResourceBrushSchemaCollection-->
<dxsch:ResourceBrushSchemaCollection x:Key="MyResourceSchemas">
    <dxsch:ResourceBrushSchema>

Inheritance

Object DispatcherObject DependencyObject Freezable Animatable FreezableCollection<ResourceBrushSchema> ResourceBrushSchemaCollection

See Also

ResourceBrushSchemaCollection Members

DevExpress.Xpf.Scheduling Namespace