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

Represents a border with label that is used to visualize a calendar selected day, month, year or decade.

Definition

Namespace:Telerik.Maui.Controls.Calendar

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class CalendarBorderLabel : RadLayout

Inheritance: objectRadLayoutCalendarBorderLabel

Inherited Members RadLayout.CreateLayoutManager()

Constructors

Initializes a new instance of the CalendarBorderLabel class.

C#
public CalendarBorderLabel()

Fields

Identifies the BorderBackgroundColor property.

C#
public static readonly BindableProperty BorderBackgroundColorProperty

BorderColorProperty

BindableProperty

Identifies the BorderColor property.

C#
public static readonly BindableProperty BorderColorProperty

BorderThicknessProperty

BindableProperty

Identifies the BorderThickness property.

C#
public static readonly BindableProperty BorderThicknessProperty

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

Identifies the HorizontalTextAlignment property.

C#
public static readonly BindableProperty HorizontalTextAlignmentProperty

LineBreakModeProperty

BindableProperty

Identifies the LineBreakMode property.

C#
public static readonly BindableProperty LineBreakModeProperty

Identifies the SecondaryBorderBackgroundColor property.

C#
public static readonly BindableProperty SecondaryBorderBackgroundColorProperty

TextColorProperty

BindableProperty

Identifies the TextColor property.

C#
public static readonly BindableProperty TextColorProperty

TextProperty

BindableProperty

Identifies the Text property.

C#
public static readonly BindableProperty TextProperty

Identifies the VerticalTextAlignment property.

C#
public static readonly BindableProperty VerticalTextAlignmentProperty

Properties

Gets or sets the background brush of the content.

C#
public Color BorderBackgroundColor { get; set; }

Gets or sets the color of the border.

C#
public Color BorderColor { get; set; }

Gets or sets the stroke thickness of the border.

C#
public double BorderThickness { get; set; }

FontAttributes

FontAttributes

Gets or sets the font attributes of the label.

C#
public FontAttributes FontAttributes { get; set; }

Gets or sets the font family of the label.

C#
public string FontFamily { get; set; }

Gets or sets the font size of the label.

C#
public double FontSize { get; set; }

Gets or sets the horizontal text alignment of the label.

C#
public TextAlignment HorizontalTextAlignment { get; set; }

LineBreakMode

LineBreakMode

Gets or sets the line break mode of the label.

C#
public LineBreakMode LineBreakMode { get; set; }

Gets or sets the background color of the rectangle border placed behind the main border.

C#
public Color SecondaryBorderBackgroundColor { get; set; }

Gets or sets the text of the label.

C#
public string Text { get; set; }

Gets or sets the text color of the label.

C#
public Color TextColor { get; set; }

Gets or sets the vertical text alignment of the label.

C#
public TextAlignment VerticalTextAlignment { get; set; }

Methods

C#
public void Draw(ICanvas canvas, RectF dirtyRect)
Parameters:canvasICanvasdirtyRectRectF