CalendarDataBindingHandler.DataBindControl(IDesignerHost, Control) 方法

定义

如果 SelectedDate 属性是数据绑定属性,则将日历的日期设置为当日。Sets the calendar's date to the current day if the SelectedDate property is data-bound.

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

包含该控件的文档的 IDesignerHostThe IDesignerHost for the document that contains the control.

control
Control

要向其添加数据绑定的 ControlThe Control to which data binding will be added.

适用于