Class RadBarcodeReader
This control decodes images representing barcodes, such as Code 128, EAN8, etc.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
[TelerikToolboxCategory("Data Visualization")]
public class RadBarcodeReader : Control
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
System.Windows.DependencyProperty
|
DecodeTypesProperty
Identifies the DecodeTypes dependency property.
Declaration
public static readonly DependencyProperty DecodeTypesProperty
Field Value
System.Windows.DependencyProperty
|
OpenButtonTextProperty
Identifies the OpenButtonText dependency property.
Declaration
public static readonly DependencyProperty OpenButtonTextProperty
Field Value
System.Windows.DependencyProperty
|
ResultTextProperty
Identifies the ResultText dependency property.
Declaration
public static readonly DependencyProperty ResultTextProperty
Field Value
System.Windows.DependencyProperty
|
Properties
DecodeButtonText
Gets or sets the text of the decode button.
Declaration
public string DecodeButtonText { get; set; }
Property Value
System.String
|
DecodeTypes
Gets or sets the types of barcodes the reader will try to decode.
Declaration
public BarcodeType DecodeTypes { get; set; }
Property Value
BarcodeType
|
OpenButtonText
Gets or sets the text of the open File button.
Declaration
public string OpenButtonText { get; set; }
Property Value
System.String
|
ResultText
Gets or sets the text of the Result area.
Declaration
public string ResultText { get; set; }
Property Value
System.String
|
Methods
DecodeTextChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Called when the Text property is changed.
Declaration
protected static void DecodeTextChanged(DependencyObject source, DependencyPropertyChangedEventArgs eventArgs)
Parameters
System.Windows.DependencyObject
source
The source. |
System.Windows.DependencyPropertyChangedEventArgs
eventArgs
The System.Windows.DependencyPropertyChangedEventArgs instance containing the event data. |
OnApplyTemplate()
Overrides the OnApplyTemplate method.
Declaration
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Returns class-specific System.Windows.Automation.Peers.AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.Windows.Automation.Peers.AutomationPeer
The type-specific System.Windows.Automation.Peers.AutomationPeer implementation. |
OnInitialized(EventArgs)
Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs
e
The System.Windows.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
System.Windows.DependencyObject
source
The source. |
System.Windows.DependencyPropertyChangedEventArgs
eventArgs
The System.Windows.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
System.Windows.DependencyObject
source
The source. |
System.Windows.DependencyPropertyChangedEventArgs
eventArgs
The System.Windows.DependencyPropertyChangedEventArgs instance containing the event data. |