ClassRadBarcodeReader
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
RadBarcodeReader()
Initializes a new instance of the RadBarcodeReader class.
Declaration
public RadBarcodeReader()
Fields
DecodeButtonTextProperty
Identifies the DecodeButtonText dependency property.
Declaration
public static readonly DependencyProperty DecodeButtonTextProperty
Field Value
DependencyProperty
DecodeTypesProperty
Identifies the DecodeTypes dependency property.
Declaration
public static readonly DependencyProperty DecodeTypesProperty
Field Value
DependencyProperty
OpenButtonTextProperty
Identifies the OpenButtonText dependency property.
Declaration
public static readonly DependencyProperty OpenButtonTextProperty
Field Value
DependencyProperty
ResultTextProperty
Identifies the ResultText dependency property.
Declaration
public static readonly DependencyProperty ResultTextProperty
Field Value
DependencyProperty
Properties
DecodeButtonText
Gets or sets the text of the decode button.
DecodeTypes
Gets or sets the types of barcodes the reader will try to decode.
Declaration
public BarcodeType DecodeTypes { get; set; }
Property Value
OpenButtonText
Gets or sets the text of the open File button.
ResultText
Gets or sets the text of the Result area.
Methods
DecodeTextChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Called when the Text property is changed.
Declaration
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
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
Declaration
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
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.
OpenTextChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Called when the Text property is changed.
Declaration
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
protected static void ResultTextChanged(DependencyObject source, DependencyPropertyChangedEventArgs eventArgs)
Parameters
source
DependencyObject
The source.
eventArgs
DependencyPropertyChangedEventArgs
The DependencyPropertyChangedEventArgs instance containing the event data.