System.Windows.Controls.SelectorSelectionAdapter.OnSelectionChanged C# (CSharp) Method

OnSelectionChanged() private method

Handles the SelectionChanged event on the Selector control.
private OnSelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
sender object The source object.
e System.Windows.Controls.SelectionChangedEventArgs The selection changed event data.
return void
        private void OnSelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            if(IgnoringSelectionChanged)
            {
                return;
            }

            SelectionChangedEventHandler handler = SelectionChanged;
            if(handler != null)
            {
                handler(sender, e);
            }
        }