Пример #1
0
        private void checkUser(object sender, EventArgs e)
        {
            if (pictureSize > this.Master.Width)
            {
                pictureSize = this.Master.Width * .75;
                radius      = pictureSize / 2;

                userPicture.HeightRequest = pictureSize;
                userPicture.WidthRequest  = pictureSize;
                userPicture.CornerRadius  = (float)radius;
            }

            //check and update user picture and message
            // SignOutButton.IsVisible = mainPageVM.checkUserStatus();
            mainPageVM.checkUserStatus();
        }