Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DependencyPropertyDescriptor::CanResetValue Method (Object^)

 

Returns whether resetting an object changes its value.

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

public:
virtual bool CanResetValue(
	Object^ component
) override

Parameters

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
Show:
© 2017 Microsoft