diff options
author | Eric Maupin <ermaup@microsoft.com> | 2019-10-16 21:01:44 +0300 |
---|---|---|
committer | Eric Maupin <ermaup@microsoft.com> | 2019-10-16 21:01:44 +0300 |
commit | 1120b18eeedd32a6b16ab40a67245a66d3dcaa3c (patch) | |
tree | 6a2225c9f04367c6e44f195c6965157bb64286e9 /Xamarin.PropertyEditing.Windows | |
parent | 3a5c6ca9415effe920c105d1d0e9fd3c9da7023a (diff) |
[Win] Fix setting automation name to null in autosizing
Diffstat (limited to 'Xamarin.PropertyEditing.Windows')
-rw-r--r-- | Xamarin.PropertyEditing.Windows/AutoResizingMaskEditorControl.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.PropertyEditing.Windows/AutoResizingMaskEditorControl.cs b/Xamarin.PropertyEditing.Windows/AutoResizingMaskEditorControl.cs index 23ba339..076530c 100644 --- a/Xamarin.PropertyEditing.Windows/AutoResizingMaskEditorControl.cs +++ b/Xamarin.PropertyEditing.Windows/AutoResizingMaskEditorControl.cs @@ -110,7 +110,7 @@ namespace Xamarin.PropertyEditing.Windows name = String.Format (Properties.Resources.AutoresizingSizingName, current); } - AutomationProperties.SetName (this.sizingButton, name); + AutomationProperties.SetName (this.sizingButton, name ?? String.Empty); } } } |