menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SuggestionTemplateContext - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SuggestionTemplateContext

    Inheritance
    System.Object
    SuggestionTemplateContext
    Namespace: Syncfusion.Blazor.InteractiveChat
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class SuggestionTemplateContext : Object

    Constructors

    SuggestionTemplateContext()

    Declaration
    public SuggestionTemplateContext()

    Properties

    Index

    Gets or sets the index of the suggestion item in the SfChatUI component.

    Declaration
    public int Index { get; set; }
    Property Value
    Type Description
    System.Int32

    An System.Int32 representing the order of the suggestion item within a list of suggestions. The default value is -1.

    Remarks

    This property specifies the index position of the suggestion item, which is used to identify its order within the list of suggestions.

    Suggestions

    Gets or sets the suggestion text in the SfChatUI component.

    Declaration
    public string Suggestions { get; set; }
    Property Value
    Type Description
    System.String

    A System.String representing the suggested text that is being rendered within the template. The default value is String.Empty.

    Remarks

    This property specifies the text of the suggestion item, which is displayed within the suggestion template.

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