Skip to main content

PersonPicture

Description​

PersonPicture is a WPF Control that represents a person or group with a photo, initials, or a glyph.

PersonPicture in light mode PersonPicture in dark mode

Example usage​

<fluence:PersonPicture DisplayName="Ana Bowman" />

Key properties​

PropertyDefaultPurpose
DisplayNameEmpty stringName used to derive up to two initials.
InitialsEmpty stringExplicit initials override those derived from the name.
ProfilePicturenullImage source for the profile photo.
IsGroupfalseDisplays a group glyph.
BadgeNumber0Number shown in the optional badge.
BadgeGlyphnullGlyph shown in the optional badge.

State and behavior​

ProfilePicture shows a photo. Without one, the control shows initials, derived from DisplayName unless Initials is set. IsGroup shows the group glyph in the icon font; initials continue to use the body font. BadgeNumber or BadgeGlyph adds a badge.

Reference​