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

Defines the appearance of text cell elements.

Definition

Namespace:Telerik.Maui.Controls.DataGrid

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class DataGridTextCellAppearance : DataGridAppearance

Inheritance: objectDataGridAppearanceDataGridTextCellAppearance

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

Identifies the HorizontalTextAlignment property.

C#
public static readonly BindableProperty HorizontalTextAlignmentProperty

HoverTextColorProperty

BindableProperty

Identifies the HoverTextColor property.

C#
public static readonly BindableProperty HoverTextColorProperty

Identifies the SearchMatchTextColor property.

C#
public static readonly BindableProperty SearchMatchTextColorProperty

Identifies the SelectedTextColor property.

C#
public static readonly BindableProperty SelectedTextColorProperty

TextColorProperty

BindableProperty

Identifies the TextColor property.

C#
public static readonly BindableProperty TextColorProperty

TextMarginProperty

BindableProperty

Identifies the TextMargin property.

C#
public static readonly BindableProperty TextMarginProperty

Identifies the VerticalTextAlignment property.

C#
public static readonly BindableProperty VerticalTextAlignmentProperty

Properties

FontAttributes

FontAttributes

Gets or sets FontAttributes of the cells text.

C#
public FontAttributes FontAttributes { get; set; }

Gets or sets the font family of the cells text.

C#
public string FontFamily { get; set; }

Gets or sets the font size of the cells text.

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

Gets or sets a value indicating the horizontal text alignment.

C#
public TextAlignment HorizontalTextAlignment { get; set; }

Gets or sets the color of the cells text when mouse hovers.

C#
public Color HoverTextColor { get; set; }

Gets or sets the color that is used for the parts of the text that are search matches.

C#
public Color SearchMatchTextColor { get; set; }

Gets or sets the color of the selected cells text.

C#
public Color SelectedTextColor { get; set; }

Gets or sets the color of the cells text.

C#
public Color TextColor { get; set; }

TextMargin

Thickness

Gets or sets the margin that is applied to the text of the text cell.

C#
public Thickness TextMargin { get; set; }

Gets or sets a value indicating the vertical text alignment.

C#
public TextAlignment VerticalTextAlignment { get; set; }