Developer Docs - Mobile Docs - Avatar

Mv6.0 Cv15.0   📔  Avatar

Display a person's avatar using the configured settings. Rock's avatar feature provides the ability to create unique avatar images for each person record within the system.

Inherits from Microsoft.Maui.Controls.ContentView

Visit the link below to learn more about this Rock feature:

Avatar Styling

This control constructs an avatar image source based on the provided parameters or displays the current person's avatar.

Properties

Examples

In most cases, you'll want to provide the Avatar source directly to the component. This should be the method utilized whenever you have a person object available.

Otherwise, you can pass in the parameters to build the Avatar source manually.

If no properties are set, the component will display the current person's avatar: