New to Telerik UI for .NET MAUIStart a free 30-day trial

Represents a view that indicates that participants in the chat are typing.

Definition

Namespace:Telerik.Maui.Controls.Chat

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class TypingIndicator : RadContentView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout

Inheritance: objectRadContentViewTypingIndicator

Implements: IContentViewICrossPlatformLayoutIElementIPaddingIRadContentViewITransformIView...

Inherited Members RadContentView.ActualStyleClassPropertyRadContentView.OnChildAdded(Element)RadContentView.OnChildRemoved(Element, int)RadContentView.OnBindingContextChanged()RadContentView.OnHandlerChanged()

Constructors

Initializes a new instance of the TypingIndicator class.

C#
public TypingIndicator()

Fields

ActualImageProperty

BindableProperty

Identifies the ActualImage property.

C#
public static readonly BindableProperty ActualImageProperty

ActualIsTypingProperty

BindableProperty

Identifies the ActualIsTyping property.

C#
public static readonly BindableProperty ActualIsTypingProperty

ActualTextProperty

BindableProperty

Identifies the ActualText property.

C#
public static readonly BindableProperty ActualTextProperty

DotsColorProperty

BindableProperty

Identifies the DotsColor property.

C#
public static readonly BindableProperty DotsColorProperty

FontAttributesProperty

BindableProperty

Identifies the FontAttributes property.

C#
public static readonly BindableProperty FontAttributesProperty

FontFamilyProperty

BindableProperty

Identifies the FontFamily property.

C#
public static readonly BindableProperty FontFamilyProperty

FontSizeProperty

BindableProperty

Identifies the FontSize property.

C#
public static readonly BindableProperty FontSizeProperty

ImageProperty

BindableProperty

Identifies the Image property.

C#
public static readonly BindableProperty ImageProperty

IsTypingProperty

BindableProperty

Identifies the IsTyping property.

C#
public static readonly BindableProperty IsTypingProperty

ItemConverterProperty

BindableProperty

Identifies the ItemConverter property.

C#
public static readonly BindableProperty ItemConverterProperty

ItemsSourceProperty

BindableProperty

Identifies the ItemsSource property.

C#
public static readonly BindableProperty ItemsSourceProperty

TextColorProperty

BindableProperty

Identifies the TextColor property.

C#
public static readonly BindableProperty TextColorProperty

TextProperty

BindableProperty

Identifies the Text property.

C#
public static readonly BindableProperty TextProperty

Properties

ActualImage

ImageSource

Gets the actual image displayed by the indicator.

C#
public ImageSource ActualImage { get; }

Gets a value indicating whether the IsTyping property is true, or there is at least one author that is typing.

C#
public bool ActualIsTyping { get; }

Gets the actual text displayed by the indicator. This is the same value as the custom Text property, unless it's not provided in which case the TypingIndicator automatically generates the text that will be displayed.

C#
public string ActualText { get; }

Gets the authors that are currently typing.

C#
public ObservableCollection<Author> Authors { get; }

Gets or sets the color of the dots displayed by the typing indicator.

C#
public Color DotsColor { get; set; }

FontAttributes

FontAttributes

Gets or sets the font attributes of the indicator text.

C#
public FontAttributes FontAttributes { get; set; }

Gets or sets the font family of the indicator text.

C#
public string FontFamily { get; set; }

Gets or sets the font size of the indicator text.

C#
[TypeConverter(typeof(FontSizeConverter))]
public double FontSize { get; set; }

Image

ImageSource

Gets or sets the custom image to be displayed. If the value of this property is null a default image is displayed.

C#
public ImageSource Image { get; set; }

Gets or sets a value indicating whether anybody is typing. This property has lower priority than the Authors property in that if there is at least one author that is typing, the value of IsTyping is not taken into consideration.

C#
public bool IsTyping { get; set; }

Gets or sets the author converter used by the typing indicator.

C#
public IAuthorConverter ItemConverter { get; set; }

Gets or sets the collection of authors used by the typing indicator.

C#
public IEnumerable ItemsSource { get; set; }

Gets or sets the custom text to be displayed. If the value of this property is null the TypingIndicator automatically generates the text that will be displayed.

C#
public string Text { get; set; }

Gets or sets the color of the indicator text.

C#
public Color TextColor { get; set; }

Methods

Gets the text that will be displayed. Override this method to set custom text.

C#
public virtual string BuildActualText()
Returns:

string

C#
protected override void OnApplyTemplate()