Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Freezable.CanFreeze Property

Gets a value that indicates whether the object can be made unmodifiable.

Namespace:  System.Windows
Assembly:  WindowsBase (in WindowsBase.dll)

public bool CanFreeze { get; }

Property Value

Type: System.Boolean
true if the current object can be made unmodifiable or is already unmodifiable; otherwise, false.

Notes to Inheritors

This method implementation uses the FreezeCore method with isChecking set to true to determine whether a Freezable can be made unmodifiable. To modify the way this property behaves in a derived class, override the FreezeCore method.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft