Class RadBarcodeQR
RadBarcodeQR is a 2D barcode, which encodes data. There are 40 versions of the code, with four different error correction levels.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
[Obsolete("Use RadBarcode with the QRCode symbology. More info on upgrading at https://docs.telerik.com/devtools/wpf/controls/radbarcode/upgrading")]
public class RadBarcodeQR : Control
Constructors
RadBarcodeQR()
Fields
ActualVersionProperty
Identifies the ActualVersion dependency property.
Declaration
public static readonly DependencyProperty ActualVersionProperty
Field Value
System.Windows.DependencyProperty
|
ApplicationIndicatorProperty
Identifies the ApplicationIndicator dependency property.
Declaration
public static readonly DependencyProperty ApplicationIndicatorProperty
Field Value
System.Windows.DependencyProperty
|
ECIProperty
Identifies the ECI dependency property.
Declaration
public static readonly DependencyProperty ECIProperty
Field Value
System.Windows.DependencyProperty
|
ErrorCorrectionLevelProperty
Identifies the ErrorCorrectionLevel dependency property.
Declaration
public static readonly DependencyProperty ErrorCorrectionLevelProperty
Field Value
System.Windows.DependencyProperty
|
FNC1Property
Identifies the FNC1 dependency property.
Declaration
public static readonly DependencyProperty FNC1Property
Field Value
System.Windows.DependencyProperty
|
GeometryProperty
Identifies the GeometryProperty dependency property.
Declaration
public static readonly DependencyProperty GeometryProperty
Field Value
System.Windows.DependencyProperty
|
ModeProperty
Identifies the ModeProperty dependency property.
Declaration
public static readonly DependencyProperty ModeProperty
Field Value
System.Windows.DependencyProperty
|
TextProperty
Identifies the BarcodeText dependency property.
Declaration
public static readonly DependencyProperty TextProperty
Field Value
System.Windows.DependencyProperty
|
VersionProperty
Identifies the Version dependency property.
Declaration
public static readonly DependencyProperty VersionProperty
Field Value
System.Windows.DependencyProperty
|
Properties
ActualVersion
Gets the version that is used to generate the QR code. The value of this property differs from the value of the Version property in case the Version property is not explicitly set. In such cases, the version is calculated automatically, based on the length of the Text value and the selected Mode and ErrorCorrectionLevel.
Declaration
public int ActualVersion { get; }
Property Value
System.Int32
The version that is used to generate the QR code. |
ApplicationIndicator
Gets or sets the ApplicationIndicator entered by the user.
Declaration
public string ApplicationIndicator { get; set; }
Property Value
System.String
|
ECI
Gets or sets the ECI entered by the user.
Declaration
public Modes.ECIMode ECI { get; set; }
Property Value
Modes.ECIMode
|
ErrorCorrectionLevel
Gets or sets the error correction Level entered by the user.
Declaration
public Modes.ErrorCorrectionLevel ErrorCorrectionLevel { get; set; }
Property Value
Modes.ErrorCorrectionLevel
|
FNC1
Gets or sets the FNC1 entered by the user.
Declaration
public Modes.FNC1Mode FNC1 { get; set; }
Property Value
Modes.FNC1Mode
|
Mode
Gets or sets the Mode entered by the user.
Declaration
public Modes.CodeMode Mode { get; set; }
Property Value
Modes.CodeMode
|
Text
Gets or sets the Text entered by the user.
Declaration
public string Text { get; set; }
Property Value
System.String
|
Version
Gets or sets the Version entered by the user.
Declaration
public int Version { get; set; }
Property Value
System.Int32
|
Methods
ControlPropertyChangedHandler(DependencyObject, DependencyPropertyChangedEventArgs)
Called when the Text property was changed.
Declaration
protected static void ControlPropertyChangedHandler(DependencyObject source, DependencyPropertyChangedEventArgs eventArgs)
Parameters
System.Windows.DependencyObject
source
The source. |
System.Windows.DependencyPropertyChangedEventArgs
eventArgs
The System.Windows.DependencyPropertyChangedEventArgs instance containing the event data. |
MeasureOverride(Size)
Called to re-measure a control.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
System.Windows.Size
availableSize
The maximum size that the method can return. |
Returns
System.Windows.Size
The size of the control, up to the maximum specified by constraint. |
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. |