Class MapsZoomToolbarButton
Gets and sets the properties for rendering the buttons in the zoom toolbar.
Inheritance
Namespace: Syncfusion.Blazor.Maps
Assembly: Syncfusion.Blazor.dll
Syntax
public class MapsZoomToolbarButton : OwningComponentBase
Constructors
MapsZoomToolbarButton()
Declaration
public MapsZoomToolbarButton()
Properties
BorderColor
Gets and sets the color of the border of the button in the zoom toolbar.
Declaration
public string BorderColor { get; set; }
Property Value
Type |
---|
System.String |
BorderOpacity
Gets and sets the opacity of the border of the button in the zoom toolbar.
Declaration
public double BorderOpacity { get; set; }
Property Value
Type |
---|
System.Double |
BorderWidth
Gets and sets the width of the border of the button in the zoom toolbar.
Declaration
public double BorderWidth { get; set; }
Property Value
Type |
---|
System.Double |
ChildContent
Sets and gets the content of the UI element.
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.RenderFragment |
Color
Gets and sets the color of the icons of the button.
Declaration
public string Color { get; set; }
Property Value
Type |
---|
System.String |
Fill
Gets and sets the fill color of the button.
Declaration
public string Fill { get; set; }
Property Value
Type |
---|
System.String |
HighlightColor
Gets and sets the color of the icons of the button when mouseover is performed.
Declaration
public string HighlightColor { get; set; }
Property Value
Type |
---|
System.String |
Opacity
Gets and sets the opacity of the button.
Declaration
public double Opacity { get; set; }
Property Value
Type |
---|
System.Double |
Padding
Gets and sets the padding of the button.
Declaration
public double Padding { get; set; }
Property Value
Type |
---|
System.Double |
Radius
Gets and sets the height of the button.
Declaration
public double Radius { get; set; }
Property Value
Type |
---|
System.Double |
SelectionColor
Gets and sets the color of the icons of the button when selection is performed.
Declaration
public string SelectionColor { get; set; }
Property Value
Type |
---|
System.String |
ToolbarItems
Gets and sets the type of the button to be rendered in the zoom toolbar such as ZoomIn,ZoomOut, Zoom, Reset and Pan.
Declaration
public List<ToolbarItem> ToolbarItems { get; set; }
Property Value
Type |
---|
System.Collections.Generic.List<ToolbarItem> |
Methods
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 |
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. |
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. |