System.Web.UI.NonVisualControlAttribute.NonVisual Field

Returns a System.Web.UI.NonVisualControlAttribute instance that is applied to a Web control to be treated as a non-visual control during design time. This field is read-only.

Syntax

public static readonly NonVisualControlAttribute NonVisual

Remarks

The NonVisualControlAttribute.NonVisual field is equivalent to creating an instance of the attribute using the NonVisualControlAttribute.#ctor(bool) constructor and passing true as the parameter value.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0