Reputation: 3
I want to remove an property in propertygrid (like cursor property and other ...)
How?
Upvotes: 0
Views: 115
Reputation: 54417
Apply the Browsable
attribute to your property and set it to False
, e.g.
Imports System.ComponentModel
Public Class Thing
Inherits Component
Public Property VisibleProperty As String
<Browsable(False)>
Public Property HiddenProperty As String
End Class
Upvotes: 1