NonVisualControlAttribute Constructor ()
.NET Framework (current version)
Initializes a new instance of the NonVisualControlAttribute class.
Assembly: System.Web (in System.Web.dll)
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.
.NET Framework
Available since 2.0
Available since 2.0
Show: