You are developing a Windows Forms Application by using the .NET Framework 3.5.You plan to design a composite custom control for the application. You include a ListBox control has a property that provides the item count of the ListBox control. You need to ensure that the property cannot be accessed at design time. Which attribute should you use?()
- A、[Bindable(false)]
- B、[DesignOnly(false)]
- C、[EditorBrowsable(EditorBrowsableState.Never)]
- D、[Browsable(false)]
正确答案:D
答案解析:有
微信扫一扫手机做题