Skip to main content

DiagramEffect.GetItemBrush(EffectContext) Method

Specifies the brush used to paint the diagram item.

Namespace: DevExpress.Diagram.Core.Themes

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

NuGet Package: DevExpress.Diagram.Core

Declaration

public DiagramItemBrush GetItemBrush(
    EffectContext context
)

Parameters

Name Type Description
context EffectContext

A palette’s color identifier.

Returns

Type Description
DiagramItemBrush

A DevExpress.Diagram.Core.Themes.DiagramItemBrush that paints the diagram item.

See Also