Class
PropertyNameDataPointBinding

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:

cs-api-definition
[TypeConverter(typeof(PropertyNameDataPointBindingConverter))]
public class PropertyNameDataPointBinding : DataPointBinding

Inheritance: objectChartElementDataPointBindingPropertyNameDataPointBinding

Inherited Members ChartElement.OnPropertyChanged(string)ChartElement.Key

Constructors

PropertyNameDataPointBinding()

Initializes a new instance of the PropertyNameDataPointBinding class.

Declaration

cs-api-definition
public PropertyNameDataPointBinding()

PropertyNameDataPointBinding(string)

Initializes a new instance of the PropertyNameDataPointBinding class.

Declaration

cs-api-definition
public PropertyNameDataPointBinding(string propertyName)

Parameters

propertyName

string

The name of the property which value is bound.

Fields

PropertyNameProperty

Identifies the PropertyName property.

Declaration

cs-api-definition
public static readonly BindableProperty PropertyNameProperty

Field Value

BindableProperty

Properties

PropertyName

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

Declaration

cs-api-definition
public string PropertyName { get; set; }

Property Value

string

Methods

GetDataPointValue(object)

Gets the value of the data point.

Declaration

cs-api-definition
public override object GetDataPointValue(object dataPoint)

Parameters

dataPoint

object

The data point object.

Returns

object

The value of the data point.

Overrides DataPointBinding.GetDataPointValue(object)