Hi,
I want to add the some Combobox,TextBox and Button on the DockTabStrip or Top of the ToolWindow of RadDock Control.
But i am not getting any way to do this.
And my anathor problem is that i rounded the shape of the e.DockWIndow with FIllPrimitive and BorderPrimitive properties that rounded
the upper portion of the ToolWindow but back portion of the control is looking odd/rectangle.
The Snap Shot of my problem with code over it is attached with this thread (dock.png).
Please review this problem as soon as possible.
I want to add the some Combobox,TextBox and Button on the DockTabStrip or Top of the ToolWindow of RadDock Control.
But i am not getting any way to do this.
And my anathor problem is that i rounded the shape of the e.DockWIndow with FIllPrimitive and BorderPrimitive properties that rounded
the upper portion of the ToolWindow but back portion of the control is looking odd/rectangle.
The Snap Shot of my problem with code over it is attached with this thread (dock.png).
Please review this problem as soon as possible.
private
void
radDock1_DockStateChanged_1(
object
sender, DockWindowEventArgs e)
{
try
{
e.DockWindow.Text = strCaption;
FillPrimitive fill = (FillPrimitive)((ToolTabStrip)e.DockWindow.DockTabStrip).CaptionElement.Children[0];
BorderPrimitive border = (BorderPrimitive)((ToolTabStrip)e.DockWindow.DockTabStrip).CaptionElement.Children[1];
fill.AutoSize =
false
;
fill.Size =
new
Size(e.DockWindow.Width, 35);
border.Shape =
this
.toproundedshape;
}
catch
(Exception)
{
throw
;
}
}