Hi,
I am using a xamcomboeditor inside a xamribbon.Followed the following sample
http://forums.infragistics.com/forums/p/50014/263304.aspx
how do we get selecteditems of xamcomboeditortool?
thanks.
I took a look at your code, and the tools are arranged horizontally because of their size - they are displayed in their maximized sizing mode.
If you want to stack them vertically you'll need to set their "MaximumSize" property to "ImageAndTextNormal".
About the rebinding issue - I couldn't find the described logic in the code you provided, so I was unable to see what's going on there.
Hope this helps,
i have attached the xamcomboeditortool class and usercontrol(which uses the xamcomboeditortool in xamribbon).
VerticalRibbonToolContainer doesnot work as expected in the above files.(controls are arranged horizontally even after specifying VerticalRibbonToolContainer)
Also, on MouseLeftButtonUp event, i am rebinding the comboboxes in code behind. i have noticed that rebinding works if resource washer for xamribbon is not used.
Rebinding doenot work if resource washer for xamribbon is used.
please let me know issue in the above code.
Hello,
I have been looking into your post and I have tested the provided code in my sample application and I am not sure how you use the ‘Width’, ‘Height’ and ‘AllowMultipleSelection’ properties of the XamComboEditoTool. They are not part of the properties of the RibbonTool :
http://help.infragistics.com/Help/NetAdvantage/Silverlight/2012.1/CLR4.0/html/InfragisticsSL5.Controls.Menus.XamRibbon.v12.1~Infragistics.Controls.Menus.RibbonTool_members.html
If I skip them, everything works. Also I cannot see where you change the ItemSource of the XamComboEditoTool.
Would you please send my your sample application where you issue occurs in order to provide you with more accurate assistance ?
Looking forward to hearing from you
hi,
i have few more issues with xamcomboeditortool.
XamComboEditorTool doesnot rebind with the new itemsource(after switching tabs).
Also, VerticalRibbonToolContainer doesnot work as expected with XamComboEditorTool. Following code is supposed to have
buttons in horizontal alignment
combobox and buttons in vertical aligment.
<ig:VerticalRibbonToolContainer>
<local:XamComboEditorTool Id="Combo" Width="75" Height="10" AllowMultipleSelection="False" CheckBoxVisibility="Collapsed"></local:XamComboEditorTool>
<ig:HorizontalRibbonToolContainer>
<ig:ButtonTool x:Name="Btn1" Caption="Site"></ig:ButtonTool>
<ig:ButtonTool x:Name="Btn2" Caption="Sector"></ig:ButtonTool>
<ig:ButtonTool x:Name="Btn3" Caption="Carrier"></ig:ButtonTool>
<ig:ButtonTool x:Name="Btn4" Caption="Grid"></ig:ButtonTool>
</ig:HorizontalRibbonToolContainer>
</ig:VerticalRibbonToolContainer>
please let me know if i am missing something?
I am just checking if you require any further assistance on the matter.