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.v20.1.dll

Declaration

public override Color? GetItemColor(
    TreeMapItem item,
    TreeMapItemGroupInfo group
)
Public Overrides Function GetItemColor(
    item As TreeMapItem,
    group As TreeMapItemGroupInfo
) As Color?

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