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:
public class TypingIndicator : RadContentView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout
Inheritance: objectRadContentViewTypingIndicator
Implements:
Inherited Members
Constructors
Initializes a new instance of the TypingIndicator class.
public TypingIndicator()
Fields
ActualImageProperty
BindableProperty
Identifies the ActualImage property.
public static readonly BindableProperty ActualImageProperty
ActualIsTypingProperty
BindableProperty
Identifies the ActualIsTyping property.
public static readonly BindableProperty ActualIsTypingProperty
ActualTextProperty
BindableProperty
Identifies the ActualText property.
public static readonly BindableProperty ActualTextProperty
DotsColorProperty
BindableProperty
Identifies the DotsColor property.
public static readonly BindableProperty DotsColorProperty
FontAttributesProperty
BindableProperty
Identifies the FontAttributes property.
public static readonly BindableProperty FontAttributesProperty
FontFamilyProperty
BindableProperty
Identifies the FontFamily property.
public static readonly BindableProperty FontFamilyProperty
FontSizeProperty
BindableProperty
Identifies the FontSize property.
public static readonly BindableProperty FontSizeProperty
ImageProperty
BindableProperty
Identifies the Image property.
public static readonly BindableProperty ImageProperty
IsTypingProperty
BindableProperty
Identifies the IsTyping property.
public static readonly BindableProperty IsTypingProperty
ItemConverterProperty
BindableProperty
Identifies the ItemConverter property.
public static readonly BindableProperty ItemConverterProperty
ItemsSourceProperty
BindableProperty
Identifies the ItemsSource property.
public static readonly BindableProperty ItemsSourceProperty
TextColorProperty
BindableProperty
Identifies the TextColor property.
public static readonly BindableProperty TextColorProperty
TextProperty
BindableProperty
Identifies the Text property.
public static readonly BindableProperty TextProperty
Properties
ActualImage
ImageSource
Gets the actual image displayed by the indicator.
public ImageSource ActualImage { get; }
Gets a value indicating whether the IsTyping property is true, or there is at least one author that is typing.
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.
public string ActualText { get; }
Gets the authors that are currently typing.
public ObservableCollection<Author> Authors { get; }
DotsColor
Color
Gets or sets the color of the dots displayed by the typing indicator.
public Color DotsColor { get; set; }
FontAttributes
FontAttributes
Gets or sets the font attributes of the indicator text.
public FontAttributes FontAttributes { get; set; }
Gets or sets the font family of the indicator text.
public string FontFamily { get; set; }
Gets or sets the font size of the indicator text.
[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.
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.
public bool IsTyping { get; set; }
Gets or sets the author converter used by the typing indicator.
public IAuthorConverter ItemConverter { get; set; }
Gets or sets the collection of authors used by the typing indicator.
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.
public string Text { get; set; }
TextColor
Color
Gets or sets the color of the indicator text.
public Color TextColor { get; set; }
Methods
Gets the text that will be displayed. Override this method to set custom text.
protected override void OnApplyTemplate()