CalendarDataBindingHandler.DataBindControl(IDesignerHost, Control) 方法

定义

如果 SelectedDate 属性是数据绑定属性,则将日历的日期设置为当日。

public:
 override void DataBindControl(System::ComponentModel::Design::IDesignerHost ^ designerHost, System::Web::UI::Control ^ control);
public override void DataBindControl (System.ComponentModel.Design.IDesignerHost designerHost, System.Web.UI.Control control);
override this.DataBindControl : System.ComponentModel.Design.IDesignerHost * System.Web.UI.Control -> unit
Public Overrides Sub DataBindControl (designerHost As IDesignerHost, control As Control)

参数

designerHost
IDesignerHost

包含该控件的文档的 IDesignerHost

control
Control

要向其添加数据绑定的 Control

适用于