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

TreeMapItem.Tag Property

Gets or sets the object that contains data related to the treemap item.

Namespace: DevExpress.Xpf.TreeMap

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

NuGet Package: DevExpress.Wpf.TreeMap

#Declaration

public object Tag { get; set; }

#Property Value

Type Description
Object

A Object that contains data about the treemap element.

#Remarks

You can assign an object of any type derived from the Object class to the Tag property when you create treemap items and add them to a treemap’s item storage.

If a treemap uses a TreeMapFlatDataAdapter to load data from a data source, the Tag property stores data rows used to create child items for group items. If the item is a child item, Tag stores the data row used to create this item.

If a treemap uses a TreeMapHierarchicalDataAdapter to load data from a data source, the Tag property stores an object used to create the treemap item.

See Also