Class
RadBarcode

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

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

cs-api-definition
[TelerikToolboxCategory("Data Visualization")]
public class RadBarcode : Control

Inheritance: objectRadBarcode

Constructors

RadBarcode()

Declaration

cs-api-definition
public RadBarcode()

Fields

ErrorMessageProperty

Registers the ErrorMessage dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ErrorMessageProperty

Field Value

DependencyProperty

IsValidProperty

Registers the IsValid dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsValidProperty

Field Value

DependencyProperty

SymbologyProperty

Registers the Symbology dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SymbologyProperty

Field Value

DependencyProperty

ValueProperty

Registers the Value dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ValueProperty

Field Value

DependencyProperty

Properties

ErrorMessage

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

Declaration

cs-api-definition
public string ErrorMessage { get; }

Property Value

string

IsValid

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

Declaration

cs-api-definition
public bool IsValid { get; }

Property Value

bool

Symbology

Gets or sets the Symbology of the barcode.

Declaration

cs-api-definition
public SymbologyBase Symbology { get; set; }

Property Value

SymbologyBase

Value

Gets or sets the value of the barcode.

Declaration

cs-api-definition
public string Value { get; set; }

Property Value

string

Methods

MeasureOverride(Size)

Declaration

cs-api-definition
protected override Size MeasureOverride(Size constraint)

Parameters

constraint

Size

Returns

Size

OnApplyTemplate()

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnCreateAutomationPeer()

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

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

The type-specific AutomationPeer implementation.

OnPropertyChanged(DependencyPropertyChangedEventArgs)

Declaration

cs-api-definition
protected override void OnPropertyChanged(DependencyPropertyChangedEventArgs e)

Parameters

e

DependencyPropertyChangedEventArgs