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.Object
The data item. |
Methods
GetValue(String)
Extracts the value from the DataItem and provided value path.
Declaration
protected object GetValue(string valuePath)
Parameters
System.String
valuePath
The value path. |
Returns
System.Object
|
OnPropertyChanged(Object, PropertyChangedEventArgs)
Called when a property changes.
Declaration
protected virtual void OnPropertyChanged(object sender, PropertyChangedEventArgs args)
Parameters
System.Object
sender
The sender. |
System.ComponentModel.PropertyChangedEventArgs
args
The System.ComponentModel.PropertyChangedEventArgs instance containing the event data. |
OnPropertyChanged(String)
Raises the PropertyChanged event.
Declaration
protected void OnPropertyChanged(string propertyName)
Parameters
System.String
propertyName
Name of the property. |
RegisterObservableProperty(String, String)
Registers the observable property.
Declaration
protected void RegisterObservableProperty(string sourceItemPropertyPath, string targetPropertyName)
Parameters
System.String
sourceItemPropertyPath
The source item property path. |
System.String
targetPropertyName
Name of the target property. |
UnregisterObservableProperty(String, String)
Unregisters the observable property.
Declaration
protected void UnregisterObservableProperty(string sourceItemPropertyPath, string targetPropertyName)
Parameters
System.String
sourceItemPropertyPath
The source item property path. |
System.String
targetPropertyName
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.String
oldSourceItemPropertyPath
The old path. |
System.String
newSourceItemPropertyPath
The new path. |
System.String
targetPropertyName
Name of the property. |
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.ComponentModel.PropertyChangedEventHandler
|