Avatar Controls does not generate correct abbreviation when email is used as Description

WPF Studio, Themes, and Shared Library for WPF Forum

Posted 2 months ago by Stefano
Version: 25.1.0
Platform: .NET 9
Environment: Windows 11 (64-bit)
Avatar

Hello,

In the documentation I see that if an email, in the format of "first.last@domain.com", is set as the Description for the Avatar control, the generated abbreviation should be "FL".
However, I see that instead it is "DC", so it is using the words after the "@" symbol.

I've seen it in both versions 25.1.0 and 24.1.1, using the sample browser with:

<shared:Avatar
    x:Name="avatar"
    Width="100"
    Height="{Binding RelativeSource={RelativeSource Self}, Path=Width}"
    CornerRadius="50"
    Description="first.last@domain.com" />


Thanks in advance.

Comments (1)

Posted 2 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

Thank you for reporting this.  We found the problem and corrected the logic for the next release.  In the meantime, you can explicitly set the Content property to the desired initials if needed.


Actipro Software Support

The latest build of this product (v25.1.1) was released 19 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.