Style Constructor (StateBag)


Initializes a new instance of the Style class with the specified state bag information.

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

public Style(
	StateBag bag


Type: System.Web.UI.StateBag

A System.Web.UI.StateBag that represents the state bag in which to store style information.

Use this constructor to create and initialize a new instance of the Style class using the System.Web.UI.StateBag specified by the bag parameter.

.NET Framework
Available since 1.1
Return to top