Class SmartAssistStyle
Represents the style configuration for the SmartDataGrid component. This class allows customization of visual elements and theming for the grid.
Inheritance
Namespace: Syncfusion.Maui.SmartComponents
Assembly: Syncfusion.Maui.SmartComponents.dll
Syntax
public class SmartAssistStyle : Element, IThemeElement
Constructors
SmartAssistStyle()
Initializes a new instance of the SmartAssistStyle class. Use this constructor to set up default styles or apply theme-specific settings.
Declaration
public SmartAssistStyle()
Fields
AssistButtonBackgroundProperty
Identifies the AssistButtonBackground Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty AssistButtonBackgroundProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
AssistButtonCornerRadiusProperty
Identifies the AssistButtonCornerRadius Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty AssistButtonCornerRadiusProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
AssistButtonIconColorProperty
Identifies the AssistButtonIconColor Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty AssistButtonIconColorProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
AssistPopupStrokeProperty
Identifies the AssistPopupStroke Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty AssistPopupStrokeProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
AssistPopupStrokeThicknessProperty
Identifies the AssistPopupStrokeThickness Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty AssistPopupStrokeThicknessProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
AssistViewHeaderBackgroundProperty
Identifies the AssistViewHeaderBackground Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty AssistViewHeaderBackgroundProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
AssistViewHeaderFontAttributesProperty
Identifies the AssistViewHeaderFontAttributes Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty AssistViewHeaderFontAttributesProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
AssistViewHeaderFontFamilyProperty
Identifies the AssistViewHeaderFontFamily Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty AssistViewHeaderFontFamilyProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
AssistViewHeaderFontSizeProperty
Identifies the AssistViewHeaderFontSize Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty AssistViewHeaderFontSizeProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
AssistViewHeaderTextColorProperty
Identifies the AssistViewHeaderTextColor Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty AssistViewHeaderTextColorProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
HighlightColorProperty
Identifies the HighlightColor Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty HighlightColorProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
ToolbarBackgroundProperty
Identifies the ToolbarBackground Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty ToolbarBackgroundProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
ToolbarStrokeProperty
Identifies the ToolbarStroke Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty ToolbarStrokeProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
ToolbarStrokeThicknessProperty
Identifies the ToolbarStrokeThickness Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty ToolbarStrokeThicknessProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
Properties
AssistButtonBackground
Gets or sets the background color of the AI Assistant button.
Declaration
public Brush AssistButtonBackground { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.Controls.Brush |
AssistButtonCornerRadius
Gets or sets the corner radius of the AI Assistant button.
Declaration
public CornerRadius AssistButtonCornerRadius { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.CornerRadius |
AssistButtonIconColor
Gets or sets the icon color for the AI Assistant button.
Declaration
public Color AssistButtonIconColor { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.Graphics.Color |
AssistPopupStroke
Gets or sets the popup stroke color
Declaration
public Color AssistPopupStroke { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.Graphics.Color |
AssistPopupStrokeThickness
Gets or sets the popup stroke thickness.
Declaration
public int AssistPopupStrokeThickness { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
AssistViewHeaderBackground
Gets or sets the background brush of the AssistView header.
Declaration
public Brush AssistViewHeaderBackground { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.Controls.Brush |
AssistViewHeaderFontAttributes
s or sets the font attributes (e.g., Bold, Italic) of the AssistView header text.
Declaration
public FontAttributes AssistViewHeaderFontAttributes { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.Controls.FontAttributes |
AssistViewHeaderFontFamily
Gets or sets the font family of the AssistView header text
Declaration
public string AssistViewHeaderFontFamily { get; set; }
Property Value
| Type |
|---|
| System.String |
AssistViewHeaderFontSize
Gets or sets the font size of the AssistView header text.
Declaration
public double AssistViewHeaderFontSize { get; set; }
Property Value
| Type |
|---|
| System.Double |
AssistViewHeaderTextColor
Gets or sets the text color of the AssistView header.
Declaration
public Color AssistViewHeaderTextColor { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.Graphics.Color |
HighlightColor
Gets or sets the default highlight color used when the prompt does not specify a color.
Declaration
public Color HighlightColor { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.Graphics.Color |
ToolbarBackground
Gets or sets the toolbar background color.
Declaration
public Brush ToolbarBackground { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.Controls.Brush |
ToolbarStroke
Gets or sets the toolbar border color.
Declaration
public Color ToolbarStroke { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.Graphics.Color |
ToolbarStrokeThickness
Gets or sets the toolbar border thickness.
Declaration
public float ToolbarStrokeThickness { get; set; }
Property Value
| Type |
|---|
| System.Single |
Methods
OnCommonThemeChanged(String, String)
Declaration
public void OnCommonThemeChanged(string oldTheme, string newTheme)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | oldTheme | |
| System.String | newTheme |
OnControlThemeChanged(String, String)
Declaration
public void OnControlThemeChanged(string oldTheme, string newTheme)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | oldTheme | |
| System.String | newTheme |