Hi,
I have some Style-members as Integer()
And a private member myStyle as integer
There is a Property to show in the PropertiesBox
In the PropertiesBox my Property appears as:
Style_________Int32[]Array
[0]__________ 0
[1]__________ 3
[2]__________ 3
[3]__________ 3
I would like it to be shown as, for instance, the Padding Property.
So with meaningful names like: All, Left,Top, etc.Anybody knows if, and if so, how this can be done?
I have some Style-members as Integer()
And a private member myStyle as integer
Code:
Public ExpandAll() As Integer = New Integer() {Expand, Expand, Expand, Expand}
Public FloatAll() As Integer = New Integer() {Float, Float, Float, Float}
Public LockAll() As Integer = New Integer() {Lock, Lock, Lock, Lock}
Public RigidAl() As Integer = New Integer() {Rigid, Rigid, Rigid, Rigid}
Public DLeft() As Integer = New Integer() {Expand, Rigid, Rigid, Rigid}
Private myStyle() As Integer = DLeft
Code:
Public Property Style As Integer()
Get
Return myStyle
End Get
Set(value As Integer())
myStyle = value
End Set
End Property
Style_________Int32[]Array
[0]__________ 0
[1]__________ 3
[2]__________ 3
[3]__________ 3
I would like it to be shown as, for instance, the Padding Property.
So with meaningful names like: All, Left,Top, etc.Anybody knows if, and if so, how this can be done?