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

UI control for creating and visualizing barcodes in a machine-readable format.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

C#
[TelerikToolboxCategory("Data Visualization")]
public class RadBarcode : Control

Inheritance: objectRadBarcode

Constructors

C#
public RadBarcode()

Fields

ErrorMessageProperty

DependencyProperty

Registers the ErrorMessage dependency property.

C#
public static readonly DependencyProperty ErrorMessageProperty

IsValidProperty

DependencyProperty

Registers the IsValid dependency property.

C#
public static readonly DependencyProperty IsValidProperty

SymbologyProperty

DependencyProperty

Registers the Symbology dependency property.

C#
public static readonly DependencyProperty SymbologyProperty

ValueProperty

DependencyProperty

Registers the Value dependency property.

C#
public static readonly DependencyProperty ValueProperty

Properties

Gets a string value representing the reason why the barcode is invalid.

C#
public string ErrorMessage { get; }

Gets a value indicating whether the barcode has a valid Value for the current symbology.

C#
public bool IsValid { get; }

Gets or sets the Symbology of the barcode.

C#
public SymbologyBase Symbology { get; set; }

Gets or sets the value of the barcode.

C#
public string Value { get; set; }

Methods

C#
protected override Size MeasureOverride(Size constraint)
Parameters:constraintSizeReturns:

Size

C#
public override void OnApplyTemplate()

Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.

C#
protected override AutomationPeer OnCreateAutomationPeer()
Returns:

AutomationPeer

The type-specific AutomationPeer implementation.

C#
protected override void OnPropertyChanged(DependencyPropertyChangedEventArgs e)
Parameters:eDependencyPropertyChangedEventArgs