DataItem.ID Property
In This Article
OBSOLETE
The Data
Gets or sets the data item identifier.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v24.2.Core.dll
NuGet Package: DevExpress.Dashboard.Core
#Declaration
[Browsable(false)]
[Obsolete("The DataItem.ID property is obsolete now. Use the DataItem.UniqueId property instead.")]
public string ID { get; set; }
#Property Value
Type | Description |
---|---|
String | A String that specifies the data item identifier. |
#Remarks
To specify the data item identifier, pass it to the constructor of a DataItem descendant when creating its instance.
You can use the value returned by the ID property to identify the data item in the following cases:
- to refer to the specified data item in filter criteria, pass its identifier to the DataDashboardItem.FilterString property;
- to refer to the specified data item in the Expression format condition, pass its identifier to the FormatConditionExpression.Expression property.
Note
Note that the ID value for the current data item should be unique inside a dashboard item (the Data
See Also