RadBarcode
Represents a barcode control that can display various types of 1D and 2D barcodes.
Definition
Namespace:Telerik.Maui.Controls
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class RadBarcode : RadLayout
Inheritance: objectRadLayoutRadBarcode
Inherited Members
Constructors
Initializes a new instance of the RadBarcode class.
public RadBarcode()
Fields
ErrorMessageProperty
BindableProperty
Identifies the ErrorMessage property.
public static readonly BindableProperty ErrorMessageProperty
ForegroundColorProperty
BindableProperty
Identifies the ForegroundColor property.
public static readonly BindableProperty ForegroundColorProperty
IsValidProperty
BindableProperty
Identifies the IsValid property.
public static readonly BindableProperty IsValidProperty
SymbologyProperty
BindableProperty
Identifies the Symbology property.
public static readonly BindableProperty SymbologyProperty
ValueProperty
BindableProperty
Identifies the Value property.
public static readonly BindableProperty ValueProperty
Properties
Gets or sets the error message when the barcode value is invalid.
public string ErrorMessage { get; set; }
The error message describing why the barcode is invalid, or null if valid.
ForegroundColor
Color
Gets or sets the foreground color of the barcode.
public Color ForegroundColor { get; set; }
The Color used for the barcode foreground elements.
Gets or sets a value indicating whether the current barcode value is valid.
public bool IsValid { get; set; }
true if the barcode value is valid; otherwise, false.
Gets or sets the symbology used for barcode generation.
public SymbologyBase Symbology { get; set; }
The SymbologyBase implementation that defines the barcode type and settings.
Methods
protected override void OnBindingContextChanged()
protected override void OnPropertyChanged(string propertyName = null)
Called when a property of the symbology changes. Suitable for performing necessary updates based on the changes.
protected virtual void OnSymbologyPropertyChanged(object sender, PropertyChangedEventArgs e)
The source of the event.
ePropertyChangedEventArgsThe event arguments containing property change information.