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

TreeMapRangeColorizer.GetItemColor(TreeMapItem, TreeMapItemGroupInfo) Method

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

Namespace: DevExpress.Xpf.TreeMap

Assembly: DevExpress.Xpf.TreeMap.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.TreeMap, 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