Display a Window containing an AutoComplete control populated from a list of values,  returning the text when the Window is closed.


∇  xaml←AutoCompleteXAML
⍝ XAML for the AutoComplete example
 xaml,←⊂'    xmlns=""'
 xaml,←⊂'    xmlns:x=""'
 xaml,←⊂'    xmlns:sftools="clr-namespace:Syncfusion.Windows.Tools.Controls;assembly=SyncFusion.Tools.WPF"'
 xaml,←⊂'    SizeToContent="WidthandHeight" >'
 xaml,←⊂'    <StackPanel>'
 xaml,←⊂'         <sftools:AutoComplete Name="acExample">'
 xaml,←⊂'        </sftools:AutoComplete>'
 xaml,←⊂'    </StackPanel>'


z←AutoComplete items;⎕IO;⎕ML;xaml
⍝ Simple AutoComplete example
 ⎕IO ⎕ML←0 3
 window←#.UTIL.WPF.LoadXaml xaml(⊂'SyncTools')

Note - although the optimistic might have hoped that this control could serve the purpose of type-ahead in a text window it seems to be limited to this variant of a ComboBox.

The 'SyncTools' argument to #.UTIL.LoadXAML has the effect of adding


 to the ⎕USING list of LoadXAML


       #.AutoComplete.AutoComplete 'this' 'that' 'the other'
the other

Unresolved Issues