diff options
author | Samantha Houts <samhouts@users.noreply.github.com> | 2017-05-10 10:20:57 -0700 |
---|---|---|
committer | Rui Marinho <me@ruimarinho.net> | 2017-05-10 18:23:00 +0100 |
commit | ab1f669f9f87bc0c9823929e6497bc3b1a4018d6 (patch) | |
tree | 5cdb6d84147912651727dd4fd27073acb68ef117 /Xamarin.Forms.Platform.UAP | |
parent | 5a472237b3b3f92cdaf5992a68a0afa0d49f4149 (diff) | |
download | xamarin-forms-ab1f669f9f87bc0c9823929e6497bc3b1a4018d6.tar.gz xamarin-forms-ab1f669f9f87bc0c9823929e6497bc3b1a4018d6.tar.bz2 xamarin-forms-ab1f669f9f87bc0c9823929e6497bc3b1a4018d6.zip |
[All] Rename Accessibility -> AutomationProperties (#912)
* [All] Renamed Accessibility -> AutomationProperties
* Update docs
* Restore doc summaries
* Revert unintended csproj changes
Diffstat (limited to 'Xamarin.Forms.Platform.UAP')
-rw-r--r-- | Xamarin.Forms.Platform.UAP/MasterDetailPageRenderer.cs | 2 | ||||
-rw-r--r-- | Xamarin.Forms.Platform.UAP/TabbedPageRenderer.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Xamarin.Forms.Platform.UAP/MasterDetailPageRenderer.cs b/Xamarin.Forms.Platform.UAP/MasterDetailPageRenderer.cs index 39435ae4..5d358c8d 100644 --- a/Xamarin.Forms.Platform.UAP/MasterDetailPageRenderer.cs +++ b/Xamarin.Forms.Platform.UAP/MasterDetailPageRenderer.cs @@ -148,7 +148,7 @@ namespace Xamarin.Forms.Platform.UWP UpdateIsPresented(); if (!string.IsNullOrEmpty(e.NewElement.AutomationId)) - Control.SetValue(AutomationProperties.AutomationIdProperty, e.NewElement.AutomationId); + Control.SetValue(Windows.UI.Xaml.Automation.AutomationProperties.AutomationIdProperty, e.NewElement.AutomationId); ((ITitleProvider)this).BarBackgroundBrush = (Brush)Windows.UI.Xaml.Application.Current.Resources["SystemControlBackgroundChromeMediumLowBrush"]; UpdateToolbarPlacement(); diff --git a/Xamarin.Forms.Platform.UAP/TabbedPageRenderer.cs b/Xamarin.Forms.Platform.UAP/TabbedPageRenderer.cs index cc6f172e..fb43ee25 100644 --- a/Xamarin.Forms.Platform.UAP/TabbedPageRenderer.cs +++ b/Xamarin.Forms.Platform.UAP/TabbedPageRenderer.cs @@ -172,7 +172,7 @@ namespace Xamarin.Forms.Platform.UWP element.PropertyChanged += OnElementPropertyChanged; if (!string.IsNullOrEmpty(element.AutomationId)) - Control.SetValue(AutomationProperties.AutomationIdProperty, element.AutomationId); + Control.SetValue(Windows.UI.Xaml.Automation.AutomationProperties.AutomationIdProperty, element.AutomationId); } OnElementChanged(new VisualElementChangedEventArgs(oldElement, element)); |