Rg.Plugins.Popup.Pages.PopupPage.OnSizeAllocated C# (CSharp) Method

OnSizeAllocated() protected method

protected OnSizeAllocated ( double width, double height ) : void
width double
height double
return void
        protected override void OnSizeAllocated(double width, double height)
        {
            base.OnSizeAllocated(width, height);
            if (Device.OS == TargetPlatform.Android || Device.OS == TargetPlatform.Windows)
            {
                Layout(DependencyService.Get<IScreenHelper>().ScreenSize);
            }
        }