Skip to main content
.NET Framework Class Library
FreezableCanFreeze Property

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

Namespace:   System.Windows
Assembly:  WindowsBase (in WindowsBase.dll)
Public ReadOnly Property CanFreeze As [%$TOPIC/ms600923_en-us_VS_110_1_0_0_0_0%]
public [%$TOPIC/ms600923_en-us_VS_110_1_0_1_0_0%] CanFreeze { get; }
property [%$TOPIC/ms600923_en-us_VS_110_1_0_2_0_0%] CanFreeze {
	[%$TOPIC/ms600923_en-us_VS_110_1_0_2_0_1%] get ();
member CanFreeze : [%$TOPIC/ms600923_en-us_VS_110_1_0_3_0_0%] with get
function get CanFreeze () : [%$TOPIC/ms600923_en-us_VS_110_1_0_4_0_0%]

Property Value

Type: SystemBoolean
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.

Version Information

.NET Framework

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

.NET Framework Client Profile

Supported in: 4, 3.5 SP1