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

Represents a view that visualizes a time break in the chat.

Definition

Namespace:Telerik.Maui.Controls.Chat

Assembly:Telerik.Maui.Controls.dll

Syntax:

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

Inheritance: objectRadContentViewTimeBreakView

Implements: IContentViewICrossPlatformLayoutIElementIPaddingIRadContentViewITransformIView...

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

Constructors

Initializes a new instance of the TimeBreakView class.

C#
public TimeBreakView()

Fields

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

StrokeProperty

BindableProperty

Identifies the Stroke property.

C#
public static readonly BindableProperty StrokeProperty

StrokeThicknessProperty

BindableProperty

Identifies the StrokeThickness property.

C#
public static readonly BindableProperty StrokeThicknessProperty

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

FontAttributes

FontAttributes

Gets or sets the font attributes of the time break.

C#
public FontAttributes FontAttributes { get; set; }

Gets or sets the font family of the time break.

C#
public string FontFamily { get; set; }

Gets or sets the font size of the time break.

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

Stroke

Color

Gets or sets the color of the line displayed by the time break.

C#
public Color Stroke { get; set; }

Gets or sets the thickness of the line displayed by the time break.

C#
public double StrokeThickness { get; set; }

Gets or sets the text displayed in the time break.

C#
public string Text { get; set; }

Gets or sets the text color of the time break.

C#
public Color TextColor { get; set; }

Methods

C#
protected override void OnApplyTemplate()