Defines the appearance of text cell elements.
Definition
Namespace:Telerik.Maui.Controls.DataGrid
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class DataGridTextCellAppearance : DataGridAppearance
Inheritance: objectDataGridAppearanceDataGridTextCellAppearance
Fields
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
HorizontalTextAlignmentProperty
BindableProperty
Identifies the HorizontalTextAlignment property.
public static readonly BindableProperty HorizontalTextAlignmentProperty
HoverTextColorProperty
BindableProperty
Identifies the HoverTextColor property.
public static readonly BindableProperty HoverTextColorProperty
SearchMatchTextColorProperty
BindableProperty
Identifies the SearchMatchTextColor property.
public static readonly BindableProperty SearchMatchTextColorProperty
SelectedTextColorProperty
BindableProperty
Identifies the SelectedTextColor property.
public static readonly BindableProperty SelectedTextColorProperty
TextColorProperty
BindableProperty
Identifies the TextColor property.
public static readonly BindableProperty TextColorProperty
TextMarginProperty
BindableProperty
Identifies the TextMargin property.
public static readonly BindableProperty TextMarginProperty
VerticalTextAlignmentProperty
BindableProperty
Identifies the VerticalTextAlignment property.
public static readonly BindableProperty VerticalTextAlignmentProperty
Properties
FontAttributes
FontAttributes
Gets or sets FontAttributes of the cells text.
public FontAttributes FontAttributes { get; set; }
Gets or sets the font family of the cells text.
public string FontFamily { get; set; }
Gets or sets the font size of the cells text.
[TypeConverter(typeof(FontSizeConverter))]
public double FontSize { get; set; }
HorizontalTextAlignment
TextAlignment
Gets or sets a value indicating the horizontal text alignment.
public TextAlignment HorizontalTextAlignment { get; set; }
HoverTextColor
Color
Gets or sets the color of the cells text when mouse hovers.
public Color HoverTextColor { get; set; }
SearchMatchTextColor
Color
Gets or sets the color that is used for the parts of the text that are search matches.
public Color SearchMatchTextColor { get; set; }
SelectedTextColor
Color
Gets or sets the color of the selected cells text.
public Color SelectedTextColor { get; set; }
TextColor
Color
Gets or sets the color of the cells text.
public Color TextColor { get; set; }
TextMargin
Thickness
Gets or sets the margin that is applied to the text of the text cell.
public Thickness TextMargin { get; set; }
VerticalTextAlignment
TextAlignment
Gets or sets a value indicating the vertical text alignment.
public TextAlignment VerticalTextAlignment { get; set; }