We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to make taskbarbox fill thw whole taskbar area.

Thread ID:

Created:

Updated:

Platform:

Replies:

43210 Apr 18,2006 10:58 AM Apr 19,2006 11:56 AM Windows Forms 2
loading
Tags: Tools
Lan Mo
Asked On April 18, 2006 10:58 AM

Hello There, I have a form with a taskbar left-docked. The taskbar(Navy color) has only one taskbarbox(blue color) which has a gradient panel (red color). I want to the gradient panel to fill the whole available space of the taskbar whenever the form is resized. Please see my attached sample. How can I do it? Thanks you. Lan

WindowsApplication151.zip

Mano J [Syncfusion]
Replied On April 18, 2006 11:59 AM

Hi Lan, You can achieve this by setting the XPTaskBarBox''s PreferredChildPanelHeight to the xptaskBar''s height as follows in the Form_Resize event private void Form1_Resize(object sender, System.EventArgs e) { this.xpTaskBarBox1.PreferredChildPanelHeight = this.xpTaskBar1.Height - 30; } Here, I have reduced the XPTaskBarBox''s Header height from the xptaskBarBox''s height. Please let me know if this meets your requirements. Thanks for using Essential Tools. Regards, Mano

Lan Mo
Replied On April 19, 2006 11:56 AM

Thank you. That works for me now. >Hi Lan, > >You can achieve this by setting the XPTaskBarBox''s PreferredChildPanelHeight to the xptaskBar''s height as follows in the Form_Resize event > >private void Form1_Resize(object sender, System.EventArgs e) >{ >this.xpTaskBarBox1.PreferredChildPanelHeight = this.xpTaskBar1.Height - 30; >} > >Here, I have reduced the XPTaskBarBox''s Header height from the xptaskBarBox''s height. > >Please let me know if this meets your requirements. Thanks for using Essential Tools. > >Regards, >Mano >

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;