BarCode Class
Represents a control that can display a bar code.
public class BarCode : Control
- Inheritance:
- object Visual UIElement FrameworkElement Control object
Constructors
BarCode()
Initializes an instance of the class.
public BarCode()
Properties
Caption
The caption to display above the bar code.
[Localizability(LocalizationCategory.Title)]
public object? Caption { get; set; }
Property Value
CornerRadius
The corner radius of the border.
HasCaption
Indicates whether Caption has a non-null/empty value.
HasSymbology
Indicates whether Symbology has a non-null value.
LogicalChildren
Gets an enumerator for logical child elements of this element.
protected override IEnumerator? LogicalChildren { get; }
Property Value
- IEnumerator:
An enumerator for logical child elements of this element.
Symbology
The BarCodeSymbology used to render the core bar code.
Methods
OnCreateAutomationPeer()
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
protected override AutomationPeer OnCreateAutomationPeer()
Returns
- AutomationPeer:
The type-specific AutomationPeer implementation.
Fields
CaptionProperty
Defines the Caption property.
public static readonly DependencyProperty CaptionProperty
CornerRadiusProperty
Defines the CornerRadius property.
public static readonly DependencyProperty CornerRadiusProperty
HasCaptionProperty
Defines the HasCaption property.
public static readonly DependencyProperty HasCaptionProperty
HasSymbologyProperty
Defines the HasSymbology property.
public static readonly DependencyProperty HasSymbologyProperty
SymbologyProperty
Defines the Symbology property.
public static readonly DependencyProperty SymbologyProperty