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

TreeMapItem.Tag Property

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

Namespace: DevExpress.Xpf.TreeMap

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

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