Style.IsEmpty Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

A protected property. Gets a value indicating whether any style elements have been defined in the state bag.

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

public virtual bool IsEmpty { get; }

Property Value

Type: System.Boolean

true if the state bag has no style elements defined; otherwise, false.

.NET Framework
Available since 1.1
Return to top