Freezable::CanFreeze Property

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

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

public:
property bool CanFreeze {
	bool 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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft