I am trying to add a textbox to the XamRibbon group. I am using 10.3 version. Following is the xaml where the textbox needs to reside.
<ig:XamRibbon> <ig:XamRibbon.Tabs> <ig:XamRibbonTabItem> <ig:XamRibbonGroup Caption="Search"> <ig:VerticalRibbonToolContainer> <ig:CheckBoxTool Caption="Enabled"/> <TextBox/> </ig:VerticalRibbonToolContainer> </ig:XamRibbonGroup> </ig:XamRibbonTabItem> </ig:XamRibbon.Tabs> </ig:XamRibbon>
Hi,
Due to certain limitations of Silverlight, the ribbon tools are not controls. Instead, each tool generates a control to display when necessary. For example, you might want to add a tool to a ribbon group, and display the same tool in the Quick Access Toolbar. In this case the tool will generate and display two controls - one in the group, and one in the QAT.
So, in order to display a TextBox in the ribbon, you'll have to create a custom ribbon tool for that purpose. The following thread shows exactly how to do that and you can find attached sample with ComboBoxTool:
http://community.infragistics.com/forums/p/48137/264889.aspx#264889
Using the same approach you can easily implement a TextBoxTool.
Hope this helps,