New to Telerik UI for BlazorStart a free 30-day trial

Telerik UI BarcodeText. Children: configuration components for the barcode text.

Definition

Constructors

C#
public BarcodeText()

Methods

C#
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters:__builderRenderTreeBuilder

Overrides: ComponentBase.BuildRenderTree(RenderTreeBuilder)

C#
protected override Task OnAfterRenderAsync(bool firstRender)
Parameters:firstRenderboolReturns:

Task

Overrides: ComponentBase.OnAfterRenderAsync(bool)

C#
protected override Task OnInitializedAsync()
Returns:

Task

Overrides: ComponentBase.OnInitializedAsync()

C#
protected override Task OnParametersSetAsync()
Returns:

Task

Overrides: ComponentBase.OnParametersSetAsync()

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

Properties

The content of the BarcodeText component. Children: BarcodeTextMargin and other barcode text configuration components.

C#
[Parameter]
public RenderFragment ChildContent { get; set; }

The color of the text. Any valid CSS color string will work here, including hex and rgb.

C#
[Parameter]
public string Color { get; set; }

The font of the text.

C#
[Parameter]
public string Font { get; set; }

If set to false the barcode will not display the value as a text below the barcode lines.

C#
[Parameter]
public bool? Visible { get; set; }