Login Status
Last updated
Last updated
⚙️ Powered by Rock RMS
Inherits from Xamarin.Forms.ContentView
The Login Status control displays an icon and message encouraging individuals to log in. After logging in, it will display their profile image, and tapping will provide the option to capture or upload a new photo.
Property
Type
Description
WelcomeMessage
string Lava
The welcome message that is displayed when a user is logged in. Defaults to Hello {{ CurrentPerson.FirstName }}!
LoginMessage
string Lava
The login message that is displayed if a user is not logged in. Defaults to Login.
EditProfileLabel
string Lava
The edit profile subtext that is displayed if a user is logged in. Defaults to Edit Profile.
LoginLabel
string Lava
The login subtext that is displayed if a user is not logged in. Defaults to Tap to Personalize.
NoProfileIcon
string
The no profile icon that is displayed if a user is logged in but has no profile photo. Defaults to resource://Rock.Mobile.Resources.profile-no-photo.png.
NotLoggedInIcon
string
The image that is displayed if no user is logged in. Defaults to resource://Rock.Mobile.Resources.person-no-photo-unknown.svg.
ProfilePageGuid
Guid
The profile page unique identifier that the user will be directed to when they tap on the Edit Profile text.
ImageSize
double
The width and height of the profile image to be displayed. Defaults to 80.
ImageBorderSize
double
The width of the profile image border to be displayed. Defaults to 0.
ImageBorderColor
The color to use when drawing the border around the profile image. Defaults to White.
TitleFontSize
double
The size of the font to use when rendering the Title text.
SubTitleFontSize
double
The size of the font to use when rendering the SubTitle text.
Users will have the option to take a new photo or select an existing one from their photo library. These options appear in a popup window that you can style using the CSS classes listed below.
The popup window was replaced with the command. Although the command itself supports updating the photo for any individual, the LoginStatus control only changes the photo for the CurrentPerson
.