summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Tizen/Extensions/PlatformConfigurationExtensions.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Extensions/PlatformConfigurationExtensions.cs')
-rw-r--r--Xamarin.Forms.Platform.Tizen/Extensions/PlatformConfigurationExtensions.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Extensions/PlatformConfigurationExtensions.cs b/Xamarin.Forms.Platform.Tizen/Extensions/PlatformConfigurationExtensions.cs
new file mode 100644
index 00000000..5f60d86a
--- /dev/null
+++ b/Xamarin.Forms.Platform.Tizen/Extensions/PlatformConfigurationExtensions.cs
@@ -0,0 +1,13 @@
+using CurrentPlatform = Xamarin.Forms.PlatformConfiguration.Tizen;
+
+namespace Xamarin.Forms.Platform.Tizen
+{
+ public static class PlatformConfigurationExtensions
+ {
+ public static IPlatformElementConfiguration<CurrentPlatform, T> OnThisPlatform<T>(this T element)
+ where T : Element, IElementConfiguration<T>
+ {
+ return (element).On<CurrentPlatform>();
+ }
+ }
+}