Style.IsEmpty Property


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 Overridable ReadOnly Property IsEmpty As Boolean

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