summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core
diff options
context:
space:
mode:
authorPaul DiPietro <pauldipietro@users.noreply.github.com>2016-11-18 12:38:30 (GMT)
committerStephane Delcroix <stephane@delcroix.org>2016-11-18 12:38:30 (GMT)
commitb2e2a8ff2a768e01fd8ee155c519de4bee310fb3 (patch)
treefb3c3453a30712ec06c0bd7388d037042a34cecf /Xamarin.Forms.Core
parent78518ce5cf9b05d4e9583c09cd5cc6256c74843c (diff)
downloadxamarin-forms-b2e2a8ff2a768e01fd8ee155c519de4bee310fb3.zip
xamarin-forms-b2e2a8ff2a768e01fd8ee155c519de4bee310fb3.tar.gz
xamarin-forms-b2e2a8ff2a768e01fd8ee155c519de4bee310fb3.tar.bz2
Platform specifics naming adjustments (#526)
Diffstat (limited to 'Xamarin.Forms.Core')
-rw-r--r--Xamarin.Forms.Core/PlatformConfiguration/AndroidSpecific/TabbedPage.cs10
-rw-r--r--Xamarin.Forms.Core/PlatformConfiguration/iOSSpecific/Entry.cs6
2 files changed, 8 insertions, 8 deletions
diff --git a/Xamarin.Forms.Core/PlatformConfiguration/AndroidSpecific/TabbedPage.cs b/Xamarin.Forms.Core/PlatformConfiguration/AndroidSpecific/TabbedPage.cs
index 5cec97e..dc4d1e1 100644
--- a/Xamarin.Forms.Core/PlatformConfiguration/AndroidSpecific/TabbedPage.cs
+++ b/Xamarin.Forms.Core/PlatformConfiguration/AndroidSpecific/TabbedPage.cs
@@ -45,24 +45,24 @@
BindableProperty.Create("OffscreenPageLimit", typeof(int),
typeof(TabbedPage), 3, validateValue: (binding, value) => (int)value >= 0);
- public static int GetOffscreenPageLimitProperty(BindableObject element)
+ public static int GetOffscreenPageLimit(BindableObject element)
{
return (int)element.GetValue(OffscreenPageLimitProperty);
}
- public static void SetOffscreenPageLimitProperty(BindableObject element, int value)
+ public static void SetOffscreenPageLimit(BindableObject element, int value)
{
element.SetValue(OffscreenPageLimitProperty, value);
}
public static int OffscreenPageLimit(this IPlatformElementConfiguration<Android, FormsElement> config)
{
- return GetOffscreenPageLimitProperty(config.Element);
+ return GetOffscreenPageLimit(config.Element);
}
- public static IPlatformElementConfiguration<Android, FormsElement> SetOffscreenPageLimitProperty(this IPlatformElementConfiguration<Android, FormsElement> config, int value)
+ public static IPlatformElementConfiguration<Android, FormsElement> SetOffscreenPageLimit(this IPlatformElementConfiguration<Android, FormsElement> config, int value)
{
- SetOffscreenPageLimitProperty(config.Element, value);
+ SetOffscreenPageLimit(config.Element, value);
return config;
}
}
diff --git a/Xamarin.Forms.Core/PlatformConfiguration/iOSSpecific/Entry.cs b/Xamarin.Forms.Core/PlatformConfiguration/iOSSpecific/Entry.cs
index ddd1d63..494bb12 100644
--- a/Xamarin.Forms.Core/PlatformConfiguration/iOSSpecific/Entry.cs
+++ b/Xamarin.Forms.Core/PlatformConfiguration/iOSSpecific/Entry.cs
@@ -7,7 +7,7 @@ namespace Xamarin.Forms.PlatformConfiguration.iOSSpecific
public static class Entry
{
public static readonly BindableProperty AdjustsFontSizeToFitWidthProperty =
- BindableProperty.Create("AdjustsFontSizeToFitWidth", typeof(bool),
+ BindableProperty.Create("AdjustsFontSizeToFitWidthEnabled", typeof(bool),
typeof(Entry), false);
public static bool GetAdjustsFontSizeToFitWidth(BindableObject element)
@@ -20,12 +20,12 @@ namespace Xamarin.Forms.PlatformConfiguration.iOSSpecific
element.SetValue(AdjustsFontSizeToFitWidthProperty, value);
}
- public static bool AdjustsFontSizeToFitWidth(this IPlatformElementConfiguration<iOS, FormsElement> config)
+ public static bool IsAdjustsFontSizeToFitWidthEnabled(this IPlatformElementConfiguration<iOS, FormsElement> config)
{
return GetAdjustsFontSizeToFitWidth(config.Element);
}
- public static IPlatformElementConfiguration<iOS, FormsElement> SetAdjustsFontSizeToFitWidth(this IPlatformElementConfiguration<iOS, FormsElement> config, bool value)
+ public static IPlatformElementConfiguration<iOS, FormsElement> SetAdjustsFontSizeToFitWidthEnabled(this IPlatformElementConfiguration<iOS, FormsElement> config, bool value)
{
SetAdjustsFontSizeToFitWidth(config.Element, value);
return config;