Group: Forum Members
Last Active: 12 Years Ago
Posts: 9,
Visits: 1
|
Is there a way to obtain the Bounds of a Tab Button (the one we click to switch to a tab page) for a NTabControl?
|
Group: Forum Members
Last Active: Last Month
Posts: 139,
Visits: 184
|
Hello Partho, You can do that by getting the first Control in NTabControl.Controls collection, which is always NTabStrip, and then get the bounds of the NTabStrip NTabs: NTabStrip tabStrip = nTabControl1.Controls[0] as NTabStrip;if (tabStrip != null){ Rectangle r = tabStrip.Tabs[0].Bounds;} Regards, Angel.
|