DiagramItemStyle.WithBrush(DiagramItemBrush) Method
Returns the style whose Brush property is set to the specified brush.
Namespace: DevExpress.Diagram.Core.Themes
Assembly: DevExpress.Diagram.v20.1.Core.dll
NuGet Packages: DevExpress.Diagram.Core, DevExpress.WindowsDesktop.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