RadzenLinearGaugeScalePointer component.
Object
ComponentBase
IComponent
IHandleEvent
IHandleAfterRender
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
public class RadzenLinearGaugeScalePointer : ComponentBase, IComponent, IHandleEvent, IHandleAfterRenderRadzenLinearGaugeScalePointer component.
public RadzenLinearGaugeScalePointer()Gets or sets whether the pointer can be dragged to change the value. Requires ValueChanged to be bound so that value updates are propagated.
public bool Draggable { get; set; }
| Type | Description |
|---|---|
| bool | Gets or sets whether the pointer can be dragged to change the value. Requires ValueChanged to be bound so that value updates are propagated. |
Gets or sets the pointer fill color.
public string Fill { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the pointer fill color. |
Gets or sets the format string used for the pointer value.
public string FormatString { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the format string used for the pointer value. |
Gets or sets the parent linear gauge.
public RadzenLinearGauge Gauge { get; set; }
| Type | Description |
|---|---|
| RadzenLinearGauge | Gets or sets the parent linear gauge. |
Gets or sets the visual style of the pointer.
public LinearGaugePointerType PointerType { get; set; }
| Type | Description |
|---|---|
| LinearGaugePointerType | Gets or sets the visual style of the pointer. |
Gets or sets the parent scale.
public RadzenLinearGaugeScale Scale { get; set; }
| Type | Description |
|---|---|
| RadzenLinearGaugeScale | Gets or sets the parent scale. |
Gets or sets whether the pointer value is rendered.
public bool ShowValue { get; set; }
| Type | Description |
|---|---|
| bool | Gets or sets whether the pointer value is rendered. |
Gets or sets the pointer size in pixels.
public double Size { get; set; }
| Type | Description |
|---|---|
| double | Gets or sets the pointer size in pixels. |
Gets or sets the pointer stroke color.
public string Stroke { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the pointer stroke color. |
Gets or sets the width of the pointer stroke.
public double StrokeWidth { get; set; }
| Type | Description |
|---|---|
| double | Gets or sets the width of the pointer stroke. |
Gets or sets the template used to render the pointer value.
public RenderFragment<RadzenLinearGaugeScalePointer> Template { get; set; }
| Type | Description |
|---|---|
| RenderFragment<RadzenLinearGaugeScalePointer> | Gets or sets the template used to render the pointer value. |
Gets or sets the pointer value on the scale.
public double Value { get; set; }
| Type | Description |
|---|---|
| double | Gets or sets the pointer value on the scale. |
Gets or sets a callback invoked when the value changes via two-way binding.
public EventCallback<double> ValueChanged { get; set; }
| Type | Description |
|---|---|
| EventCallback<double> | Gets or sets a callback invoked when the value changes via two-way binding. |
Gets or sets the distance in pixels between the pointer tip and the value label.
public double ValueOffset { get; set; }
| Type | Description |
|---|---|
| double | Gets or sets the distance in pixels between the pointer tip and the value label. |
protected override void BuildRenderTree(Rendering.RenderTreeBuilder __builder)
| Type | Name | Description |
|---|---|---|
| Rendering.RenderTreeBuilder | __builder |
public override Task SetParametersAsync(ParameterView parameters)
| Type | Name | Description |
|---|---|---|
| ParameterView | parameters |
| Type | Description |
|---|---|
| Task |