MU
Murugan
Syncfusion Team
March 12, 2007 06:20 PM UTC
Hi Jas_sl,
We could get the control size of the Docked control when AutoHide = true, using DockInfo class. DockInfo details could be retrived from DockHostController class. Here is the sample code snippet
private void button1_Click(object sender, EventArgs e)
{
DockHost dh = this.listView1.Parent as DockHost;
DockHostController dhc = dh.InternalController as DockHostController;
DockInfo di = dhc.DITransient;
Console.WriteLine(di.rcDockArea.ToString());
}
In the sample code, ListView1 docked ControlSize is written on Console when button is clicked. Please try this and let me know if it helps you.
Thank you for using Syncfusion products.
Regards,
Murugan P.S