Hi,
I want to increase the height of the caption area of the UltraDockManager. I tried with all the properties
available but in vain. Also I want to change the background/foreground colors of the caption area.
But change is not reflecting.
Can any one tell me how i can achieve this ?
Thanks in Advance
Panna
Hello Panna,
For increasing the height of the caption area of the UltraDockManager you can use following code snippet:
dockManager.ImageSizeCaption = new Size(40, 40);
For changing the colors you may try something like the following code:
dockManager.DefaultPaneSettings.ActiveCaptionAppearance.BackColor = Color.Red; dockManager.DefaultPaneSettings.ActiveCaptionAppearance.BackColor2 = Color.RoyalBlue; dockManager.DefaultPaneSettings.ActiveCaptionAppearance.ForeColor = Color.Yellow; dockManager.DefaultPaneSettings.ActiveCaptionAppearance.BackGradientStyle = GradientStyle.Horizontal;You also need to change the window style of your dockManager because some themes override your colors.
dockManager.WindowStyle = WindowStyle.VisualStudio2008;
Sincerely,
Danko Valkov
Developer Support Engineer
Infragistics, Inc.