alexa
Syncfusion
menu Syncfusion

Blazor

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

    Show / Hide Table of Contents

    Class TreeGridWebMcpSettings

    Configures WebMCP tool registration for a TreeGrid.

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    TreeGridWebMcpSettings
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    Inherited Members
    ComponentBase.SetParametersAsync(ParameterView)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.TreeGrid
    Assembly: Syncfusion.Blazor.TreeGrid.dll
    Syntax
    public sealed class TreeGridWebMcpSettings : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

    Constructors

    TreeGridWebMcpSettings()

    Declaration
    public TreeGridWebMcpSettings()

    Properties

    AllowedTools

    Gets or sets the built-in tools allowed for registration. When null, all built-in tools are available.

    Declaration
    [Parameter]
    public IEnumerable<TreeGridWebMcpToolCommand>? AllowedTools { get; set; }
    Property Value
    Type
    IEnumerable<TreeGridWebMcpToolCommand>

    ChildContent

    Gets or sets the nested WebMCP tool configuration.

    Declaration
    [Parameter]
    [JsonIgnore]
    public RenderFragment? ChildContent { get; set; }
    Property Value
    Type
    RenderFragment

    Name

    Gets or sets the optional name used to distinguish this TreeGrid's WebMCP tool registrations.

    Declaration
    [Parameter]
    public string? Name { get; set; }
    Property Value
    Type
    string

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    RenderTreeBuilder __builder
    Overrides
    ComponentBase.BuildRenderTree(RenderTreeBuilder)

    OnInitializedAsync()

    Initializes the settings component and registers it with the parent TreeGrid.

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

    OnParametersSetAsync()

    Updates the parent TreeGrid when settings parameters change.

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

    Implements

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