ConstructorNeedsTagAttribute

ConstructorNeedsTagAttribute

System.Web.UI (system.web.dll)sealed class

This attribute is used in the class declaration for a control. You add it, with the parameter set to True, to indicate that a control's constructor requires an HTML tag. This tag is used for the System.Web.UI.HtmlControls.HtmlTableCell and System.Web.UI.HtmlControls.HtmlGenericControl classes, which can represent different HTML elements. For example, a System.Web.UI.HtmlControls.HtmlTableCell could represent a <td> or <th> tag, depending on what tag is provided in the constructor.

public sealed class ConstructorNeedsTagAttribute : Attribute { // Public Constructors    public ConstructorNeedsTagAttribute( );    public ConstructorNeedsTagAttribute(bool needsTag); // Public Instance Properties    public bool NeedsTag{get; } }

Hierarchy

System.Object System.Attribute ConstructorNeedsTagAttribute

Valid On

Class



ASP. NET in a Nutshell
ASP.NET in a Nutshell, Second Edition
ISBN: 0596005202
EAN: 2147483647
Year: 2003
Pages: 873

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net