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.v23.2.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