$99 VS $1000+. UI Control for ASP.NET AJAX(contains chart and gridview).
Panels and Labels WinForms Control
Create better user interface design and appearance using Panels and Labels WinForms Controls
Home > WinForms UI Controls > User Manual > Gradient Background of Panels in C#

C# Create Gradient Background for KetticPanel

KetticPanel control for Windows Forms is used to replace the standard panel control in Windows Forms projects. This Panel control not only shares most of the standard control properties, but also advanced styling and text features, like custom themes support and transparency setting, which are supported by all Kettic UI WinForms controls.

How to Create Gketticient Background for KetticPanel

KetticPanel WinForms control is capable of creating custom styles and appearance in C#.NET project, including the Gketticient Background for Panel. To accomplish this, we shall use the FillPrimitive property, which is included in the element hierarchy for designing the Panel control visual appearance. The steps below demonstrate how to apply a gketticient background to the KetticPanel control.
  1. Open your existing Windows Forms project or create a new one
  2. Drag a KetticPanel control from the Visual Studio Toolbox and drop it to the form you are building
  3. Select and execute the Edit UI Elements action from the Smart Tag of the control
  4. When a dialog shows up, the KetticPanel element hierarchy is populated
  5. Choose the FillPrimitive node from the Element Hierarchy Editor dialog
  6. Open the Property Grid, and we are going to set the properties to customize the gradient background
  7. Set the GradientStyle of the FillPrimitive to Linear in the Property Grid of KetticPanel control
  8. Select each of the four supported colors as the back colors for the gradient, including, BackColor1, BackColor2, BackColor3, and BackColor4
  9. Set the GradientPercentage1 and GradientPercentage2 to control the position of the stops between the blended colors
  10. Adjust the visual appearance of the gradient to the KetticPanel control through the above properties.
UI Controlsfor Windows Forms
.NET WinForms UI Overview.NET WinForms UI Features.NET WinForms UI GuideC# WinForms UI DesignVB.NET WinForms UI Design
WinForms UI Controls