Class TreeGridWebMcpSettings
Configures WebMCP tool registration for a TreeGrid.
Inherited Members
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
OnInitializedAsync()
Initializes the settings component and registers it with the parent TreeGrid.
Declaration
protected override Task OnInitializedAsync()
Returns
| Type |
|---|
| Task |
Overrides
OnParametersSetAsync()
Updates the parent TreeGrid when settings parameters change.
Declaration
protected override Task OnParametersSetAsync()
Returns
| Type |
|---|
| Task |