We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to customize the appearance of the WaitingGradient style in the ProgressBarAdv?

You can customize the appearance of the ProgressBarAdv when using the ProgressStyle as ProgressBarStyles.WaitingGradient. The customized ProgressBarStyle can be achieved by handling the event, DrawWaitingCustomRender, and enabling the property, CustomWaitingRender in the ProgressBarAdv.

The following code example demonstrates the same.

 

C#

VB

 

Note: The property named “WaitingGradientEnabled” helps to enable the waiting gradient style in the ProgressBarAdv.

 

Figure 1: ProgressStyle specified as WaitingGradient

Figure 2: ProgressBar with custom draw in WaitingGradient style

Sample Links:

C#: ProgressBarAdv_CustomDraw_C#

VB: ProgressBarAdv_CustomDraw_VB

Article ID: Published Date: Last Revised Date: Platform: Control:
5398 09/01/2015 09/01/2015 Windows Forms ProgressBarAdv
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.