Controlling overflow of items on the toolbar?

3 posts, 0 answers
  1. Rob
    Rob avatar
    238 posts
    Member since:
    Jan 2009

    Posted 17 Jul 2009 Link to this post

    Is it possible to force an item to stay in the overflow panel of a tool bar?
  2. Rob
    Rob avatar
    238 posts
    Member since:
    Jan 2009

    Posted 17 Jul 2009 Link to this post

    Found it....  For the interest of others....

    1 <Grid Width="200">  
    2  
    3   <RadNav:RadToolBarTray> 
    4  
    5     <RadNav:RadToolBar> 
    6  
    7       <Button Content="Always" RadNav:RadToolBar.OverflowMode="Always"/>  
    8         
    9       <Button Content="Never" RadNav:RadToolBar.OverflowMode="Never"/>  
    10  
    11       <Button Content="AsNeeded" RadNav:RadToolBar.OverflowMode="AsNeeded"/>  
    12  
    13     </RadNav:RadToolBar> 
    14  
    15   </RadNav:RadToolBarTray> 
    16  
    17 </Grid> 

    Always - Hides the button in the overflow area permanently. 

    Never - Keeps the button on the toolbar permanently.

    AsNeeded - Let's the control decide whether to place the item in the overflow area.
  3. DevCraft banner
  4. Ivan
    Admin
    Ivan avatar
    519 posts

    Posted 17 Jul 2009 Link to this post

    Hi Rob,

    Thank you for your interest in the RadToolBar control.

    As you already find the right property I will only say that the default value of the OverflowMode is AsNeeded. More about initialization of this property you can find in the this article.

    Greetings,
    Ivan
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top