I have a Winforms that uses Ultradockpanel and ultraformmanager.
The main requirement is to have the Ultradockpanel docked at left but below a top panel (header). For this I was reading that you have to use UltraDockPanel, so I created an UltraDockPanel added into Controls form and seems that worked fine, but when I added the UltraFormManager then this UltraDockPanel goes on top of the Form.
Any clue on how to make that panel goes on top of the inside form and not outside?
You're very welcome. I am glad I could help.
Wooow Thanks a lot Michael. This is what I need.
Amazing support. 1000 Thanks.
Kind regards,
Alejandro
I discussed this over with the team and determined that you have to convert your outerpane into a Panel that derives from IDockingArea. Please see the attached modified sample using the code below. The rest of your sample remains unchanged.
eg.
private DockableUltraExplorerBar outerDockPanel; this.outerDockPanel = new DockableUltraExplorerBar();
this.outerDockPanel.BackColor = System.Drawing.SystemColors.Window; this.outerDockPanel.Controls.Add(this.label1); this.outerDockPanel.Dock = System.Windows.Forms.DockStyle.Top; this.outerDockPanel.Location = new System.Drawing.Point(0, 0); this.outerDockPanel.Name = "outerDockPanel"; this.outerDockPanel.RightToLeft = System.Windows.Forms.RightToLeft.No; this.outerDockPanel.Size = new System.Drawing.Size(800, 48); this.outerDockPanel.TabIndex = 50;
public class DockableUltraExplorerBar : Panel, IDockingArea { public int PriorityLevel { get { return 350; } } }
FormToolbarsAndDockManagers.zip
Hi Michael,
I need it here. Appreciate it.
I am guessing you don't want to place your outerpanel into the pnlMain control? Please clarify where you want the white panel to go.