summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Controls/CoreGallery.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Controls/CoreGallery.cs')
-rw-r--r--Xamarin.Forms.Controls/CoreGallery.cs10
1 files changed, 0 insertions, 10 deletions
diff --git a/Xamarin.Forms.Controls/CoreGallery.cs b/Xamarin.Forms.Controls/CoreGallery.cs
index 924d4129..83d8ec6c 100644
--- a/Xamarin.Forms.Controls/CoreGallery.cs
+++ b/Xamarin.Forms.Controls/CoreGallery.cs
@@ -212,7 +212,6 @@ namespace Xamarin.Forms.Controls
}
};
#endif
- SetValue(Accessibility.NameProperty, "SwapRoot");
}
}
@@ -236,16 +235,9 @@ namespace Xamarin.Forms.Controls
public Func<Page> Realize { get; set; }
public string Title { get; set; }
-
- public override string ToString()
- {
- // a11y: let Narrator read a friendly string instead of the default ToString()
- return Title;
- }
}
List<GalleryPageFactory> _pages = new List<GalleryPageFactory> {
- new GalleryPageFactory(() => new AccessibilityGallery(), "Accessibility"),
new GalleryPageFactory(() => new PlatformSpecificsGallery(), "Platform Specifics"),
new GalleryPageFactory(() => new NativeBindingGalleryPage(), "Native Binding Controls Gallery"),
new GalleryPageFactory(() => new XamlNativeViews(), "Xaml Native Views Gallery"),
@@ -376,8 +368,6 @@ namespace Xamarin.Forms.Controls
SelectedItem = null;
};
-
- SetValue(Accessibility.NameProperty, "Core Pages");
}
NavigationBehavior navigationBehavior;