问题描述
我想删除propertygrid中的一个属性(例如游标属性和其他...) 怎么样?
解决方法
将Browsable
attribute应用于您的媒体资源,并将其设置为False
,例如
Imports System.ComponentModel
Public Class Thing
Inherits Component
Public Property VisibleProperty As String
<Browsable(False)>
Public Property HiddenProperty As String
End Class