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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to get the index of panels loaded in the StatusBarAdv being currently painted?

Platform: WinForms |
Control: StatusBarAdvPanel |
Published Date: October 9, 2015 |
Last Revised Date: October 9, 2015

The index of the StatusBarAdvPanel being painted can be achieved by handling the paint event of the StatusBarAdvPanel.

The following code example demonstrates the same.




Figure 1: Before painting the StatusBarAdv panel

Figure 2: StatusBarAdv panel is painted in index number 3

Figure 3: StatusBarAdv panel is painted in index number 2

Figure 4: StatusBarAdv panel is painted in index number 1

Figure 5: StatusBarAdv panel is painted in index number 0

Figure 6: After painting the StatusBarAdv panel

Sample Links

C#: StatusBarAdv_Index_C#

VB: StatusBarAdv_Index_VB

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon