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:
[TelerikToolboxCategory("Data Visualization")]
public class RadBarcodeReader : Control
Inheritance: objectRadBarcodeReader
Constructors
Initializes a new instance of the RadBarcodeReader class.
public RadBarcodeReader()
Fields
DecodeButtonTextProperty
DependencyProperty
Identifies the DecodeButtonText dependency property.
public static readonly DependencyProperty DecodeButtonTextProperty
DecodeTypesProperty
DependencyProperty
Identifies the DecodeTypes dependency property.
public static readonly DependencyProperty DecodeTypesProperty
OpenButtonTextProperty
DependencyProperty
Identifies the OpenButtonText dependency property.
public static readonly DependencyProperty OpenButtonTextProperty
ResultTextProperty
DependencyProperty
Identifies the ResultText dependency property.
public static readonly DependencyProperty ResultTextProperty
Properties
Gets or sets the text of the decode button.
public string DecodeButtonText { get; set; }
Gets or sets the types of barcodes the reader will try to decode.
public BarcodeType DecodeTypes { get; set; }
Gets or sets the text of the open File button.
public string OpenButtonText { get; set; }
Gets or sets the text of the Result area.
public string ResultText { get; set; }
Methods
Called when the Text property is changed.
protected static void DecodeTextChanged(DependencyObject source, DependencyPropertyChangedEventArgs eventArgs)
The source.
eventArgsDependencyPropertyChangedEventArgsThe DependencyPropertyChangedEventArgs instance containing the event data.
Overrides the OnApplyTemplate method.
public override void OnApplyTemplate()
OnCreateAutomationPeer()
AutomationPeer
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
protected override AutomationPeer OnCreateAutomationPeer()
AutomationPeer
The type-specific AutomationPeer implementation.
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.
Called when the Text property is changed.
protected static void OpenTextChanged(DependencyObject source, DependencyPropertyChangedEventArgs eventArgs)
The source.
eventArgsDependencyPropertyChangedEventArgsThe DependencyPropertyChangedEventArgs instance containing the event data.
Called when the text in the result area is updated.
protected static void ResultTextChanged(DependencyObject source, DependencyPropertyChangedEventArgs eventArgs)
The source.
eventArgsDependencyPropertyChangedEventArgsThe DependencyPropertyChangedEventArgs instance containing the event data.