New to Telerik UI for .NET MAUIStart a free 30-day trial

Represents an object that uses reflection to look-up the values for the generated data points.

Definition

Namespace:Telerik.Maui.Controls.Compatibility.Chart

Assembly:Telerik.Maui.Controls.Compatibility.dll

Syntax:

C#
[TypeConverter(typeof(PropertyNameDataPointBindingConverter))]
public class PropertyNameDataPointBinding : DataPointBinding

Inheritance: objectChartElementDataPointBindingPropertyNameDataPointBinding

Inherited Members ChartElement.OnPropertyChanged(string)ChartElement.Key

Constructors

Initializes a new instance of the PropertyNameDataPointBinding class.

C#
public PropertyNameDataPointBinding()

Initializes a new instance of the PropertyNameDataPointBinding class.

C#
public PropertyNameDataPointBinding(string propertyName)
Parameters:propertyNamestring

The name of the property which value is bound.

Fields

PropertyNameProperty

BindableProperty

Identifies the PropertyName property.

C#
public static readonly BindableProperty PropertyNameProperty

Properties

Gets or sets the name of the property which value is bound.

C#
public string PropertyName { get; set; }

Methods

Gets the value of the data point.

C#
public override object GetDataPointValue(object dataPoint)
Parameters:dataPointobject

The data point object.

Returns:

object

The value of the data point.

Overrides: DataPointBinding.GetDataPointValue(object)