alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class CustomView

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    CustomView
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    ComponentBase.BuildRenderTree(RenderTreeBuilder)
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnAfterRenderAsync(bool)
    ComponentBase.OnInitialized()
    ComponentBase.OnParametersSet()
    ComponentBase.OnParametersSetAsync()
    ComponentBase.RendererInfo
    ComponentBase.SetParametersAsync(ParameterView)
    ComponentBase.ShouldRender()
    ComponentBase.StateHasChanged()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    OwningComponentBase.IsDisposed
    OwningComponentBase.ScopedServices
    Namespace: Syncfusion.Blazor.InteractiveChat
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class CustomView : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

    Constructors

    CustomView()

    Declaration
    public CustomView()

    Properties

    Header

    Gets or sets the name of the custom view in the SfAIAssistView component.

    Declaration
    [Parameter]
    public string Header { get; set; }
    Property Value
    Type Description
    string

    The name displayed in the custom view. The default is String.Empty.

    Remarks

    This property specifies the name of the custom view in the SfAIAssistView component.

    IconCss

    Gets or sets the icon CSS for the custom view in the SfAIAssistView component.

    Declaration
    [Parameter]
    public string IconCss { get; set; }
    Property Value
    Type Description
    string

    The CSS class for the icon of custom view. The default is String.Empty.

    Remarks

    This property specifies the CSS class for the custom view icon used in the SfAIAssistView component.

    ViewTemplate

    Gets or sets a template that defines the appearance of the custom view.

    Declaration
    [Parameter]
    public RenderFragment ViewTemplate { get; set; }
    Property Value
    Type Description
    RenderFragment

    A RenderFragment representing the template for the custom view. The default is null.

    Remarks

    This property specifies the template used to render the appearance of the CustomView component.

    Examples
    <SfAIAssistView>
        <ChildContent>
            <AssistViews>
                <CustomView Header="NoteBook">
                    <ViewTemplate>
                        // Place your template item here
                    </ViewTemplate>
                </CustomView>
            </AssistViews>
        </ChildContent>
    </SfAIAssistView>

    Methods

    Dispose(bool)

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing
    Overrides
    OwningComponentBase.Dispose(bool)

    OnInitializedAsync()

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type
    Task
    Overrides
    ComponentBase.OnInitializedAsync()

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved