This is a migrated thread and some comments may be shown as answers.

Controlling overflow of items on the toolbar?

2 Answers 207 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
Rob
Top achievements
Rank 1
Rob asked on 17 Jul 2009, 01:31 PM
Is it possible to force an item to stay in the overflow panel of a tool bar?

2 Answers, 1 is accepted

Sort by
0
Rob
Top achievements
Rank 1
answered on 17 Jul 2009, 02:24 PM
Found it....  For the interest of others....

<Grid Width="200">  
 
  <RadNav:RadToolBarTray> 
 
    <RadNav:RadToolBar> 
 
      <Button Content="Always" RadNav:RadToolBar.OverflowMode="Always"/>  
        
      <Button Content="Never" RadNav:RadToolBar.OverflowMode="Never"/>  
 
      <Button Content="AsNeeded" RadNav:RadToolBar.OverflowMode="AsNeeded"/>  
 
    </RadNav:RadToolBar> 
 
  </RadNav:RadToolBarTray> 
 
</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.
0
Ivan
Telerik team
answered on 17 Jul 2009, 04:35 PM
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.
Tags
ToolBar
Asked by
Rob
Top achievements
Rank 1
Answers by
Rob
Top achievements
Rank 1
Ivan
Telerik team
Share this question
or