System.ComponentModel.PropertyDescriptor.ResetValue Method

When overridden in a derived class, resets the value for this property of the component to the default value.

Syntax

public abstract void ResetValue (object component)

Parameters

component
The component with the property value that is to be reset to the default value.

Remarks

Typically, this method is implemented through reflection.

This method determines the value to reset the property to in the following order of precedence:

[The 'ordered' type of list has not been implemented in the ECMA stylesheet.]

This method creates a System.ComponentModel.Design.DesignerTransaction automatically in the following order:

[The 'ordered' type of list has not been implemented in the ECMA stylesheet.]

The purpose of the transaction is to support Undo and Redo functionality.

Requirements

Namespace: System.ComponentModel
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0