Blazor

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class MapsToggleLegendSettings - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class MapsToggleLegendSettings

    Sets and gets the options for customizing the color and width of the shape related to the legend on selecting the legend.

    Inheritance
    System.Object
    SfBaseComponent
    MapsToggleLegendSettings
    Inherited Members
    SfBaseComponent.OnAfterRenderAsync(Boolean)
    SfBaseComponent.Dispose()
    SfBaseComponent.Dispose(Boolean)
    SfBaseComponent.OnObservableChange(String, Object, Boolean, NotifyCollectionChangedEventArgs)
    Namespace: Syncfusion.Blazor.Maps
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class MapsToggleLegendSettings : SfBaseComponent

    Constructors

    MapsToggleLegendSettings()

    Declaration
    public MapsToggleLegendSettings()

    Properties

    ApplyShapeSettings

    Enables or disables the property of the shape settings to be displayed while clicking the legend.

    Declaration
    public bool ApplyShapeSettings { get; set; }
    Property Value
    Type Description
    System.Boolean

    ChildContent

    Sets and gets the content of the UI element.

    Declaration
    public RenderFragment ChildContent { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.RenderFragment

    Enable

    Enables or disables the legend to be toggled.

    Declaration
    public bool Enable { get; set; }
    Property Value
    Type Description
    System.Boolean

    Fill

    Sets and gets the color of the shape for which the legend is selected.

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

    Opacity

    Sets and gets the opacity for the shape for which the legend is selected.

    Declaration
    public double Opacity { get; set; }
    Property Value
    Type Description
    System.Double

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder

    OnInitializedAsync()

    OnInitializedAsync method is called when the component has received its initial parameters.

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task

    System.Threading.Tasks.Task representing the asynchronous operation.

    Overrides
    SfBaseComponent.OnInitializedAsync()

    OnParametersSetAsync()

    OnParametersSetAsync is a lifecycle method that is invoked when the component has received parameters, and the incoming values have been assigned to the properties.

    Declaration
    protected override Task OnParametersSetAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task

    System.Threading.Tasks.Task representing the asynchronous operation.

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