New to Telerik UI for WPF? Start a free 30-day trial

Author

Class

Represent a chat participant. Author of messages.

Definition

Constructors

Initializes a new instance of the Author class.

C#
public Author(string name, ImageSource avatar)
Parameters:namestringavatarImageSource

Initializes a new instance of the Author class.

C#
public Author(string name)
Parameters:namestring

Properties

Avatar

ImageSource

Gets or sets the Author's avatar.

C#
public ImageSource Avatar { get; set; }

Gets or sets additional data.

C#
public object Data { get; set; }

Gets the default author that is used if no CurrentAuthor is assigned.

C#
public static Author DefaultAuthor { get; }

Gets a value that indicates whether this Author instance represents the current author.

C#
public bool IsCurrent { get; }

Gets or sets the Author's name.

C#
public string Name { get; set; }