ClassTypingIndicator
Represents a view that indicates that participants in the chat are typing.
Definition
Namespace:Telerik.Maui.Controls.Chat
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class TypingIndicator : RadContentView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout
Inheritance: objectRadContentViewTypingIndicator
Implements:
Inherited Members
Constructors
TypingIndicator()
Initializes a new instance of the TypingIndicator class.
Declaration
public TypingIndicator()
Fields
ActualImageProperty
Identifies the ActualImage property.
Declaration
public static readonly BindableProperty ActualImageProperty
Field Value
BindableProperty
ActualIsTypingProperty
Identifies the ActualIsTyping property.
Declaration
public static readonly BindableProperty ActualIsTypingProperty
Field Value
BindableProperty
ActualTextProperty
Identifies the ActualText property.
Declaration
public static readonly BindableProperty ActualTextProperty
Field Value
BindableProperty
DotsColorProperty
Identifies the DotsColor property.
Declaration
public static readonly BindableProperty DotsColorProperty
Field Value
BindableProperty
FontAttributesProperty
Identifies the FontAttributes property.
Declaration
public static readonly BindableProperty FontAttributesProperty
Field Value
BindableProperty
FontFamilyProperty
Identifies the FontFamily property.
Declaration
public static readonly BindableProperty FontFamilyProperty
Field Value
BindableProperty
FontSizeProperty
Identifies the FontSize property.
Declaration
public static readonly BindableProperty FontSizeProperty
Field Value
BindableProperty
ImageProperty
Identifies the Image property.
Declaration
public static readonly BindableProperty ImageProperty
Field Value
BindableProperty
IsTypingProperty
Identifies the IsTyping property.
Declaration
public static readonly BindableProperty IsTypingProperty
Field Value
BindableProperty
ItemConverterProperty
Identifies the ItemConverter property.
Declaration
public static readonly BindableProperty ItemConverterProperty
Field Value
BindableProperty
ItemsSourceProperty
Identifies the ItemsSource property.
Declaration
public static readonly BindableProperty ItemsSourceProperty
Field Value
BindableProperty
TextColorProperty
Identifies the TextColor property.
Declaration
public static readonly BindableProperty TextColorProperty
Field Value
BindableProperty
TextProperty
Identifies the Text property.
Declaration
public static readonly BindableProperty TextProperty
Field Value
BindableProperty
Properties
ActualImage
Gets the actual image displayed by the indicator.
Declaration
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.
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.
Authors
Gets the authors that are currently typing.
Declaration
public ObservableCollection<Author> Authors { get; }
Property Value
DotsColor
Gets or sets the color of the dots displayed by the typing indicator.
Declaration
public Color DotsColor { get; set; }
Property Value
Color
FontAttributes
Gets or sets the font attributes of the indicator text.
Declaration
public FontAttributes FontAttributes { get; set; }
Property Value
FontAttributes
FontFamily
Gets or sets the font family of the indicator text.
FontSize
Gets or sets the font size of the indicator text.
Declaration
[TypeConverter(typeof(FontSizeConverter))]
public double FontSize { get; set; }
Property Value
Image
Gets or sets the custom image to be displayed. If the value of this property is null a default image is displayed.
Declaration
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.
ItemConverter
Gets or sets the author converter used by the typing indicator.
Declaration
public IAuthorConverter ItemConverter { get; set; }
Property Value
ItemsSource
Gets or sets the collection of authors used by the typing indicator.
Declaration
public IEnumerable ItemsSource { get; set; }
Property Value
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.
TextColor
Gets or sets the color of the indicator text.
Declaration
public Color TextColor { get; set; }
Property Value
Color
Methods
BuildActualText()
Gets the text that will be displayed. Override this method to set custom text.
OnApplyTemplate()
Declaration
protected override void OnApplyTemplate()