menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface IAssistItemConverter - MAUI API Reference | Syncfusion

    Show / Hide Table of Contents

    Interface IAssistItemConverter

    Defines methods that can be used to convert data objects to assist items and vice versa.

    Namespace: Syncfusion.Maui.AIAssistView
    Assembly: Syncfusion.Maui.AIAssistView.dll
    Syntax
    public interface IAssistItemConverter

    Methods

    ConvertToAssistItem(Object, SfAIAssistView)

    Converts the given data object to an assist item.

    Declaration
    IAssistItem ConvertToAssistItem(object data, SfAIAssistView assistView)
    Parameters
    Type Name Description
    System.Object data

    The data object to be converted into an assist item.

    SfAIAssistView assistView

    The instance of SfAIAssistView associated with the conversion.

    Returns
    Type Description
    IAssistItem

    Returns the converted IAssistItem.

    ConvertToData(Object, SfAIAssistView)

    Converts the given assist item to a data object.

    Declaration
    object ConvertToData(object assistItem, SfAIAssistView assistView)
    Parameters
    Type Name Description
    System.Object assistItem

    The IAssistItem to be converted into a data object.

    SfAIAssistView assistView

    The instance of SfAIAssistView associated with the conversion.

    Returns
    Type Description
    System.Object

    Returns the converted data object.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved