Hi Michael,
Thank you for youe patience.
The SetDockIcon() method used for Docking controls in Dockable mode. If a dock control is in MDI mode, it is a normal form (DockingWrapperForm) - in that case SetDockIcon does not work, so we have to use Form.Icon for this purpose.
Please refer the below code snippet.
[C#]
if (this.dockingManager1.IsMDIMode(panel1))
{
DockingWrapperForm form = panel1.Parent as DockingWrapperForm;
if (form != null && index>0)
{
form.Icon = Icon.FromHandle(new Bitmap(this.dockingManager1.ImageList.Images[index]).GetHicon());
}
}
Please refer the sample for above illustrates.
http://websamples.syncfusion.com/samples/Tools.Windows/F_75139/main.htmPlease let me know if this helps.
Regards,
Hema