DataBindingHandlerAttribute

DataBindingHandlerAttribute

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

This class is used for controls requiring special data binding handlers. For example, the System.Web.UI.WebControls.Calendar control uses a System.Web.UI.Design.CalendarDataBindingHandler class that derives from System.Web.UI.Design.DataBindingHandler. This custom data binding handler is specified by using the DataBindingHandlerAttribute in the control's class declaration.

public sealed class DataBindingHandlerAttribute : Attribute {
// Public Constructors
   public DataBindingHandlerAttribute( );
   public DataBindingHandlerAttribute(string typeName);
   public DataBindingHandlerAttribute(Type type);
// Public Static Fields
   public static readonly DataBindingHandlerAttribute Default;    // =System.Web.UI.DataBindingHandlerAttribute
// Public Instance Properties
   public string HandlerTypeName{get; }
}

Hierarchy

System.Object System.Attribute DataBindingHandlerAttribute

Valid On

Class



    Part I: Introduction to ASP.NET
    Part III: Namespace Reference
    Chapter 40. The System.Web.UI.MobileControls Namespace
    Chapter 42. The System.Web.UI.WebControls Namespace