This question is locked. New answers and comments are not allowed.
Hi Telerik Team,
I would like to know how can I recreate the same tool bar than in VS 2005 (i.e. Solution Explorer Panel). I want to disappear the line of points to the left and make the tool bar fixed inside the docked panel.
Thanks in advance & regards,
Julio
I would like to know how can I recreate the same tool bar than in VS 2005 (i.e. Solution Explorer Panel). I want to disappear the line of points to the left and make the tool bar fixed inside the docked panel.
Thanks in advance & regards,
Julio
5 Answers, 1 is accepted
0
Hello JulioR,
Use the following as a solution:
1. Hide the grip element:
this.radToolStripItem1.Children[2].Visibility = ElementVisibility.Hidden;
2. Disable dragging of RadToolStripItem:
this.radToolStrip1.ToolStripManager.AllowDragging = false;
3. Hide the overflow button of RadToolStripItem:
this.radToolStrip1.ToolStripManager.ShowOverFlowButton = false;
Using this as a guide you should be able to achieve the base functionality of the toolBar in the solution explorer.
Please contact me if more questions pop up.
All the best,
Boyko Markov
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Use the following as a solution:
1. Hide the grip element:
this.radToolStripItem1.Children[2].Visibility = ElementVisibility.Hidden;
2. Disable dragging of RadToolStripItem:
this.radToolStrip1.ToolStripManager.AllowDragging = false;
3. Hide the overflow button of RadToolStripItem:
this.radToolStrip1.ToolStripManager.ShowOverFlowButton = false;
Using this as a guide you should be able to achieve the base functionality of the toolBar in the solution explorer.
Please contact me if more questions pop up.
All the best,
Boyko Markov
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
JulioR
Top achievements
Rank 1
answered on 10 Dec 2007, 09:06 AM
Thanks for the reply,
This works fine for dissapearing the right things, but now I'm trying to expand the toolbar to fit the content of the parent, and after trying with fitSizeMode and AutoSizeMode properties I can't find the right combination. How can I "dock to bottom" the ToolBarItem to his parent area?
Thanks again and regards,
Julio
This works fine for dissapearing the right things, but now I'm trying to expand the toolbar to fit the content of the parent, and after trying with fitSizeMode and AutoSizeMode properties I can't find the right combination. How can I "dock to bottom" the ToolBarItem to his parent area?
Thanks again and regards,
Julio
0
Hi JulioR,
Have you tried to use the Dock property of RadToolStrip? I mean the following:
Regards,
Boyko Markov
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Have you tried to use the Dock property of RadToolStrip? I mean the following:
- Create a new instance of RadToolStrip
- Add a new instance of RadToolStripElement
- Add a new instance of RadToolStripItem to the created RadToolStripElement
- Execute the code I've sent you in my last post
- Set the Dock property of RadToolStrip to Dock.Bottom
Regards,
Boyko Markov
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
JulioR
Top achievements
Rank 1
answered on 10 Dec 2007, 04:24 PM
Hi Boyko,
The radToolStrip control is already docked at the bottom, but the radToolStripElement is not expanded to fit the radToolStrip area, and this is what I need. If you see the VS 2005 Explorer panel, the toolbar is expanded to the parent area.
Thanks,
Julio
The radToolStrip control is already docked at the bottom, but the radToolStripElement is not expanded to fit the radToolStrip area, and this is what I need. If you see the VS 2005 Explorer panel, the toolbar is expanded to the parent area.
Thanks,
Julio
0
Hello JulioR,
We don't have a built-in logic to expand the toolStripItem to its parent area but you can use the MinSize property of RadToolStrip item to achieve this effect. For example:
Sincerely yours,
Boyko Markov
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
We don't have a built-in logic to expand the toolStripItem to its parent area but you can use the MinSize property of RadToolStrip item to achieve this effect. For example:
this.radToolStripItem1.MinSize = new Size(this.radToolStrip1.Size.Width, 0);
I hope this helps.Sincerely yours,
Boyko Markov
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center