Class TypingIndicator
Represents a view that indicates that participants in the chat are typing.
Inherited Members
Namespace: Telerik.Maui.Controls.Chat
Assembly: Telerik.Maui.Controls.dll
Syntax
public class TypingIndicator : RadContentView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, IItemConverter<Author>
Constructors
TypingIndicator()
Fields
ActualImageProperty
Identifies the ActualImage property.
Declaration
public static readonly BindableProperty ActualImageProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
ActualIsTypingProperty
Identifies the ActualIsTyping property.
Declaration
public static readonly BindableProperty ActualIsTypingProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
ActualTextProperty
Identifies the ActualText property.
Declaration
public static readonly BindableProperty ActualTextProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
DotsColorProperty
Identifies the DotsColor property.
Declaration
public static readonly BindableProperty DotsColorProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
FontAttributesProperty
Identifies the FontAttributes property.
Declaration
public static readonly BindableProperty FontAttributesProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
FontFamilyProperty
Identifies the FontFamily property.
Declaration
public static readonly BindableProperty FontFamilyProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
FontSizeProperty
Identifies the FontSize property.
Declaration
public static readonly BindableProperty FontSizeProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
ImageProperty
Identifies the Image property.
Declaration
public static readonly BindableProperty ImageProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
IsTypingProperty
Identifies the IsTyping property.
Declaration
public static readonly BindableProperty IsTypingProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
ItemConverterProperty
Identifies the ItemConverter property.
Declaration
public static readonly BindableProperty ItemConverterProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
ItemsSourceProperty
Identifies the ItemsSource property.
Declaration
public static readonly BindableProperty ItemsSourceProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
TextColorProperty
Identifies the TextColor property.
Declaration
public static readonly BindableProperty TextColorProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
TextProperty
Identifies the Text property.
Declaration
public static readonly BindableProperty TextProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
Properties
ActualImage
Gets the actual image displayed by the indicator.
Declaration
public ImageSource ActualImage { get; }
Property Value
Microsoft.Maui.Controls.ImageSource
|
ActualIsTyping
Gets a value indicating whether the IsTyping property is true, or there is at least one author that is typing.
Declaration
public bool ActualIsTyping { get; }
Property Value
System.Boolean
|
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
public string ActualText { get; }
Property Value
System.String
|
Authors
Gets the authors that are currently typing.
Declaration
public ObservableCollection<Author> Authors { get; }
Property Value
System.Collections.ObjectModel.ObservableCollection<Author>
|
DotsColor
Gets or sets the color of the dots displayed by the typing indicator.
Declaration
public Color DotsColor { get; set; }
Property Value
Microsoft.Maui.Graphics.Color
|
FontAttributes
Gets or sets the font attributes of the indicator text.
Declaration
public FontAttributes FontAttributes { get; set; }
Property Value
Microsoft.Maui.Controls.FontAttributes
|
FontFamily
Gets or sets the font family of the indicator text.
Declaration
public string FontFamily { get; set; }
Property Value
System.String
|
FontSize
Gets or sets the font size of the indicator text.
Declaration
public double FontSize { get; set; }
Property Value
System.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
public ImageSource Image { get; set; }
Property Value
Microsoft.Maui.Controls.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
public bool IsTyping { get; set; }
Property Value
System.Boolean
|
ItemConverter
Gets or sets the author converter used by the typing indicator.
Declaration
public IAuthorConverter ItemConverter { get; set; }
Property Value
IAuthorConverter
|
ItemsSource
Gets or sets the collection of authors used by the typing indicator.
Declaration
public IEnumerable ItemsSource { get; set; }
Property Value
System.Collections.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
public string Text { get; set; }
Property Value
System.String
|
TextColor
Gets or sets the color of the indicator text.
Declaration
public Color TextColor { get; set; }
Property Value
Microsoft.Maui.Graphics.Color
|
Methods
BuildActualText()
Gets the text that will be displayed. Override this method to set custom text.
Declaration
public virtual string BuildActualText()
Returns
System.String
|
OnApplyTemplate()
Declaration
protected override void OnApplyTemplate()