WebPartMenuStyle.Reset Method ()


This API supports the product infrastructure and is not intended to be used directly from your code.

Removes any defined style elements from the WebPartMenuStyle object's state bag.

Namespace:   System.Web.UI.WebControls.WebParts
Assembly:  System.Web (in System.Web.dll)

public override void Reset()

The Reset method is very similar to the base method in the TableStyle class. After some custom handling for the ShadowColor property, this method simply calls the base method to remove any remaining style elements from the state bag.

.NET Framework
Available since 2.0
Return to top