You can specify the gradient background of XPTaskBar by using LinearGradientBrush and handling the XPTaskBar’s paint event handler.
The following code example demonstrates the same.
Figure 1: Before applying the gradient background to XPTaskBar
Figure 2: Gradient background is applied as ForwardDiagonal
Figure 3: Gradient background is applied as BackwardDiagonal
Figure 4: Gradient background is applied as Vertical
Figure 5: Gradient background is applied as Horizontal
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
or the page will be automatically redirected to sign-in page in 10 seconds.