DependencyPropertyDescriptor.CanResetValue Method (Object)


Returns whether resetting an object changes its value.

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

public override bool CanResetValue(
	object component


Type: System.Object

The component to test for reset capability.

Return Value

Type: System.Boolean

true if resetting the component changes its value; otherwise, false.

This method relies on the underlying PropertyDescriptor.

.NET Framework
Available since 3.0
Return to top