summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.WinRT/ListViewGroupStyleSelector.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.WinRT/ListViewGroupStyleSelector.cs')
-rw-r--r--Xamarin.Forms.Platform.WinRT/ListViewGroupStyleSelector.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.WinRT/ListViewGroupStyleSelector.cs b/Xamarin.Forms.Platform.WinRT/ListViewGroupStyleSelector.cs
new file mode 100644
index 00000000..066f5681
--- /dev/null
+++ b/Xamarin.Forms.Platform.WinRT/ListViewGroupStyleSelector.cs
@@ -0,0 +1,18 @@
+´╗┐using Windows.UI.Xaml.Controls;
+
+#if WINDOWS_UWP
+
+namespace Xamarin.Forms.Platform.UWP
+#else
+
+namespace Xamarin.Forms.Platform.WinRT
+#endif
+{
+ public class ListViewGroupStyleSelector : GroupStyleSelector
+ {
+ protected override GroupStyle SelectGroupStyleCore(object group, uint level)
+ {
+ return (GroupStyle)Windows.UI.Xaml.Application.Current.Resources["ListViewGroup"];
+ }
+ }
+} \ No newline at end of file