How can I load the custom source in FxAutoComplete?
Load the custom source
We can load the custom data dynamically using custom source property. CustomSource property will accept list type. We can make a collection with string type value and we could assign them into CustomSource property.
List <string> customSource = new List <string> ();
customSource.Add("C#");
customSource.Add("VB.Net");
customSource.Add("Asp.Net");
customSource.Add("J#.Net");
customSource.Add("Ajax");
customSource.Add("WPF");
customSource.Add("WCF");
customSource.Add("WWF");
customSource.Add("WC");
FxAutoCompleteObject.CustomSource = customSource;
Note:
For custom source you should set source property of FxAutoComplete as SourceMode.Custom. Ex: FxAutoCompleteObject.Source=SourceMode.Custom