Hi Eric,
If you wanted a Simple Answer!
Just add a Property to your inheriting class.
Public Class MyObj
Inherits ListView
Private _myProp as Object
Public Property MyProp as Object
Get
Return _myProp
End Get
Set (Value as Object)
_myProp = Value
End Set
End Property
End Class
My Property will now be visible in the Designer, after compiled of course..
Also you can add and checkout
Imports System.ComponentModel
Then above your property type <
This will present a list of things you can assign for your property,
Some usefull one's from the designer's point of view are, DefaultValue,
Browsable, Category
There should be some doc under ComponentModel.
If you need any more help then please ask.
Rigga.
Eric Fleet said:
I am creating a user control that inherits the standard listview. I want
to add a couple properties that should be available in the designer, but
haven't the fogiest idea how. Please help!