alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class ChartWebMcpSettings

    Settings container that hosts a logical tool group for one SfChart instance. The host nests ChartWebMcpTools and one or more ChartWebMcpTool children inside this container to customize the agent-facing tool list without forking the catalog.

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    SfBaseComponent
    SfDataBoundComponent
    ChartWebMcpSettings
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnInitialized()
    ComponentBase.OnParametersSet()
    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
    SfBaseComponent.Dispose()
    SfBaseComponent.Dispose(bool)
    SfBaseComponent.LicenseContext
    SfBaseComponent.OnObservableChange(string, object, bool, NotifyCollectionChangedEventArgs)
    SfBaseComponent.ValidateLicenseByUICategory()
    SfDataBoundComponent.DataManager
    SfDataBoundComponent.MainParent
    SfDataBoundComponent.OnAfterRenderAsync(bool)
    SfDataBoundComponent.OnParametersSetAsync()
    SfDataBoundComponent.SetDataManager<T>(object)
    Namespace: Syncfusion.Blazor.Charts
    Assembly: Syncfusion.Blazor.Charts.dll
    Syntax
    public class ChartWebMcpSettings : SfDataBoundComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

    Constructors

    ChartWebMcpSettings()

    Declaration
    public ChartWebMcpSettings()

    Properties

    ChildContent

    Gets or sets the child content (typically one or more ChartWebMcpTools wrappers).

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

    Name

    Logical name for this tool group. When set, it is the browser registration prefix ({Name}_{toolName}). When empty, the parent chart's ID is used, then SfChart-{DataId}.

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

    Two charts that share the same ID or the same Name register the same browser tool names. The second registration replaces the first. Give each chart a unique ID or Name when more than one chart has EnableWebMcp enabled. Enabled="false" on a child ChartWebMcpTool removes that tool from the registered set.

    Methods

    BuildRenderTree(RenderTreeBuilder)

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

    OnInitializedAsync()

    Method invoked when the component is ready to start, having received its initial parameters from its parent in the render tree.

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    Task

    A Task representing any asynchronous operation.

    Overrides
    SfDataBoundComponent.OnInitializedAsync()

    Implements

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