So I'm trying to do just as the title says.. Unfortunately every one of my attempts doesn't work.

It works, but doesn't save what I've changed it to. In the designer everything works fine. I can change the text and have it update on my button control. BUT once I run or rebuild in any way, the text property changes back to it's default value, in my case "Button Control"

These are what I've tried, and I've tried all with both Shadows and Overrides - both with identical outcomes. So I've just indicated that with Shadows/Overrides.

vbnet Code:
  1. <DefaultValue("Button Control"), Browsable(True)> _
  2.     Public Shadows/Overrides Property Text As String
  3.         Get
  4.             Return MyBase.Text
  5.         End Get
  6.         Set(ByVal value As String)
  7.             MyBase.Text = value
  8.             Me.Invalidate()
  9.         End Set
  10.     End Property
  11.  
  12.     Private _Text As String = "Button Control"
  13.     <DefaultValue("Button Control"), Browsable(True)> _
  14.     Public Shadows/Overrides Property Text As String
  15.         Get
  16.             Return Me._Text
  17.         End Get
  18.         Set(ByVal value As String)
  19.             Me._Text = value
  20.             Me.Invalidate()
  21.         End Set
  22.     End Property