我的
Asp.net项目中有一个UserControl,它有一个公共属性.当用户在IDE中突出显示UserControl的实例时,我不希望此属性显示在Visual Studio属性窗口中.我应该使用什么属性(或其他方法)来防止它出现?
class MyControl : System.Web.UI.UserControl { // Attribute to prevent property from showing in VS Property Window? public bool SampleProperty { get; set; } // other stuff }@H_403_3@