[Root] / Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit.Converters Namespace / ChatInitialsBackgroundConverter Class


In This Topic
    ChatInitialsBackgroundConverter Class
    In This Topic
    Maps a name to a deterministic Brush.
    Syntax
    'Declaration
     
    
    Public Class ChatInitialsBackgroundConverter 
    'Usage
     
    
    Dim instance As ChatInitialsBackgroundConverter
    public class ChatInitialsBackgroundConverter 
    Remarks

    The Brush picks from an 8 color palette; the colors used stay consistent per sender.

    The colors are as follow:

    • 0: #1565C0 (Blue)
    • 1: #2E7D32 (Green)
    • 2: #6A1B9A (Purple)
    • 3: #C62828 (Red)
    • 4: #00838F (Teal)
    • 5: #EF6C00 (Orange)
    • 6: #4E342E (Brown)
    • 7: #37474F (BlueGrey)
    Inheritance Hierarchy

    System.Object
       Xceed.Wpf.Toolkit.Converters.ChatInitialsBackgroundConverter

    Public Constructors
    Public Methods
     NameDescription
    Public Method  
    Public Method  
    Top
    Supported Frameworks

    .NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.

    .NET Framework: net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.

    See Also