Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TreeMapPaletteColorizer.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.2.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