Class Freezable
Imitation of the Freezable class in WPF. Handle only operations we need for 3D rendering.
Inheritance
Namespace: Telerik.Windows
Assembly: Telerik.Windows.Controls.Charting.dll
Syntax
public class Freezable : DependencyObject, INotifyPropertyChanged
Constructors
Freezable()
Initializes a new instance of the Freezable class.
Declaration
protected Freezable()
Fields
LogicalChildrenProperty
Identifies the LogicalChildren dependency property.
Declaration
public static readonly DependencyProperty LogicalChildrenProperty
Field Value
System.Windows.DependencyProperty
|
Properties
LogicalChildren
Gets a list of the logical children.
Declaration
public ObservableCollection<Freezable> LogicalChildren { get; }
Property Value
System.Collections.ObjectModel.ObservableCollection<Freezable>
|
Name
Gets the Name of the object. This is a dependency property.
Declaration
public string Name { get; set; }
Property Value
System.String
|
Methods
Clone()
FindName(String)
Find object with given name in the visual and logical tree.
Declaration
public object FindName(string name)
Parameters
System.String
name
Name of the object to find. |
Returns
System.Object
Object with given name of null if not found. |
FreezableCollectionChanged(Object, NotifyCollectionChangedEventArgs)
Called when one of the collections is changed.
Declaration
protected void FreezableCollectionChanged(object sender, NotifyCollectionChangedEventArgs e)
Parameters
System.Object
sender
|
System.Collections.Specialized.NotifyCollectionChangedEventArgs
e
|
Freeze()
No-op method. Added for WPF compatibility.
Declaration
public void Freeze()
NotifyPropertyChanged(String)
The PropertyChanged event handler.
Declaration
protected void NotifyPropertyChanged(string propertyName)
Parameters
System.String
propertyName
Property name. |
OnChanged()
Called when the current Freezable object is modified.
Declaration
protected virtual void OnChanged()
OnChildObjectChanged(Freezable, Freezable)
Called when one of the dependency property that is Freezable object is changed.
Declaration
protected virtual void OnChildObjectChanged(Freezable oldObject, Freezable newObject)
Parameters
Freezable
oldObject
|
Freezable
newObject
|
PropertyChangedHandler(DependencyObject, DependencyPropertyChangedEventArgs)
Common property changed callback.
Declaration
protected static void PropertyChangedHandler(DependencyObject source, DependencyPropertyChangedEventArgs eventArgs)
Parameters
System.Windows.DependencyObject
source
Source. |
System.Windows.DependencyPropertyChangedEventArgs
eventArgs
Event Args. |
Events
Changed
Occurs when the Freezable or an object it contains is modified.
Declaration
public event EventHandler Changed
Event Type
System.EventHandler
|
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.ComponentModel.PropertyChangedEventHandler
|