Click here to Skip to main content
15,888,733 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am trying to develop a floating toolbar for a .net control. Not able to find out any examples on web also. Can anyone please point me to correct source that would help me to achieve this fucntionality.

One example can be to develop a mini tool bar (as in MS Word) for a .net control.

Lets say for now we want to control the background and font size property of a control using this toolbar.
And this toolbar should pop up once I do a right click on the control.
Control can be taken as a button for a start.
Posted

Hi Pranav,

I am using a third party control (Telerik) and it is having a dockable control which allows different panels to be floating. Also you could see the bellow code project example. I think this should solve your issue.

WPF Docking Library

Regards,
Darshan.
 
Share this answer
 
Comments
Versatile49 11-Jul-12 9:53am    
Well I am looking to achieve this using WPF only. Also my control should float without this dockable control also.
darshan_ur 11-Jul-12 10:43am    
It seems you wish to create a custom control for your project which floats which out any docking Parent? I think this might be a bit tricky.
Then also you could try using the code which is available from the link which i mentioned above. Actually these kind of floating window could be quite useful, let me know if you need any help from my side.
Versatile49 12-Jul-12 1:57am    
Well the link only talks about using dock manager and dock panel. I tried using a WPF popup and putting a toolbar inside that, but that dosen't seem to be an elegant solution. If you find something nice then please do share.
I think i have got some thing.. Do you know the child window functionality of the WPF Toolkit.
You can use these control and ChildWIndow is floating if you keep the ISModal functionality to false and all of the properties of the control is same as Window Control in the WPF.
 
Share this answer
 
Comments
Versatile49 12-Jul-12 6:09am    
Can you provide some link where I can refer this.
darshan_ur 12-Jul-12 6:23am    
Here is a link bellow:

http://wpftoolkit.codeplex.com/wikipage?title=ChildWindow

Just set these property to false as bellow:
IsModal="False"
Versatile49 12-Jul-12 6:34am    
This is a nice idea which I can use. Thanks for information. Can you point me to other products like telerik you mentioned which provide this Mini Toolbar for WPF in some way or the other.
darshan_ur 12-Jul-12 6:37am    
http://www.telerik.com/products/wpf/overview.aspx

I am not an expert in this but you can explore the controls from here.
WPF has a PopUp control that can be used to host a control.
 
Share this answer
 
Comments
Versatile49 23-Sep-15 10:39am    
Why do you post it here?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900