alexa
menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class SfSmartDataGrid

    A smart extension of Syncfusion's SfDataGrid for .NET MAUI that adds an AI-assisted toolbar. It accepts natural language queries, converts them to structured actions (For example sort, filter, group, clear, multi-step), and applies them to the underlying data grid.

    Inheritance
    System.Object
    SfView
    SfDataGrid
    SfSmartDataGrid
    Implements
    IDrawableLayout
    Microsoft.Maui.Graphics.IDrawable
    Microsoft.Maui.IAbsoluteLayout
    Microsoft.Maui.ILayout
    Microsoft.Maui.IView
    Microsoft.Maui.IElement
    Microsoft.Maui.ITransform
    Microsoft.Maui.IContainer
    System.Collections.Generic.IList<Microsoft.Maui.IView>
    System.Collections.Generic.ICollection<Microsoft.Maui.IView>
    System.Collections.Generic.IEnumerable<Microsoft.Maui.IView>
    System.Collections.IEnumerable
    Microsoft.Maui.ISafeAreaView
    Microsoft.Maui.IPadding
    Microsoft.Maui.ICrossPlatformLayout
    Microsoft.Maui.IVisualTreeElement
    Inherited Members
    SfDataGrid.AddNewRowController
    SfDataGrid.AddNewRowInitiating
    SfDataGrid.AddNewRowPosition
    SfDataGrid.AddNewRowPositionProperty
    SfDataGrid.AddNewRowText
    SfDataGrid.AddNewRowTextProperty
    SfDataGrid.AllowAsyncScrolling
    SfDataGrid.AllowAsyncScrollingProperty
    SfDataGrid.AllowColumnSelection
    SfDataGrid.AllowColumnSelectionProperty
    SfDataGrid.AllowDeleting
    SfDataGrid.AllowDeletingProperty
    SfDataGrid.AllowDiagonalScrolling
    SfDataGrid.AllowDiagonalScrollingProperty
    SfDataGrid.AllowDraggingColumn
    SfDataGrid.AllowDraggingColumnProperty
    SfDataGrid.AllowDraggingRow
    SfDataGrid.AllowDraggingRowProperty
    SfDataGrid.AllowEditing
    SfDataGrid.AllowEditingProperty
    SfDataGrid.AllowFiltering
    SfDataGrid.AllowFilteringProperty
    SfDataGrid.AllowGroupExpandCollapse
    SfDataGrid.AllowGroupExpandCollapseProperty
    SfDataGrid.AllowGrouping
    SfDataGrid.AllowGroupingProperty
    SfDataGrid.AllowKeyboardNavigation
    SfDataGrid.AllowKeyboardNavigationProperty
    SfDataGrid.AllowLoadMore
    SfDataGrid.AllowLoadMoreProperty
    SfDataGrid.AllowPullToRefresh
    SfDataGrid.AllowPullToRefreshProperty
    SfDataGrid.AllowResizingColumns
    SfDataGrid.AllowResizingColumnsProperty
    SfDataGrid.AllowRowHoverHighlighting
    SfDataGrid.AllowRowHoverHighlightingProperty
    SfDataGrid.AllowSwiping
    SfDataGrid.AllowSwipingProperty
    SfDataGrid.AllowTriStateSorting
    SfDataGrid.AllowTriStateSortingProperty
    SfDataGrid.AlternationRowCount
    SfDataGrid.AlternationRowCountProperty
    SfDataGrid.AutoExpandGroups
    SfDataGrid.AutoExpandGroupsProperty
    SfDataGrid.AutoGenerateColumnsMode
    SfDataGrid.AutoGenerateColumnsModeForCustomType
    SfDataGrid.AutoGenerateColumnsModeForCustomTypeProperty
    SfDataGrid.AutoGenerateColumnsModeProperty
    SfDataGrid.AutoGenerateRelations
    SfDataGrid.AutoGenerateRelationsProperty
    SfDataGrid.AutoGeneratingColumn
    SfDataGrid.AutoGeneratingRelations
    SfDataGrid.BeginEdit(Int32, Int32)
    SfDataGrid.CancelEdit()
    SfDataGrid.CanHandleGesture(Object)
    SfDataGrid.CanMaintainScrollPosition
    SfDataGrid.CanMaintainScrollPositionProperty
    SfDataGrid.CanUseViewFilter
    SfDataGrid.CanUseViewFilterProperty
    SfDataGrid.CaptionSummaryRow
    SfDataGrid.CaptionSummaryRowProperty
    SfDataGrid.CaptionSummaryTemplate
    SfDataGrid.CaptionSummaryTemplateProperty
    SfDataGrid.CellDoubleTapped
    SfDataGrid.CellDoubleTappedCommand
    SfDataGrid.CellDoubleTappedCommandParameter
    SfDataGrid.CellDoubleTappedCommandParameterProperty
    SfDataGrid.CellDoubleTappedCommandProperty
    SfDataGrid.CellEntered
    SfDataGrid.CellEnteredCommand
    SfDataGrid.CellEnteredCommandParameter
    SfDataGrid.CellEnteredCommandParameterProperty
    SfDataGrid.CellEnteredCommandProperty
    SfDataGrid.CellExited
    SfDataGrid.CellExitedCommand
    SfDataGrid.CellExitedCommandParameter
    SfDataGrid.CellExitedCommandParameterProperty
    SfDataGrid.CellExitedCommandProperty
    SfDataGrid.CellHovered
    SfDataGrid.CellHoveredCommand
    SfDataGrid.CellHoveredCommandParameter
    SfDataGrid.CellHoveredCommandParameterProperty
    SfDataGrid.CellHoveredCommandProperty
    SfDataGrid.CellLongPress
    SfDataGrid.CellLongPressCommand
    SfDataGrid.CellLongPressCommandParameter
    SfDataGrid.CellLongPressCommandParameterProperty
    SfDataGrid.CellLongPressCommandProperty
    SfDataGrid.CellRenderers
    SfDataGrid.CellRenderersProperty
    SfDataGrid.CellRightTapped
    SfDataGrid.CellRightTappedCommand
    SfDataGrid.CellRightTappedCommandParameter
    SfDataGrid.CellRightTappedCommandParameterProperty
    SfDataGrid.CellRightTappedCommandProperty
    SfDataGrid.CellTapped
    SfDataGrid.CellTappedCommand
    SfDataGrid.CellTappedCommandParameter
    SfDataGrid.CellTappedCommandParameterProperty
    SfDataGrid.CellTappedCommandProperty
    SfDataGrid.CellToolTipOpening
    SfDataGrid.CellValidated
    SfDataGrid.CellValidating
    SfDataGrid.CellValueChanged
    SfDataGrid.ClearSelection()
    SfDataGrid.CollapseAllDetailsView()
    SfDataGrid.CollapseAllGroups()
    SfDataGrid.CollapseDetailsViewAt(Int32)
    SfDataGrid.CollapseGroup(Group)
    SfDataGrid.CollapseGroupsAtLevel(Int32)
    SfDataGrid.ColumnChooserHeaderText
    SfDataGrid.ColumnChooserHeaderTextProperty
    SfDataGrid.ColumnDragDropTemplate
    SfDataGrid.ColumnDragDropTemplateProperty
    SfDataGrid.ColumnResizing
    SfDataGrid.Columns
    SfDataGrid.ColumnSizer
    SfDataGrid.ColumnsProperty
    SfDataGrid.ColumnWidthMode
    SfDataGrid.ColumnWidthModeProperty
    SfDataGrid.ContextMenuClosed
    SfDataGrid.ContextMenuClosing
    SfDataGrid.ContextMenuItemClicked
    SfDataGrid.ContextMenuOpened
    SfDataGrid.ContextMenuOpening
    SfDataGrid.CopyCellContent
    SfDataGrid.CopyContent
    SfDataGrid.CopyOption
    SfDataGrid.CopyOptionProperty
    SfDataGrid.CopyPasteController
    SfDataGrid.CopyPasteControllerProperty
    SfDataGrid.CurrentCell
    SfDataGrid.CurrentCellActivated
    SfDataGrid.CurrentCellActivating
    SfDataGrid.CurrentCellBeginEdit
    SfDataGrid.CurrentCellDropDownSelectionChanged
    SfDataGrid.CurrentCellEndEdit
    SfDataGrid.CurrentCellManager
    SfDataGrid.CurrentCellManagerProperty
    SfDataGrid.CurrentCellProperty
    SfDataGrid.CurrentCellRequestNavigating
    SfDataGrid.CurrentRow
    SfDataGrid.CurrentRowProperty
    SfDataGrid.DataFetchSize
    SfDataGrid.DataFetchSizeProperty
    SfDataGrid.DataGridLoaded
    SfDataGrid.DataGridValidationModeProperty
    SfDataGrid.DefaultColumnWidth
    SfDataGrid.DefaultColumnWidthProperty
    SfDataGrid.DefaultStyle
    SfDataGrid.DefaultStyleProperty
    SfDataGrid.Deserialize(Stream)
    SfDataGrid.Deserialize(Stream, DataGridDeserializationOptions)
    SfDataGrid.DetailsViewCollapsed
    SfDataGrid.DetailsViewCollapsing
    SfDataGrid.DetailsViewDefaultStyle
    SfDataGrid.DetailsViewDefaultStyleProperty
    SfDataGrid.DetailsViewDefinition
    SfDataGrid.DetailsViewDefinitionProperty
    SfDataGrid.DetailsViewExpanded
    SfDataGrid.DetailsViewExpanding
    SfDataGrid.DetailsViewLoading
    SfDataGrid.DetailsViewPadding
    SfDataGrid.DetailsViewPaddingProperty
    SfDataGrid.DetailsViewUnloading
    SfDataGrid.EditTapAction
    SfDataGrid.EditTapActionProperty
    SfDataGrid.EmptyView
    SfDataGrid.EmptyViewProperty
    SfDataGrid.EmptyViewTemplate
    SfDataGrid.EmptyViewTemplateProperty
    SfDataGrid.EnableDataVirtualization
    SfDataGrid.EnableDataVirtualizationProperty
    SfDataGrid.EnableLiquidGlassEffect
    SfDataGrid.EnableLiquidGlassEffectProperty
    SfDataGrid.EndEdit()
    SfDataGrid.ErrorIconTemplate
    SfDataGrid.ErrorIconTemplateProperty
    SfDataGrid.ErrorTipTemplate
    SfDataGrid.ErrorTipTemplateProperty
    SfDataGrid.ExpandAllDetailsView()
    SfDataGrid.ExpandAllDetailsView(Int32)
    SfDataGrid.ExpandAllGroups()
    SfDataGrid.ExpandDetailsViewAt(Int32)
    SfDataGrid.ExpanderColumnWidth
    SfDataGrid.ExpanderColumnWidthProperty
    SfDataGrid.ExpandGroup(Group)
    SfDataGrid.ExpandGroupsAtLevel(Int32)
    SfDataGrid.FilterChanged
    SfDataGrid.FilterChanging
    SfDataGrid.FilterIconTemplate
    SfDataGrid.FilterIconTemplateProperty
    SfDataGrid.FilterItemsPopulated
    SfDataGrid.FilterItemsPopulating
    SfDataGrid.FilterPopupStyle
    SfDataGrid.FilterPopupStyleProperty
    SfDataGrid.FilterRowCellRenderers
    SfDataGrid.FilterRowCellRenderersProperty
    SfDataGrid.FilterRowPosition
    SfDataGrid.FilterRowPositionProperty
    SfDataGrid.FooterFrozenColumnCount
    SfDataGrid.FooterFrozenColumnCountProperty
    SfDataGrid.FooterFrozenRowCount
    SfDataGrid.FooterFrozenRowCountProperty
    SfDataGrid.FrozenColumnCount
    SfDataGrid.FrozenColumnCountProperty
    SfDataGrid.FrozenRowCount
    SfDataGrid.FrozenRowCountProperty
    SfDataGrid.GetRowGenerator()
    SfDataGrid.GetSelectedCells()
    SfDataGrid.GetVisualContainer()
    SfDataGrid.GridLinesVisibility
    SfDataGrid.GridLinesVisibilityProperty
    SfDataGrid.GroupCaptionContextMenu
    SfDataGrid.GroupCaptionContextMenuProperty
    SfDataGrid.GroupCaptionTextFormat
    SfDataGrid.GroupCaptionTextFormatProperty
    SfDataGrid.GroupCollapsed
    SfDataGrid.GroupCollapsing
    SfDataGrid.GroupColumnDescriptions
    SfDataGrid.GroupColumnDescriptionsProperty
    SfDataGrid.GroupDropAreaHeight
    SfDataGrid.GroupDropAreaHeightProperty
    SfDataGrid.GroupDropAreaText
    SfDataGrid.GroupDropAreaTextProperty
    SfDataGrid.GroupExpandCollapseTemplate
    SfDataGrid.GroupExpandCollapseTemplateProperty
    SfDataGrid.GroupExpanded
    SfDataGrid.GroupExpanding
    SfDataGrid.GroupingMode
    SfDataGrid.GroupingModeProperty
    SfDataGrid.GroupSummaryContextMenu
    SfDataGrid.GroupSummaryContextMenuProperty
    SfDataGrid.GroupSummaryRows
    SfDataGrid.GroupSummaryRowsProperty
    SfDataGrid.GroupSummaryTemplate
    SfDataGrid.GroupSummaryTemplateProperty
    SfDataGrid.HandleHyperlinkNavigation(String, RowColumnIndex, Object)
    SfDataGrid.HeaderContextMenu
    SfDataGrid.HeaderContextMenuProperty
    SfDataGrid.HeaderGridLinesVisibility
    SfDataGrid.HeaderGridLinesVisibilityProperty
    SfDataGrid.HeaderRowHeight
    SfDataGrid.HeaderRowHeightProperty
    SfDataGrid.HideContextMenu()
    SfDataGrid.HideEmptyDataGridViewDefinition
    SfDataGrid.HideEmptyDataGridViewDefinitionProperty
    SfDataGrid.HorizontalScrollBarVisibility
    SfDataGrid.HorizontalScrollBarVisibilityProperty
    SfDataGrid.IndentColumnWidth
    SfDataGrid.IndentColumnWidthProperty
    SfDataGrid.InvalidateUnboundRow(DataGridUnboundRow, Boolean)
    SfDataGrid.IsBusy
    SfDataGrid.IsBusyProperty
    SfDataGrid.ItemsSource
    SfDataGrid.ItemsSourceChanged
    SfDataGrid.ItemsSourceProperty
    SfDataGrid.LeftSwipeTemplate
    SfDataGrid.LeftSwipeTemplateProperty
    SfDataGrid.LiveDataUpdateMode
    SfDataGrid.LiveDataUpdateModeProperty
    SfDataGrid.LoadMoreCommand
    SfDataGrid.LoadMoreCommandProperty
    SfDataGrid.LoadMorePosition
    SfDataGrid.LoadMorePositionProperty
    SfDataGrid.LoadMoreText
    SfDataGrid.LoadMoreView
    SfDataGrid.LoadMoreViewProperty
    SfDataGrid.LostFocusBehavior
    SfDataGrid.LostFocusBehaviorProperty
    SfDataGrid.MaxSwipeOffset
    SfDataGrid.MaxSwipeOffsetProperty
    SfDataGrid.MoveCurrentCellTo(RowColumnIndex, Boolean)
    SfDataGrid.NavigationMode
    SfDataGrid.NavigationModeProperty
    SfDataGrid.NewItemPlaceholderPosition
    SfDataGrid.NewItemPlaceholderPositionProperty
    SfDataGrid.NotifyEventsToParentDataGrid
    SfDataGrid.NotifyEventsToParentDataGridProperty
    SfDataGrid.OnContextMenuClosedEvent(ContextMenuClosedEventArgs)
    SfDataGrid.OnContextMenuItemClicked(ContextMenuItemClickedEventArgs)
    SfDataGrid.OnContextMenuOpenedEvent(ContextMenuOpenedEventArgs)
    SfDataGrid.OnContextMenuOpening(ContextMenuOpeningEventArgs)
    SfDataGrid.OnDraw(ICanvas, RectF)
    SfDataGrid.OnHandlerChanged()
    SfDataGrid.OnPropertyChanged(String)
    SfDataGrid.OpenToolTip(DataGridCell, Nullable<Point>)
    SfDataGrid.PasteCellContent
    SfDataGrid.PasteContent
    SfDataGrid.PasteOption
    SfDataGrid.PasteOptionProperty
    SfDataGrid.PullToRefreshCommand
    SfDataGrid.PullToRefreshCommandProperty
    SfDataGrid.QueryColumnDragging
    SfDataGrid.QueryRowDragging
    SfDataGrid.QueryRowHeight
    SfDataGrid.QueryUnboundColumnValue
    SfDataGrid.QueryUnboundRow
    SfDataGrid.RaiseQueryUnboundRow(DataGridUnboundRowEventArgs)
    SfDataGrid.RecordContextMenu
    SfDataGrid.RecordContextMenuProperty
    SfDataGrid.Refresh()
    SfDataGrid.RefreshContainerAndView()
    SfDataGrid.RefreshHeaderLineCount()
    SfDataGrid.ResetSwipeOffset()
    SfDataGrid.ResetUnboundRowIndex()
    SfDataGrid.ReuseRowsOnItemsSourceChange
    SfDataGrid.ReuseRowsOnItemsSourceChangeProperty
    SfDataGrid.RightSwipeTemplate
    SfDataGrid.RightSwipeTemplateProperty
    SfDataGrid.RowColumnIndexToPoint(RowColumnIndex)
    SfDataGrid.RowDragDropTemplate
    SfDataGrid.RowDragDropTemplateProperty
    SfDataGrid.RowHeaderTemplate
    SfDataGrid.RowHeaderTemplateProperty
    SfDataGrid.RowHeaderWidth
    SfDataGrid.RowHeaderWidthProperty
    SfDataGrid.RowHeight
    SfDataGrid.RowHeightProperty
    SfDataGrid.RowValidated
    SfDataGrid.RowValidating
    SfDataGrid.ScrollingMode
    SfDataGrid.ScrollingModeProperty
    SfDataGrid.ScrollToColumnIndex(Int32, ScrollToPosition, Boolean)
    SfDataGrid.ScrollToRowColumnIndex(Int32, Int32, ScrollToPosition, ScrollToPosition, Boolean)
    SfDataGrid.ScrollToRowIndex(Int32, ScrollToPosition, Boolean)
    SfDataGrid.SearchController
    SfDataGrid.SelectAll()
    SfDataGrid.SelectCell(Object, DataGridColumn)
    SfDataGrid.SelectCells(Object, DataGridColumn, Object, DataGridColumn)
    SfDataGrid.SelectedDetailsViewDataGrid
    SfDataGrid.SelectedDetailsViewGridProperty
    SfDataGrid.SelectedIndex
    SfDataGrid.SelectedIndexProperty
    SfDataGrid.SelectedRow
    SfDataGrid.SelectedRowProperty
    SfDataGrid.SelectedRows
    SfDataGrid.SelectedRowsProperty
    SfDataGrid.SelectionChanged
    SfDataGrid.SelectionChanging
    SfDataGrid.SelectionController
    SfDataGrid.SelectionControllerProperty
    SfDataGrid.SelectionMode
    SfDataGrid.SelectionModeProperty
    SfDataGrid.SelectionUnit
    SfDataGrid.SelectionUnitProperty
    SfDataGrid.SerializationController
    SfDataGrid.Serialize(Stream)
    SfDataGrid.Serialize(Stream, DataGridSerializationOptions)
    SfDataGrid.ShowColumnChooser
    SfDataGrid.ShowColumnChooserProperty
    SfDataGrid.ShowColumnWhenGrouped
    SfDataGrid.ShowColumnWhenGroupedProperty
    SfDataGrid.ShowContextMenuAt(Int32, Int32)
    SfDataGrid.ShowDetailsViewIndentCell
    SfDataGrid.ShowDetailsViewIndentCellProperty
    SfDataGrid.ShowRowHeader
    SfDataGrid.ShowRowHeaderProperty
    SfDataGrid.ShowSortNumbers
    SfDataGrid.ShowSortNumbersProperty
    SfDataGrid.ShowToolTip
    SfDataGrid.ShowToolTipProperty
    SfDataGrid.SortColumnDescriptions
    SfDataGrid.SortColumnDescriptionsProperty
    SfDataGrid.SortColumnsChanged
    SfDataGrid.SortColumnsChanging
    SfDataGrid.SortComparers
    SfDataGrid.SortComparersProperty
    SfDataGrid.SortIconTemplate
    SfDataGrid.SortIconTemplateProperty
    SfDataGrid.SortingGestureType
    SfDataGrid.SortingGestureTypeProperty
    SfDataGrid.SortingMode
    SfDataGrid.SortingModeProperty
    SfDataGrid.SourceType
    SfDataGrid.SourceTypeProperty
    SfDataGrid.StackedHeaderRows
    SfDataGrid.StackedHeaderRowsProperty
    SfDataGrid.SummaryCalculationMode
    SfDataGrid.SummaryCalculationModeProperty
    SfDataGrid.SwipeEnded
    SfDataGrid.SwipeOffsetMode
    SfDataGrid.SwipeOffsetModeProperty
    SfDataGrid.SwipeStarting
    SfDataGrid.Swiping
    SfDataGrid.TableSummaryContextMenu
    SfDataGrid.TableSummaryContextMenuProperty
    SfDataGrid.TableSummaryRows
    SfDataGrid.TableSummaryRowsProperty
    SfDataGrid.TableSummaryTemplate
    SfDataGrid.TableSummaryTemplateProperty
    SfDataGrid.ToolTipTemplate
    SfDataGrid.ToolTipTemplateProperty
    SfDataGrid.TransitionType
    SfDataGrid.TransitionTypeProperty
    SfDataGrid.UnboundRowCellRenderers
    SfDataGrid.UnboundRowProperty
    SfDataGrid.UnboundRows
    SfDataGrid.ValidationMode
    SfDataGrid.VerticalOverScrollMode
    SfDataGrid.VerticalOverScrollModeProperty
    SfDataGrid.VerticalScrollBarVisibility
    SfDataGrid.VerticalScrollBarVisibilityProperty
    SfDataGrid.View
    SfDataGrid.ViewCreated
    SfDataGrid.ViewProperty
    SfView.ArrangeOverride(Rect)
    SfView.Children
    SfView.ClipToBounds
    SfView.GetSemanticsNodesCore(Double, Double)
    SfView.IDrawableLayout.DrawingOrder
    SfView.IDrawableLayout.InvalidateDrawable()
    SfView.MeasureOverride(Double, Double)
    SfView.OnBindingContextChanged()
    SfView.Padding
    SfView.PaddingProperty
    Namespace: Syncfusion.Maui.SmartComponents
    Assembly: Syncfusion.Maui.SmartComponents.dll
    Syntax
    public class SfSmartDataGrid : SfDataGrid, IDrawableLayout, IDrawable, IAbsoluteLayout, ILayout, IView, IElement, ITransform, IContainer, IList<IView>, ICollection<IView>, IEnumerable<IView>, IEnumerable, ISafeAreaView, IPadding, ICrossPlatformLayout, IVisualTreeElement, ISemanticsProvider, IPullToRefresh, IDetailsViewNotifier, IParentThemeElement, IThemeElement, ISmartDataGridLayout

    Constructors

    SfSmartDataGrid()

    Initializes a new instance of the SfSmartDataGrid class.

    Declaration
    public SfSmartDataGrid()

    Fields

    AssistButtonIconTemplateProperty

    Identifies the AssistButtonTemplate Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty AssistButtonIconTemplateProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    AssistButtonTemplateProperty

    Identifies the AssistButtonTemplate Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty AssistButtonTemplateProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    AssistViewSettingsProperty

    Identifies the AssistViewSettings Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty AssistViewSettingsProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    ShowAssistButtonIconProperty

    Gets or sets a value indicating whether to show the icon in the AI Assistant button. When false, the icon is hidden and the text is centered. Default is true. Identifies the ShowAssistButtonIcon Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty ShowAssistButtonIconProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    ToolbarHeightProperty

    Identifies the ToolBarHeight Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty ToolbarHeightProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    ToolbarTemplateProperty

    Identifies the ToolbarTemplate Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty ToolbarTemplateProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    Properties

    AssistButtonIconTemplate

    Gets or sets the template for the icon in the AI Assistant button.

    Declaration
    public DataTemplate AssistButtonIconTemplate { get; set; }
    Property Value
    Type Description
    Microsoft.Maui.Controls.DataTemplate

    If null, a default icon is used.

    AssistButtonTemplate

    Gets or sets the label displayed near the AI button on the toolbar.

    Declaration
    public DataTemplate AssistButtonTemplate { get; set; }
    Property Value
    Type
    Microsoft.Maui.Controls.DataTemplate

    AssistViewSettings

    Initializes a new instance of the SfSmartDataGrid class.

    Declaration
    public DataGridAssistViewSettings AssistViewSettings { get; set; }
    Property Value
    Type
    DataGridAssistViewSettings

    ShowAssistButtonIcon

    Gets or sets a value indicating whether the AI Assistant button shows an icon.

    Declaration
    public bool ShowAssistButtonIcon { get; set; }
    Property Value
    Type
    System.Boolean

    ToolbarHeight

    Gets or sets the height of the toolbar that hosts the AI AssistView controls. Default value is 54.

    Declaration
    public double ToolbarHeight { get; set; }
    Property Value
    Type
    System.Double

    ToolbarTemplate

    Gets or sets the template used to render the toolbar above the grid.

    Declaration
    public DataTemplate ToolbarTemplate { get; set; }
    Property Value
    Type
    Microsoft.Maui.Controls.DataTemplate

    Methods

    ArrangeContent(Rect)

    Arranges the AI toolbar at the top and the grid content in the remaining space.

    Declaration
    protected override Size ArrangeContent(Rect bounds)
    Parameters
    Type Name Description
    Microsoft.Maui.Graphics.Rect bounds

    The layout bounds provided by the parent.

    Returns
    Type Description
    Microsoft.Maui.Graphics.Size

    The arranged size.

    Overrides
    SfDataGrid.ArrangeContent(Rect)

    CloseAssistView()

    Closes the AI AssistView popup if it�s open.

    Declaration
    public void CloseAssistView()

    GetResponseAsync(String)

    Requests a response from the AI Assistant using the given user text. This is intended for scenarios where a custom AssistEditorViewTemplate removes the default send icon and you need to trigger the request programmatically.

    Declaration
    public void GetResponseAsync(string prompt)
    Parameters
    Type Name Description
    System.String prompt

    The prompt to send to the AI Assistant.

    MeasureContent(Double, Double)

    Measures the content and reserves space for the AI toolbar at the top of the grid.

    Declaration
    protected override Size MeasureContent(double widthConstraint, double heightConstraint)
    Parameters
    Type Name Description
    System.Double widthConstraint

    Available width from the layout system.

    System.Double heightConstraint

    Available height from the layout system.

    Returns
    Type Description
    Microsoft.Maui.Graphics.Size

    The desired size including the toolbar height.

    Overrides
    SfDataGrid.MeasureContent(Double, Double)

    ShowAssistView(View)

    Shows the AI AssistView popup, aligned to the bottom-right of the grid.

    Declaration
    public void ShowAssistView(View view = null)
    Parameters
    Type Name Description
    Microsoft.Maui.Controls.View view

    Events

    AssistViewRequest

    Occurs when a user request is sent to the AI AssistView.

    Declaration
    public event EventHandler<AssistViewRequestEventArgs> AssistViewRequest
    Event Type
    Type
    System.EventHandler<AssistViewRequestEventArgs>

    Implements

    IDrawableLayout
    Microsoft.Maui.Graphics.IDrawable
    Microsoft.Maui.IAbsoluteLayout
    Microsoft.Maui.ILayout
    Microsoft.Maui.IView
    Microsoft.Maui.IElement
    Microsoft.Maui.ITransform
    Microsoft.Maui.IContainer
    System.Collections.Generic.IList<>
    System.Collections.Generic.ICollection<>
    System.Collections.Generic.IEnumerable<>
    System.Collections.IEnumerable
    Microsoft.Maui.ISafeAreaView
    Microsoft.Maui.IPadding
    Microsoft.Maui.ICrossPlatformLayout
    Microsoft.Maui.IVisualTreeElement

    Extension Methods

    GridIndexResolver.ResolveToGroupRecordIndexForDetailsView(SfDataGrid, Int32)
    GridIndexResolver.IsInDetailsViewIndex(SfDataGrid, Int32)
    GridIndexResolver.GetDetailsViewRowIndex(SfDataGrid, DetailsViewDataGrid)
    GridIndexResolver.GetDetailsViewRecord(SfDataGrid, DetailsViewDataGrid)
    GridIndexResolver.ResolveToRecordIndex(SfDataGrid, Int32)
    GridIndexResolver.ResolveToRowIndex(SfDataGrid, Int32)
    GridIndexResolver.ResolveToStartRowIndex(SfDataGrid)
    GridIndexResolver.ResolveToGridVisibleColumnIndex(SfDataGrid, Int32)
    GridIndexResolver.ResolveToScrollColumnIndex(SfDataGrid, Int32)
    GridIndexResolver.ResolveToStartColumnIndex(SfDataGrid)
    GridIndexResolver.IsAddNewIndex(SfDataGrid, Int32)
    GridIndexResolver.GetHeaderIndex(SfDataGrid)
    GridIndexResolver.IsFilterRowIndex(SfDataGrid, Int32)
    GridIndexResolver.GetFilterRowIndex(SfDataGrid)
    GridIndexResolver.IsUnboundRow(SfDataGrid, Int32)
    GridIndexResolver.ResolveStartIndexOfGroup(SfDataGrid, Group)
    GridIndexResolver.GetUnboundRowsCount(SfDataGrid, DataGridUnboundRowPosition, Boolean)
    GridIndexResolver.GetUnboundRowAtRowIndex(SfDataGrid, Int32)
    GridIndexResolver.ResolveUnboundRowToRowIndex(SfDataGrid, DataGridUnboundRow)
    GridIndexResolver.ResolveStartIndexBasedOnPosition(SfDataGrid)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved