Binds the specified control.
[Visual Basic] Public MustOverride Sub DataBindControl( _ ByVal designerHost As IDesignerHost, _ ByVal control As Control _ ) [C#] public abstract void DataBindControl( IDesignerHost designerHost, Control control ); [C++] public: virtual void DataBindControl( IDesignerHost* designerHost, Control* control ) = 0; [JScript] public abstract function DataBindControl( designerHost : IDesignerHost, control : Control );
This method should be implemented in a derived class to provide functionality to a custom data-binding handler. The logic for the data binding should be implemented within this method, and can be specific to the type or types that the data-binding handler is to bind a property or properties on.
Notes to Implementers: Most data binding handlers will need to examine the data bindings collection on the control, using the IDataBindingsAccessor interface, to determine if any specific properties it can handle are data-bound.
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
.NET Framework Security:
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries From Partially Trusted Code