public UserInfo() { header = new Label(); header.TextColor = Colors.CartoNavy; header.FontSize = 12; image = new Image(); login = new Label(); login.FontAttributes = FontAttributes.Bold; login.FontSize = 15; login.VerticalTextAlignment = TextAlignment.Center; name = new Label(); name.TextColor = Color.FromRgb(100, 100, 100); name.FontSize = 12; LogoutButton = new LogoutButton(); }