$99 VS $1000+. UI Control for ASP.NET AJAX(contains chart and gridview).
WinForms Track and Status Control
Easily customizing Track and Status controls and build interactive and attractive UI
Home > WinForms UI Controls > User Manual > Customize Waiting Bar in C#

Customization of Waiting Bar Style and Appearance in C#.NET

KetticWaitingBar control is a powerful .NET component that can display the running operation for Windows Forms application. It is also allows the developers to customize the style and appearance of the waiting bar through the rich C# API included in the KetticWaitingBar control. In the C# tutorial below, we are going through the process of the visual appearance customization of the KetticWaitingBar.

Customize KetticWaitingBar Text in C#.NET

KetticWaitingBar control allows the UI designers to show the text of the waiting bar. There are few properties available for customizing the text of the KetticWaitingBar in C# Windows Forms application.
  • DisplayText, this property is used to enable the functionality to show text in the waiting bar
  • TextAlignment, this property is also included in the TextElement and used to adjust the text position
  • Text, this property is used to change the text content of KetticWaitingBar
  • AngleTransform, this property is included in the TextElement and used to change the text orientation
The following C# code demonstrates how to set these properties for customizing the text of KetticWaitingBar.

this.ketticWaitingBar1.ShowText = true;
this.ketticWaitingBar1.Text = "Waiting...";
this.ketticWaitingBar1.WaitingBarElement.TextElement.AngleTransform = 90;
this.ketticWaitingBar1.WaitingBarElement.TextElement.TextAlignment = ContentAlignment.MiddleLeft;

Customize Dash style of KetticWaitingBar in C#.NET

KetticWaitingBar control is capable of customizing the Dash style of the waiting bar. This functionality is enabled by setting the WaitingStyle to Dash. We can customize the appearance of the stripes pattern via accessing the SeparatorElement of the KetticWaitingBarElement. The C# code snippet below shows how to achieve this.

C# Setting Dash style for Waiting Indicators

Furthermore, the KetticWaitingBar control allows the designers to customize the dash style of the waiting indicators. We shall access the SeparatorElements of all indicators to customize the appearance of the stripes pattern of indicators. The following C# code sample demonstrates how to customize the dash style of waiting indicator.

Customize KetticWaitingBar shape in C#.NET

When customizing the KetticWaitingBar in C# Windows Forms application, we can apply various shapes to the WaitingBarElement, as well as the waiting indicator. The C# code sample below shows how to apply elliptical shape to the waiting indicator and the WaitingBarElement.
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