TreeMapItem.Tag Property

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

Namespace: DevExpress.Xpf.TreeMap

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

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