RadzenLinearGaugeScalePointer Class

RadzenLinearGaugeScalePointer component.

Inheritance

Object

ComponentBase

RadzenLinearGaugeScalePointer

Implements

IComponent

IHandleEvent

IHandleAfterRender

Inherited Members

ComponentBase.OnInitializedAsync

ComponentBase.OnParametersSet

ComponentBase.OnParametersSetAsync

ComponentBase.StateHasChanged

ComponentBase.ShouldRender

ComponentBase.OnAfterRender

ComponentBase.OnAfterRenderAsync

ComponentBase.InvokeAsync

ComponentBase.DispatchExceptionAsync

ComponentBase.RendererInfo

ComponentBase.Assets

ComponentBase.AssignedRenderMode

Namespace: Radzen.Blazor

Assembly: Radzen.Blazor.dll

Syntax

public class RadzenLinearGaugeScalePointer : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender

Constructors

RadzenLinearGaugeScalePointerlink

RadzenLinearGaugeScalePointer component.

Declaration
public RadzenLinearGaugeScalePointer()

Properties

Draggablelink

Gets or sets whether the pointer can be dragged to change the value. Requires ValueChanged to be bound so that value updates are propagated.

Declaration
public bool Draggable { get; set; }
Property Value
Type Description
boolGets or sets whether the pointer can be dragged to change the value. Requires ValueChanged to be bound so that value updates are propagated.

Filllink

Gets or sets the pointer fill color.

Declaration
public string Fill { get; set; }
Property Value
Type Description
stringGets or sets the pointer fill color.

FormatStringlink

Gets or sets the format string used for the pointer value.

Declaration
public string FormatString { get; set; }
Property Value
Type Description
stringGets or sets the format string used for the pointer value.

Gaugelink

Gets or sets the parent linear gauge.

Declaration
public RadzenLinearGauge Gauge { get; set; }
Property Value
Type Description
RadzenLinearGaugeGets or sets the parent linear gauge.

PointerTypelink

Gets or sets the visual style of the pointer.

Declaration
public LinearGaugePointerType PointerType { get; set; }
Property Value
Type Description
LinearGaugePointerTypeGets or sets the visual style of the pointer.

Scalelink

Gets or sets the parent scale.

Declaration
public RadzenLinearGaugeScale Scale { get; set; }
Property Value
Type Description
RadzenLinearGaugeScaleGets or sets the parent scale.

ShowValuelink

Gets or sets whether the pointer value is rendered.

Declaration
public bool ShowValue { get; set; }
Property Value
Type Description
boolGets or sets whether the pointer value is rendered.

Sizelink

Gets or sets the pointer size in pixels.

Declaration
public double Size { get; set; }
Property Value
Type Description
doubleGets or sets the pointer size in pixels.

Strokelink

Gets or sets the pointer stroke color.

Declaration
public string Stroke { get; set; }
Property Value
Type Description
stringGets or sets the pointer stroke color.

StrokeWidthlink

Gets or sets the width of the pointer stroke.

Declaration
public double StrokeWidth { get; set; }
Property Value
Type Description
doubleGets or sets the width of the pointer stroke.

Templatelink

Gets or sets the template used to render the pointer value.

Declaration
public RenderFragment<RadzenLinearGaugeScalePointer> Template { get; set; }
Property Value
Type Description
RenderFragment<RadzenLinearGaugeScalePointer>Gets or sets the template used to render the pointer value.

Valuelink

Gets or sets the pointer value on the scale.

Declaration
public double Value { get; set; }
Property Value
Type Description
doubleGets or sets the pointer value on the scale.

ValueChangedlink

Gets or sets a callback invoked when the value changes via two-way binding.

Declaration
public EventCallback<double> ValueChanged { get; set; }
Property Value
Type Description
EventCallback<double>Gets or sets a callback invoked when the value changes via two-way binding.

ValueOffsetlink

Gets or sets the distance in pixels between the pointer tip and the value label.

Declaration
public double ValueOffset { get; set; }
Property Value
Type Description
doubleGets or sets the distance in pixels between the pointer tip and the value label.

Methods

BuildRenderTreelink

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

Disposelink

Declaration
public void Dispose()

OnInitializedlink

Declaration
protected override void OnInitialized()

SetParametersAsynclink

Declaration
public override Task SetParametersAsync(ParameterView parameters)
Parameters
Type Name Description
ParameterView parameters
Returns
Type Description
Task
An error has occurred. This app may no longer respond until reloaded. Reload 🗙