Back to Devexpress

XRSparkline.DataSource Property

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xrsparkline-c8eb985d.md

latest2.0 KB
Original Source

XRSparkline.DataSource Property

SECURITY-RELATED CONSIDERATIONS

Deserializing a report layout 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: Reporting — Safe Deserialization.

Specifies the data source that is assigned to the sparkline.

Namespace : DevExpress.XtraReports.UI

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
[SRCategory(ReportStringId.CatData)]
public object DataSource { get; set; }
vb
<SRCategory(ReportStringId.CatData)>
Public Property DataSource As Object

Property Value

TypeDescription
Object

A Object value, specifying the sparkline data source.

|

Remarks

If the DataSource property is not defined, the sparkline uses the report’s data source.

See Also

DataAdapter

DataMember

ValueMember

XRSparkline Class

XRSparkline Members

DevExpress.XtraReports.UI Namespace