Trying to change the DefaultBackColor Property in a tabcontrol so that it matches the color of the form my users selected. Know I can change the backcolor of the tabpage but stumped so far with this and since I have been finding limited information on this I hoped some of the experts here could help. Here is what I have so far.
Public Class Custom_TabControl
Inherits System.Windows.Forms.TabControl
Private Shared test As Color = Color.Gainsboro
Private Shared Shadows ReadOnly Property DefaultBackColor() As Color
Get
Return test.Gainsboro
End Get
End Property
End Class
Public Class Custom_TabControl
Inherits System.Windows.Forms.TabControl
Private Shared test As Color = Color.Gainsboro
Private Shared Shadows ReadOnly Property DefaultBackColor() As Color
Get
Return test.Gainsboro
End Get
End Property
End Class