Blazor

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class MapsBubble<TValue>

    Show / Hide Table of Contents

    Class MapsBubble<TValue>

    Sets and gets the bubble of the maps.

    Inheritance
    System.Object
    SfBaseComponent
    SfDataBoundComponent
    MapsBubble<TValue>
    Implements
    IBubble
    Inherited Members
    SfDataBoundComponent.SetDataManager<T>(Object)
    SfDataBoundComponent.OnAfterRenderAsync(Boolean)
    SfDataBoundComponent.DataManager
    SfDataBoundComponent.MainParent
    SfBaseComponent.Dispose()
    SfBaseComponent.OnObservableChange(String, Object, Boolean, NotifyCollectionChangedEventArgs)
    Namespace: Syncfusion.Blazor.Maps
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class MapsBubble<TValue> : SfDataBoundComponent, IBubble
    Type Parameters
    Name Description
    TValue

    represents the class name of the data source.

    Constructors

    MapsBubble()

    Declaration
    public MapsBubble()

    Properties

    AnimationDelay

    Gets or sets the delay in animation for bubble in maps.

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

    AnimationDuration

    Gets or sets the duration for the animation for bubble in maps.

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

    BubbleType

    Gets or sets the type of the bubble in maps.

    Declaration
    public BubbleType BubbleType { get; set; }
    Property Value
    Type Description
    BubbleType

    ChildContent

    Gets or sets the content of the UI element.

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

    ColorValuePath

    Gets or sets the value from the data source of bubble settings for the color of the bubble in maps.

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

    DataSource

    Gets or sets the data source for the bubble. The data source must contain the size value of the bubble that can be bound to the bubble of the Maps using the valuePath property in the bubbleSettings. The data source can contain data such as color, and the other information that can be bound to the bubble, and tooltip of the bubble.

    Declaration
    public IEnumerable<object> DataSource { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<System.Object>

    Fill

    Gets or sets the color for the bubble in maps.

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

    MaxRadius

    Gets or sets the maximum radius for the bubble in maps.

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

    MinRadius

    Gets or sets the minimum radius for the bubble in maps.

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

    Opacity

    Gets or sets the opacity of the bubble in maps.

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

    Query

    Gets or sets the query to select particular data from the bubble data. This property is applicable only when the data source is created by data manager.

    Declaration
    public Query Query { get; set; }
    Property Value
    Type Description
    Query

    ValuePath

    Gets or sets the value from the data source of bubble settings for the bubble to be rendered in maps.

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

    Visible

    Gets or sets a value indicating whether or not to enable the visibility state of the bubbles in maps.

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

    Methods

    BuildRenderTree(RenderTreeBuilder)

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

    Dispose(Boolean)

    Disposes the property values during the destroy of the component that is hold up for the execution of the component.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing
    Overrides
    SfBaseComponent.Dispose(Boolean)

    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
    SfDataBoundComponent.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.

    Overrides
    SfDataBoundComponent.OnParametersSetAsync()

    Implements

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