menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class RequestItemTemplateSelector - MAUI API Reference | Syncfusion

    Show / Hide Table of Contents

    Class RequestItemTemplateSelector

    Represents the RequestItemTemplateSelector class to determine the .

    Inheritance
    System.Object
    RequestItemTemplateSelector
    Namespace: Syncfusion.Maui.AIAssistView
    Assembly: Syncfusion.Maui.AIAssistView.dll
    Syntax
    public class RequestItemTemplateSelector : DataTemplateSelector

    Constructors

    RequestItemTemplateSelector()

    Initializes a new instance of the RequestItemTemplateSelector class.

    Declaration
    public RequestItemTemplateSelector()

    Methods

    OnSelectTemplate(Object, BindableObject)

    Overrides the base class method to provide a custom selection template for items.

    Declaration
    protected override DataTemplate OnSelectTemplate(object item, BindableObject container)
    Parameters
    Type Name Description
    System.Object item

    The item for which the selection template is being provided.

    Microsoft.Maui.Controls.BindableObject container

    Represents the container.

    Returns
    Type Description
    Microsoft.Maui.Controls.DataTemplate

    The data template to be used for the selected item. This template defines how the item should be displayed when selected.

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