ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources]

G. andrew Duthie; matthew Macdonald

نسخه متنی -صفحه : 873/ 512
نمايش فراداده

BaseValidatorDesignerdisposable

System.Web.UI.Design.WebControls (system.design.dll)class

This class provides the design-time representation of controls that inherit from the System.Web.UI.WebControls.BaseValidator control, including System.Web.UI.WebControls.CompareValidator, System.Web.UI.WebControls.CustomValidator, System.Web.UI.WebControls.RangeValidator, System.Web.UI.WebControls.RegularExpressionValidator, and System.Web.UI.WebControls.RequiredFieldValidator. It uses an overridden GetDesignTimeHtml( ) method. Validation controls display the control class name in red lettering at design time (or the Text property, if set).

public class 

BaseValidatorDesigner : System.Web.UI.Design.ControlDesigner { // Public Constructors public

BaseValidatorDesigner ( ); // Public Instance Methods public override string

GetDesignTimeHtml ( ); // overrides System.Web.UI.Design.ControlDesigner }

Hierarchy

System.Object System.ComponentModel.Design.ComponentDesigner(System.ComponentModel. Design.IDesigner,System.IDisposable, System.ComponentModel.Design.IDesignerFilter) System.Web.UI.Design.HtmlControlDesigner System.Web.UI.Design.ControlDesigner BaseValidatorDesigner