DiagramItemStyle.WithBrush(DiagramItemBrush) Method
Returns the style whose Brush property is set to the specified brush.
Namespace: DevExpress.Diagram.Core.Themes
Assembly: DevExpress.Diagram.v25.1.Core.dll
NuGet Package: DevExpress.Diagram.Core
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| brush | DiagramItemBrush | A DevExpress.Diagram.Core.Themes.DiagramItemBrush object. |
Returns
| Type | Description |
|---|---|
| DiagramItemStyle | A DiagramItemStyle class instance that uses the specified brush. |
See Also