Class DataItemBase
Provides base functionality for data points implementations.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public abstract class DataItemBase : Object, IDataItemContainer, INotifyPropertyChanged
Constructors
DataItemBase()
Properties
DataItem
Gets or sets the data item.
Declaration
public object DataItem { get; set; }
Property Value
System. The data item. |
Methods
GetValue(String)
Extracts the value from the DataItem and provided value path.
Declaration
protected object GetValue(string valuePath)
Parameters
System. The value path. |
Returns
System.
|
OnPropertyChanged(Object, PropertyChangedEventArgs)
Called when a property changes.
Declaration
protected virtual void OnPropertyChanged(object sender, PropertyChangedEventArgs args)
Parameters
System. The sender. |
System. The System. |
OnPropertyChanged(String)
Raises the Property
Declaration
protected void OnPropertyChanged(string propertyName)
Parameters
System. Name of the property. |
RegisterObservableProperty(String, String)
Registers the observable property.
Declaration
protected void RegisterObservableProperty(string sourceItemPropertyPath, string targetPropertyName)
Parameters
System. The source item property path. |
System. Name of the target property. |
UnregisterObservableProperty(String, String)
Unregisters the observable property.
Declaration
protected void UnregisterObservableProperty(string sourceItemPropertyPath, string targetPropertyName)
Parameters
System. The source item property path. |
System. Name of the target property. |
UpdatePropertyRegistration(String, String, String)
Updates the property registration.
Declaration
protected void UpdatePropertyRegistration(string oldSourceItemPropertyPath, string newSourceItemPropertyPath, string targetPropertyName)
Parameters
System. The old path. |
System. The new path. |
System. Name of the property. |
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.
|