Skip to main content

DiagramItemStyle.WithBrush(DiagramItemBrush) Method

Returns the style whose Brush property is set to the specified brush.

Namespace: DevExpress.Diagram.Core.Themes

Assembly: DevExpress.Diagram.v24.1.Core.dll

NuGet Package: DevExpress.Diagram.Core

Declaration

public DiagramItemStyle WithBrush(
    DiagramItemBrush brush
)

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