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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

XpTaskBar fixed size

Thread ID:

Created:

Updated:

Platform:

Replies:

20456 Oct 19,2004 12:03 PM UTC Oct 27,2004 10:02 AM UTC WinForms 5
loading
Tags: Tools
Tyler Kohn
Asked On October 19, 2004 12:03 PM UTC

This is probably simple, but I can''t seem to find the answer. I have an XpTaskBar in my application (docked on the left hand side), but i don''t want to allow users to change the width of the taskbar. How would I go about fixing the width? Also I don''t want users to be able to dock it to another edge of the app (I suppose the right side would be ok, but the top and bottom wouldn''t make any sense). thanks

Administrator [Syncfusion]
Replied On October 21, 2004 01:56 PM UTC

I''m trying to do the same thing. Apparently it isn''t so simple!

Administrator [Syncfusion]
Replied On October 22, 2004 06:22 PM UTC

Hi, Sorry for the delay in responsing. 1) You can fix the width of docked controls by setting the FreezeResizing property. //Freeze resizing this.dockingManager1.FreezeResizing = true; 2) You can prevent docking to specific side by handling the DockAllow Event private void dockingManager1_DockAllow(object sender, Syncfusion.Windows.Forms.Tools.DockAllowEventArgs arg) { if(arg.TargetControl is System.Windows.Forms.Form) { if((arg.DockStyle == DockingStyle.Top) || (arg.DockStyle == DockingStyle.Bottom) ) { arg.Cancel = true; } } } Please let me know if you have any questions. Thanks. Best regards, Stephen. > >This is probably simple, but I can''t seem to find the answer. I have an XpTaskBar in my application (docked on the left hand side), but i don''t want to allow users to change the width of the taskbar. How would I go about fixing the width? Also I don''t want users to be able to dock it to another edge of the app (I suppose the right side would be ok, but the top and bottom wouldn''t make any sense). > >thanks

Administrator [Syncfusion]
Replied On October 23, 2004 11:31 AM UTC

OK that was very simple, but why is this property not available in the property page of the VS.NET form designer?

Tyler Kohn
Replied On October 26, 2004 10:01 AM UTC

worked great, thanks.

Administrator [Syncfusion]
Replied On October 27, 2004 10:02 AM UTC

Hi, Thanks for the suggestion. We will make this a designer property in the next release. Thank you for your co-operation. Best regards, Stephen. > >worked great, thanks. > >

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.

Warning Icon 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.Close Icon

;