Hi Gary,
I can think of 2 solutions:
1. You can drop on NUIPanel on the tab page and set its Dock property to Fill.
2. You can create your tab page class that inherits NTabPage and override OnPaintBackground method to fill itself with a gradient. Then instead of adding the NTabPage into the NTabControl.TabPages collection add instance of this new class.
Here is an implementation of this class:
Imports System.Drawing
Imports System.Drawing.Drawing2D
Imports Nevron.UI.WinForm.Controls
Public Class MyNTabPage
Inherits NTabPage
Protected Overrides Sub OnPaintBackground(ByVal e As System.Windows.Forms.PaintEventArgs)
Dim g As Graphics = e.Graphics
Dim r As Rectangle = ClientRectangle
Dim c1 As Color = Palette.ControlLight
Dim c2 As Color = Palette.ControlDark
Using brush As LinearGradientBrush = New LinearGradientBrush(r, c1, c2, 90.0F)
g.FillRectangle(brush, r)
End Using
End Sub
End Class
Regards,
Angel.