menu

WinUI

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface ISuggestionSelectionBehavior - WinUI API Reference | Syncfusion

    Show / Hide Table of Contents

    Interface ISuggestionSelectionBehavior

    Defines the event that can be used to select a suggestion.

    Namespace: Syncfusion.UI.Xaml.Chat
    Assembly: Syncfusion.Chat.WinUI.dll
    Syntax
    public interface ISuggestionSelectionBehavior

    Methods

    Attach(Object)

    Attaches a view element to which the selection behavior needs to be applied.

    Declaration
    void Attach(object obj)
    Parameters
    Type Name Description
    System.Object obj

    The view element to attach.

    Detach(Object)

    Detaches a view element from which the selection behavior needs to be removed.

    Declaration
    void Detach(object obj)
    Parameters
    Type Name Description
    System.Object obj

    The view element to detach.

    Events

    Selected

    Event that occurs when a suggestion item is selected in the SfAIAssistView control.

    Declaration
    event EventHandler<SuggestionClickedEventArgs> Selected
    Event Type
    Type
    System.EventHandler<SuggestionClickedEventArgs>
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved