New to Telerik UI for .NET MAUIStart a free 30-day trial

Provides a base class for 1D barcode symbology implementations.

Definition

Constructors

C#
protected Symbology1DBase()

Fields

CodeTextSpacingProperty

BindableProperty

Identifies the CodeTextSpacing property.

C#
public static readonly BindableProperty CodeTextSpacingProperty

FontFamilyProperty

BindableProperty

Identifies the FontFamily property.

C#
public static readonly BindableProperty FontFamilyProperty

FontSizeProperty

BindableProperty

Identifies the FontSize property.

C#
public static readonly BindableProperty FontSizeProperty

Identifies the HorizontalTextAlignment property.

C#
public static readonly BindableProperty HorizontalTextAlignmentProperty

ShowTextProperty

BindableProperty

Identifies the ShowText property.

C#
public static readonly BindableProperty ShowTextProperty

Identifies the VerticalTextAlignment property.

C#
public static readonly BindableProperty VerticalTextAlignmentProperty

Properties

Gets or sets the spacing around the text.

C#
public double CodeTextSpacing { get; set; }
Property Value:

The spacing value in device-independent units.

Gets or sets the font family of the text displayed in the barcode.

C#
public string FontFamily { get; set; }
Property Value:

The font family name.

Gets or sets the font size of the text displayed in the barcode.

C#
public double FontSize { get; set; }
Property Value:

The font size in device-independent units.

Gets or sets the horizontal alignment of the text displayed in the barcode.

C#
public TextAlignment HorizontalTextAlignment { get; set; }
Property Value:

The TextAlignment for horizontal text positioning.

Gets or sets whether the barcode should display the human readable value of the barcode.

C#
public bool ShowText { get; set; }
Property Value:

true if the text should be displayed; otherwise, false.

Gets or sets the vertical alignment of the text displayed in the barcode.

C#
public TextAlignment VerticalTextAlignment { get; set; }
Property Value:

The TextAlignment for vertical text positioning.

Methods

Called when a property of the internal symbology changes.

C#
protected override void OnInternalSymbologyPropertyChanged(string propertyName)
Parameters:propertyNamestring

The name of the property that changed.

Overrides: SymbologyBase.OnInternalSymbologyPropertyChanged(string)

Called when a property of the 1D symbology changes.

C#
protected override void OnSymbologyPropertyChanged(string propertyName)
Parameters:propertyNamestring

The name of the property that changed.

Overrides: SymbologyBase.OnSymbologyPropertyChanged(string)