How can I create a XamTextEditor with Popup much like XamComboEditor. The difference being in the Popup control I have custom control which has 3 different ItemSources with corresponding list boxes. In terms of behaviour its pretty much same, when item is selected in any of the list box. The popup closes and the selected item is set back to the cell.
Hello,
Thank you for posting!
I have been looking into your description and I could suggest you to use the MouseUp event of the editor in order to display the popup. Then when item in the popup is selected you may update the Value and the DisplayText properties of the editor.
It is also possible to change the default template of the editor. The default style is located in the EditorsGeneric_Express.xaml file under the Infragistics folder: C:\Program Files (x86)\Infragistics\NetAdvantage 2013.1\WPF\DefaultStyles\Editors
Thanks Maria, I will work on building something along your suggestion.
Coming from the Infragisitics WindowsForms world, I was expecting something similar components in Infragistics WPF
psuedo code from winforms,
UltraTextEditor.ButtonsRight.Add ( DropDownEditorButton ) DropDownEditorButton. Control = MyPopControl DropDownEditorButton. AfterCloseUp += { UltraTextEditor. Value = MyPopContorl. Value }
UltraTextEditor.ButtonsRight.Add ( DropDownEditorButton )
DropDownEditorButton. Control = MyPopControl
DropDownEditorButton. AfterCloseUp += { UltraTextEditor. Value = MyPopContorl. Value }
I am guessing I have to start thinking WPF way....