summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.UAP
diff options
context:
space:
mode:
authorSamantha Houts <samantha@teamredwall.com>2017-01-31 19:49:15 (GMT)
committerGitHub <noreply@github.com>2017-01-31 19:49:15 (GMT)
commitae59382c9046501edb37882ad1c065aacce60319 (patch)
tree3578ce8e0396a38aeb8323d4051f50a19a5340fb /Xamarin.Forms.Platform.UAP
parent23d228039acc504049f6a5153f5839d4c714930a (diff)
downloadxamarin-forms-ae59382c9046501edb37882ad1c065aacce60319.zip
xamarin-forms-ae59382c9046501edb37882ad1c065aacce60319.tar.gz
xamarin-forms-ae59382c9046501edb37882ad1c065aacce60319.tar.bz2
[All] Basic Accessibility Support (#713)
* [Core] Add accessibility properties * [Controls] Add accessibility gallery * [iOS] Implement accessibility properties * [Android] Implement accessibilty properties * [Win] Implement accessibility properties * [Win] Select ListView item on selected for a11y * Update docs * TODO: macOS accessibility * [iOS] Fix failing UI Tests
Diffstat (limited to 'Xamarin.Forms.Platform.UAP')
-rw-r--r--Xamarin.Forms.Platform.UAP/MasterDetailPageRenderer.cs5
-rw-r--r--Xamarin.Forms.Platform.UAP/TabbedPageRenderer.cs7
2 files changed, 11 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.UAP/MasterDetailPageRenderer.cs b/Xamarin.Forms.Platform.UAP/MasterDetailPageRenderer.cs
index e024b23..4a7fe03 100644
--- a/Xamarin.Forms.Platform.UAP/MasterDetailPageRenderer.cs
+++ b/Xamarin.Forms.Platform.UAP/MasterDetailPageRenderer.cs
@@ -112,6 +112,11 @@ namespace Xamarin.Forms.Platform.UWP
return new SizeRequest(new Size(size.Width, size.Height));
}
+ UIElement IVisualElementRenderer.GetNativeElement()
+ {
+ return Control;
+ }
+
public void SetElement(VisualElement element)
{
MasterDetailPage old = Element;
diff --git a/Xamarin.Forms.Platform.UAP/TabbedPageRenderer.cs b/Xamarin.Forms.Platform.UAP/TabbedPageRenderer.cs
index 02b73c9..c278e39 100644
--- a/Xamarin.Forms.Platform.UAP/TabbedPageRenderer.cs
+++ b/Xamarin.Forms.Platform.UAP/TabbedPageRenderer.cs
@@ -122,7 +122,12 @@ namespace Xamarin.Forms.Platform.UWP
return new SizeRequest(result);
}
- public void SetElement(VisualElement element)
+ UIElement IVisualElementRenderer.GetNativeElement()
+ {
+ return Control;
+ }
+
+ public void SetElement(VisualElement element)
{
if (element != null && !(element is TabbedPage))
throw new ArgumentException("Element must be a TabbedPage", "element");