PropertyGrid.ResetSelectedProperty Method ()


Resets the selected property to its default value.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public void ResetSelectedProperty()

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

.NET Framework
Available since 1.1
Return to top