summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.WinRT.Phone/WindowsPhonePlatform.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.WinRT.Phone/WindowsPhonePlatform.cs')
-rw-r--r--Xamarin.Forms.Platform.WinRT.Phone/WindowsPhonePlatform.cs12
1 files changed, 0 insertions, 12 deletions
diff --git a/Xamarin.Forms.Platform.WinRT.Phone/WindowsPhonePlatform.cs b/Xamarin.Forms.Platform.WinRT.Phone/WindowsPhonePlatform.cs
index 7564e673..524463f6 100644
--- a/Xamarin.Forms.Platform.WinRT.Phone/WindowsPhonePlatform.cs
+++ b/Xamarin.Forms.Platform.WinRT.Phone/WindowsPhonePlatform.cs
@@ -14,18 +14,6 @@ namespace Xamarin.Forms.Platform.WinRT
_status.Hiding += OnStatusBarHiding;
}
- internal override Rectangle WindowBounds
- {
- get
- {
- bool landscape = Device.Info.CurrentOrientation.IsLandscape ();
- double offset = (landscape) ? _status.OccludedRect.Width : _status.OccludedRect.Height;
-
- Rectangle original = base.WindowBounds;
- return new Rectangle (original.X, original.Y, original.Width - ((landscape) ? offset : 0), original.Height - ((landscape) ? 0 : offset));
- }
- }
-
readonly StatusBar _status;
void OnStatusBarHiding (StatusBar sender, object args)