Skip to main content
A newer version of this page is available. .

DiagramItemStyle.WithBrush(DiagramItemBrush) Method

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

Namespace: DevExpress.Diagram.Core.Themes

Assembly: DevExpress.Diagram.v18.2.Core.dll

Declaration

public DiagramItemStyle WithBrush(
    DiagramItemBrush brush
)

Parameters

Name Type Description
brush DevExpress.Diagram.Core.Themes.DiagramItemBrush

A DevExpress.Diagram.Core.Themes.DiagramItemBrush object.

Returns

Type Description
DiagramItemStyle

A DiagramItemStyle class instance that uses the specified brush.

See Also