System.Web.UI.NonVisualControlAttribute.Visual Field

Gets a System.Web.UI.NonVisualControlAttribute instance that is applied to a Web control to be treated as a visual control during design time.

Syntax

public static readonly NonVisualControlAttribute Visual

Remarks

The NonVisualControlAttribute.Visual field is equivalent to creating an instance of the attribute using the default NonVisualControlAttribute.#ctor constructor, or creating an instance of the attribute using the NonVisualControlAttribute.#ctor(bool) constructor and passing false 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