Class DataGridToolTipView
Provides a reusable view for displaying tooltips in the DataGrid. Supports both simple label and template content.
Implements
Inherited Members
Namespace: Syncfusion.Maui.DataGrid
Assembly: Syncfusion.Maui.DataGrid.dll
Syntax
public class DataGridToolTipView : SfContentView, IDrawableLayout, IDrawable, IAbsoluteLayout, ILayout, IView, IElement, ITransform, IContainer, IList<IView>, ICollection<IView>, IEnumerable<IView>, IEnumerable, ISafeAreaView, IPadding, ICrossPlatformLayout, IVisualTreeElement, ISemanticsProvider
Constructors
DataGridToolTipView(SfDataGrid)
Initializes a new instance of the DataGridToolTipView class.
Declaration
public DataGridToolTipView(SfDataGrid dataGrid)
Parameters
Type | Name | Description |
---|---|---|
SfDataGrid | dataGrid | The DataGrid instance that owns this tooltip. |
Fields
BackgroundProperty
Identifies the Background Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty BackgroundProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
FontAttributesProperty
Identifies the FontAttributes bindable property.
Declaration
public static readonly BindableProperty FontAttributesProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
FontFamilyProperty
Identifies the FontFamily bindable property.
Declaration
public static readonly BindableProperty FontFamilyProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
FontSizeProperty
Identifies the FontSize bindable property.
Declaration
public static readonly BindableProperty FontSizeProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
StrokeProperty
Identifies the Stroke bindable property.
Declaration
public static readonly BindableProperty StrokeProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
StrokeThicknessProperty
Identifies the StrokeThickness bindable property.
Declaration
public static readonly BindableProperty StrokeThicknessProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
TextColorProperty
Identifies the TextColor bindable property.
Declaration
public static readonly BindableProperty TextColorProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
Properties
Background
Gets or sets the background.
Declaration
public Brush Background { get; set; }
Property Value
Type |
---|
Microsoft.Maui.Controls.Brush |
FontAttributes
Gets or sets the font attributes (such as bold or italic) of the tooltip text.
Declaration
public FontAttributes FontAttributes { get; set; }
Property Value
Type |
---|
Microsoft.Maui.Controls.FontAttributes |
FontFamily
Gets or sets the font family of the tooltip text.
Declaration
public string FontFamily { get; set; }
Property Value
Type |
---|
System.String |
FontSize
Gets or sets the font size of the tooltip text.
Declaration
public double FontSize { get; set; }
Property Value
Type |
---|
System.Double |
Stroke
Gets or sets the stroke (border color) of the tooltip.
Declaration
public Brush Stroke { get; set; }
Property Value
Type |
---|
Microsoft.Maui.Controls.Brush |
StrokeThickness
Gets or sets the stroke thickness (border width) of the tooltip.
Declaration
public double StrokeThickness { get; set; }
Property Value
Type |
---|
System.Double |
TextColor
Gets or sets the text color of the tooltip.
Declaration
public Color TextColor { get; set; }
Property Value
Type |
---|
Microsoft.Maui.Graphics.Color |
Methods
SetToolTipViewStyle(DataGridStyle)
Sets the style to the tooltip label using bindings.
Declaration
protected virtual void SetToolTipViewStyle(DataGridStyle style)
Parameters
Type | Name | Description |
---|---|---|
DataGridStyle | style |