Skip to main content

TreeMapGradientColorizer.GetItemColor(TreeMapItem, TreeMapItemGroupInfo) Method

Returns the color for the specified item with the specified tree location.

Namespace: DevExpress.Xpf.TreeMap

Assembly: DevExpress.Xpf.TreeMap.v24.1.dll

NuGet Package: DevExpress.Wpf.TreeMap

Declaration

public override Color? GetItemColor(
    TreeMapItem item,
    TreeMapItemGroupInfo group
)

Parameters

Name Type Description
item TreeMapItem

A TreeMapItem object for which the color is obtained.

group TreeMapItemGroupInfo

A TreeMapItemGroupInfo value specifying information about the item position in a group.

Returns

Type Description
Nullable<Color>

A nullable Color value that is the color of the specified item.

See Also