Example #1
0
        private void Combobox_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            if (!SelectionFromUser)
            {
                SelectionFromUser = true;
                return;
            }

            SelectionCommitted?.Invoke(this, e);
        }
Example #2
0
 protected virtual void OnSelectionCommitted()
 {
     SelectionCommitted?.Invoke(this, EventArgs.Empty);
 }