Cursor Settings in Windows Forms Navigation Pane (GroupBar)
3 Sep 2020 / 1 minute to read
Cursor settings for GroupBar
The cursor settings of the GroupBar control can be changed using Cursor property.
this.groupBar1.Cursor = System.Windows.Forms.Cursors.Cross;
Me.groupBar1.Cursor = System.Windows.Forms.Cursors.Cross
Cursor settings for GroupBar items
You can set different types of cursors when the mouse pointer is over the GroupBar Items using GroupBarItemCursor property. The cursors available are Mouse, Cross, Help, Hand, and so on. The default cursor is ‘Arrow’.
this.groupBar1.GroupBarItemCursor = System.Windows.Forms.Cursors.Hand;
Me.groupBar1.GroupBarItemCursor = System.Windows.Forms.Cursors.Hand
NOTE
The ResetGroupBarItemCursor method can be used to reset the cursor when it is displayed over a GroupBar Item.
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page