windowsforms-devexpress-dot-xtratreemap-dot-sunburstitem-a01fa68d.md
Deserializing layout settings from untrusted resources may create security issues. Serializable System.Object properties that contain custom type values are not (de)serialized automatically. Review the following help topic for information on how to (de)serialize custom type values: Safe Deserialization.
Gets or sets the object that contains data related to a sunburst item.
Namespace : DevExpress.XtraTreeMap
Assembly : DevExpress.XtraTreeMap.v25.2.dll
NuGet Package : DevExpress.TreeMap
[DefaultValue(null)]
[XtraSerializableProperty]
public object Tag { get; set; }
<DefaultValue(Nothing)>
<XtraSerializableProperty>
Public Property Tag As Object
| Type | Default | Description |
|---|---|---|
| Object | null |
A Object that contains data about the sunburst item.
|
Use the Tag property to store additional (custom) data associated with a sunburst item.
Note
If a sunburst is bound to data, the Tag property is automatically assigned to the underlying object used to create this sunburst item.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Tag property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
if(Interactivity.CanSetMasterFilter)
Interactivity.SetMasterFilter(hi.SunburstItem.Tag as DashboardFlatDataSourceRow);
}
If Interactivity.CanSetMasterFilter Then
Interactivity.SetMasterFilter(TryCast(hi.SunburstItem.Tag, DashboardFlatDataSourceRow))
End If
See Also