ClassInheritanceContextPropagator
This class is used to propagate inheritance context to non-visual class instances that might be part of the WPF control element tree. Note that while it relies on the special notion that Freezable classes have for "inheritance context", you should not rely on any other characteristics that Freezable objects usually have (cloning, freezing, etc.). Actually this object will explicitly prevent the framework from freezing its instances and it will generally behave as any other non-Freezable object.
Definition
Namespace:Telerik.Windows
Assembly:Telerik.Windows.Controls.dll
Syntax:
public class InheritanceContextPropagator : Freezable
Inheritance: objectInheritanceContextPropagator
Derived Classes:
Constructors
InheritanceContextPropagator()
Declaration
public InheritanceContextPropagator()
Methods
CreateInstanceCore()
When implemented in a derived class, creates a new instance of the Freezable derived class.
Declaration
protected override Freezable CreateInstanceCore()
Returns
Freezable
The new instance.
FreezeCore(bool)
Makes the Freezable object unmodifiable or tests whether it can be made unmodifiable.
Declaration
protected override bool FreezeCore(bool isChecking)
Parameters
isChecking
True to return an indication of whether the object can be frozen (without actually freezing it); false to actually freeze the object.
Returns
If isChecking is true, this method returns true if the Freezable can be made unmodifiable, or false if it cannot be made unmodifiable. If isChecking is false, this method returns true if the if the specified Freezable is now unmodifiable, or false if it cannot be made unmodifiable.