Home / Community & Support / Knowledge Base / RadControls for WinForms / ToolStrip / Creating a floating RadToolStrip

Creating a floating RadToolStrip

Article Info

Rating: 5

 

Article information

Article relates to

r.a.d controls for WinForms

Created by

Boyko Markov, Telerik

Last modified

February, 2, 2007

Last modified by

Boyko Markov, Telerik



HOW-TO
Create a floating toolStrip

SOLUTION
  1. Drag and drop a new RadToolStrip instance from the VS2005 toolbox
  2. Set the AllowFloating and AllowDragging properties to true:
     
    RadToolStrip.AllowFloating =  true
    RadToolStrip.AllowDragging =  true
     
  3. Create a new DockSite:
     
    RadToolStripDockSite dockSite =  new  RadToolStripDockSite(); 
     
  4. Add your toolStrip to the created dockSite:

    dockSite.AddToolStrip( RadToolStrip );  

Comments

If you'd like to comment on this KB article, please, send us a Support Ticket.
Thank you!

Please Sign In to rate this article.