System.Windows.Forms.PropertyGrid.ResetSelectedProperty Method

Resets the selected property to its default value.

Syntax

public void ResetSelectedProperty ()

Remarks

Typically, the PropertyGrid.ResetSelectedProperty method is invoked by right clicking on the property. This method discards changes and attempts to reset the property to its default value.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0