NonVisualControlAttribute Constructor ()

 

Initializes a new instance of the NonVisualControlAttribute class.

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

new : unit -> NonVisualControlAttribute

A default instance of the NonVisualControlAttribute class is equivalent to the NonVisual field, or passing true to the NonVisualControlAttribute.NonVisualControlAttribute(Boolean) constructor.

The following code example demonstrates how you can apply the NonVisualControlAttribute attribute to a class. In this example, the default NonVisualControlAttribute attribute is applied to a data source control. This is equivalent to the NonVisual field.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: