Class
RadBarcodeReader

This control decodes images representing barcodes, such as Code 128, EAN8, etc.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

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

Inheritance: objectRadBarcodeReader

Constructors

RadBarcodeReader()

Initializes a new instance of the RadBarcodeReader class.

Declaration

cs-api-definition
public RadBarcodeReader()

Fields

DecodeButtonTextProperty

Identifies the DecodeButtonText dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DecodeButtonTextProperty

Field Value

DependencyProperty

DecodeTypesProperty

Identifies the DecodeTypes dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DecodeTypesProperty

Field Value

DependencyProperty

OpenButtonTextProperty

Identifies the OpenButtonText dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty OpenButtonTextProperty

Field Value

DependencyProperty

ResultTextProperty

Identifies the ResultText dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ResultTextProperty

Field Value

DependencyProperty

Properties

DecodeButtonText

Gets or sets the text of the decode button.

Declaration

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

Property Value

string

DecodeTypes

Gets or sets the types of barcodes the reader will try to decode.

Declaration

cs-api-definition
public BarcodeType DecodeTypes { get; set; }

Property Value

BarcodeType

OpenButtonText

Gets or sets the text of the open File button.

Declaration

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

Property Value

string

ResultText

Gets or sets the text of the Result area.

Declaration

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

Property Value

string

Methods

DecodeTextChanged(DependencyObject, DependencyPropertyChangedEventArgs)

Called when the Text property is changed.

Declaration

cs-api-definition
protected static void DecodeTextChanged(DependencyObject source, DependencyPropertyChangedEventArgs eventArgs)

Parameters

source

DependencyObject

The source.

eventArgs

DependencyPropertyChangedEventArgs

The DependencyPropertyChangedEventArgs instance containing the event data.

OnApplyTemplate()

Overrides the OnApplyTemplate method.

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.

OnInitialized(EventArgs)

Raises the event. This method is invoked whenever is set to true internally.

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

OpenTextChanged(DependencyObject, DependencyPropertyChangedEventArgs)

Called when the Text property is changed.

Declaration

cs-api-definition
protected static void OpenTextChanged(DependencyObject source, DependencyPropertyChangedEventArgs eventArgs)

Parameters

source

DependencyObject

The source.

eventArgs

DependencyPropertyChangedEventArgs

The DependencyPropertyChangedEventArgs instance containing the event data.

ResultTextChanged(DependencyObject, DependencyPropertyChangedEventArgs)

Called when the text in the result area is updated.

Declaration

cs-api-definition
protected static void ResultTextChanged(DependencyObject source, DependencyPropertyChangedEventArgs eventArgs)

Parameters

source

DependencyObject

The source.

eventArgs

DependencyPropertyChangedEventArgs

The DependencyPropertyChangedEventArgs instance containing the event data.