Back to Devexpress

DiagramItemStyle.WithBrush(DiagramItemBrush) Method

corelibraries-devexpress-dot-diagram-dot-core-dot-themes-dot-diagramitemstyle-dot-withbrush-x28-devexpress-dot-diagram-dot-core-dot-themes-dot-diagramitembrush-x29.md

latest1.6 KB
Original Source

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.2.Core.dll

NuGet Package : DevExpress.Diagram.Core

Declaration

csharp
public DiagramItemStyle WithBrush(
    DiagramItemBrush brush
)
vb
Public Function WithBrush(
    brush As DiagramItemBrush
) As DiagramItemStyle

Parameters

NameTypeDescription
brushDiagramItemBrush

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

|

Returns

TypeDescription
DiagramItemStyle

A DiagramItemStyle class instance that uses the specified brush.

|

See Also

DiagramItemStyle Class

DiagramItemStyle Members

DevExpress.Diagram.Core.Themes Namespace