Class
GenericDataPointBinding<TElement, TResult>

Represents a DataPointBinding that uses a generic delegate to retrieve the value to be applied for the generated data points.

Definition

Namespace:Telerik.Windows.Controls.ChartView

Assembly:Telerik.Windows.Controls.Chart.dll

Type Parameters:

TElement

The type of the element.

TResult

The type of the return value of the generic delegate.

Syntax:

cs-api-definition
public class GenericDataPointBinding<TElement, TResult> : DataPointBinding, INotifyPropertyChanged

Inheritance: objectDataPointBindingGenericDataPointBinding<TElement, TResult>

Implements: INotifyPropertyChanged

Inherited Members DataPointBinding.OnPropertyChanged(string)DataPointBinding.PropertyChanged

Constructors

GenericDataPointBinding()

Declaration

cs-api-definition
public GenericDataPointBinding()

Properties

ValueSelector

Gets or sets the generic delegate used to retrieve bound objects values.

Declaration

cs-api-definition
public Func<TElement, TResult> ValueSelector { get; set; }

Property Value

Func<TElement, TResult>

Methods

GetValue(object)

Retrieves the value for the specified object instance.

Declaration

cs-api-definition
public override object GetValue(object instance)

Parameters

instance

object

Returns

object

Overrides DataPointBinding.GetValue(object)