Ejemplo n.º 1
0
        private async void TextEditor_EditValueChanged(object sender, DevExpress.Xpf.Editors.EditValueChangedEventArgs e)
        {
            var s = sender as TextEditor;

            if (s != null && s.IsLoaded)
            {
                var city = await UtilDisplay.GetCityName(s.Text, editrow.Country);

                if (city != null)
                {
                    editrow.City = city;
                }
            }
        }