' Creates the private variable that will store the value of your
' property.
Private varValue as integer
' Declares the property.
Property ButtonValue() as Integer
' Sets the method for retrieving the value of your property.
Get
Return varValue
End Get
' Sets the method for setting the value of your property.
Set(ByVal Value as Integer)
varValue = Value
End Set
End Property