I'm inheriting a Control, with the goal of overriding the value of the DefaultValue attribute of some properties. However, to do this I need to add some boilerplate to create "proxies" to the parent class's properties, like this:
<DefaultValue("new_default_value")> _
Public Overloads Property SomeProperty As String
Get
Return MyBase.SomeProperty
End Get
Set(value As String)
MyBase.SomeProperty = value
End Set
End Property
My question is, is there any better way of overriding the value of the DefaultValue attribute without using this? As long as its usable/visible from the Visual Studio Form Designer.