How to hide the inner controls of a UserControl in the Designer?

前端 未结 3 961
心在旅途
心在旅途 2020-12-22 11:13

I have a UserControl that contains a DropDownList and an ObjectDataSource. That control is used in the markup of my MasterPage.

In the Designer of a ContentPage that

3条回答
  •  [愿得一人]
    2020-12-22 11:31

    I'm not very familiar with WebForms but the BrowsableAttribute might be what you are looking for. Also look at the DesignTimeVisibleAttribute.

    The System.ComponentModel namespace has a number of other attributes that may do what you need.

提交回复
热议问题