New to Telerik UI for WPFStart a free 30-day trial

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

Constructors

C#
public InheritanceContextPropagator()

Methods

When implemented in a derived class, creates a new instance of the Freezable derived class.

C#
protected override Freezable CreateInstanceCore()
Returns:

Freezable

The new instance.

Makes the Freezable object unmodifiable or tests whether it can be made unmodifiable.

C#
protected override bool FreezeCore(bool isChecking)
Parameters:isCheckingbool

True to return an indication of whether the object can be frozen (without actually freezing it); false to actually freeze the object.

Returns:

bool

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.