MenuDesigner.DataBind(BaseDataBoundControl) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Binds the associated control to the design-time data source.
protected:
override void DataBind(System::Web::UI::WebControls::BaseDataBoundControl ^ dataBoundControl);
protected override void DataBind (System.Web.UI.WebControls.BaseDataBoundControl dataBoundControl);
override this.DataBind : System.Web.UI.WebControls.BaseDataBoundControl -> unit
Protected Overrides Sub DataBind (dataBoundControl As BaseDataBoundControl)
Parameters
- dataBoundControl
- BaseDataBoundControl
The Menu to bind to the design-time data source.
Remarks
If one of the following conditions is true, the DataBind method clears the Items property, and then calls the DataBind base method:
The DataSourceID property is not
null
or an empty string ("").The DataSource property is not
null
.The Items collection contains one or more elements.
The dataBoundControl
parameter is the Menu control that is associated with this designer or a copy of that control.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for