Class
TypingIndicator

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

Definition

Namespace:Telerik.Maui.Controls.Chat

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
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

TypingIndicator()

Initializes a new instance of the TypingIndicator class.

Declaration

cs-api-definition
public TypingIndicator()

Fields

ActualImageProperty

Identifies the ActualImage property.

Declaration

cs-api-definition
public static readonly BindableProperty ActualImageProperty

Field Value

BindableProperty

ActualIsTypingProperty

Identifies the ActualIsTyping property.

Declaration

cs-api-definition
public static readonly BindableProperty ActualIsTypingProperty

Field Value

BindableProperty

ActualTextProperty

Identifies the ActualText property.

Declaration

cs-api-definition
public static readonly BindableProperty ActualTextProperty

Field Value

BindableProperty

DotsColorProperty

Identifies the DotsColor property.

Declaration

cs-api-definition
public static readonly BindableProperty DotsColorProperty

Field Value

BindableProperty

FontAttributesProperty

Identifies the FontAttributes property.

Declaration

cs-api-definition
public static readonly BindableProperty FontAttributesProperty

Field Value

BindableProperty

FontFamilyProperty

Identifies the FontFamily property.

Declaration

cs-api-definition
public static readonly BindableProperty FontFamilyProperty

Field Value

BindableProperty

FontSizeProperty

Identifies the FontSize property.

Declaration

cs-api-definition
public static readonly BindableProperty FontSizeProperty

Field Value

BindableProperty

ImageProperty

Identifies the Image property.

Declaration

cs-api-definition
public static readonly BindableProperty ImageProperty

Field Value

BindableProperty

IsTypingProperty

Identifies the IsTyping property.

Declaration

cs-api-definition
public static readonly BindableProperty IsTypingProperty

Field Value

BindableProperty

ItemConverterProperty

Identifies the ItemConverter property.

Declaration

cs-api-definition
public static readonly BindableProperty ItemConverterProperty

Field Value

BindableProperty

ItemsSourceProperty

Identifies the ItemsSource property.

Declaration

cs-api-definition
public static readonly BindableProperty ItemsSourceProperty

Field Value

BindableProperty

TextColorProperty

Identifies the TextColor property.

Declaration

cs-api-definition
public static readonly BindableProperty TextColorProperty

Field Value

BindableProperty

TextProperty

Identifies the Text property.

Declaration

cs-api-definition
public static readonly BindableProperty TextProperty

Field Value

BindableProperty

Properties

ActualImage

Gets the actual image displayed by the indicator.

Declaration

cs-api-definition
public ImageSource ActualImage { get; }

Property Value

ImageSource

ActualIsTyping

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

Declaration

cs-api-definition
public bool ActualIsTyping { get; }

Property Value

bool

ActualText

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.

Declaration

cs-api-definition
public string ActualText { get; }

Property Value

string

Authors

Gets the authors that are currently typing.

Declaration

cs-api-definition
public ObservableCollection<Author> Authors { get; }

Property Value

ObservableCollection<Author>

DotsColor

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

Declaration

cs-api-definition
public Color DotsColor { get; set; }

Property Value

Color

FontAttributes

Gets or sets the font attributes of the indicator text.

Declaration

cs-api-definition
public FontAttributes FontAttributes { get; set; }

Property Value

FontAttributes

FontFamily

Gets or sets the font family of the indicator text.

Declaration

cs-api-definition
public string FontFamily { get; set; }

Property Value

string

FontSize

Gets or sets the font size of the indicator text.

Declaration

cs-api-definition
[TypeConverter(typeof(FontSizeConverter))]
public double FontSize { get; set; }

Property Value

double

Image

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

Declaration

cs-api-definition
public ImageSource Image { get; set; }

Property Value

ImageSource

IsTyping

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.

Declaration

cs-api-definition
public bool IsTyping { get; set; }

Property Value

bool

ItemConverter

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

Declaration

cs-api-definition
public IAuthorConverter ItemConverter { get; set; }

Property Value

IAuthorConverter

ItemsSource

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

Declaration

cs-api-definition
public IEnumerable ItemsSource { get; set; }

Property Value

IEnumerable

Text

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.

Declaration

cs-api-definition
public string Text { get; set; }

Property Value

string

TextColor

Gets or sets the color of the indicator text.

Declaration

cs-api-definition
public Color TextColor { get; set; }

Property Value

Color

Methods

BuildActualText()

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

Declaration

cs-api-definition
public virtual string BuildActualText()

Returns

string

OnApplyTemplate()

Declaration

cs-api-definition
protected override void OnApplyTemplate()