Skip to content

Commit

Permalink
Accessibility: NRE announcing changed item in PropertyGrid (#1998)
Browse files Browse the repository at this point in the history
Accessibility: NRE announcing changed item in `PropertyGrid`
  • Loading branch information
RussKie authored Oct 24, 2019
2 parents 58d0d0d + 3dd3964 commit d890296
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3527,6 +3527,11 @@ internal void OnPropertyValueSet(GridItem changedItem, object oldValue)
{
OnPropertyValueChanged(new PropertyValueChangedEventArgs(changedItem, oldValue));

if (changedItem == null)
{
return;
}

// Announce the property value change like standalone combobox control do: "[something] selected".
bool dropDown = false;
Type propertyType = changedItem.PropertyDescriptor.PropertyType;
Expand Down

0 comments on commit d890296

Please sign in to comment.