Class
RadBarcode

UI control for creating and visualizing barcodes in a machine-readable format.

Definition

Namespace:Telerik.UI.Xaml.Controls.DataVisualization

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class RadBarcode : RadControl

Inheritance: objectRadControlRadBarcode

Inherited Members RadControl.EndVisualStateUpdate(bool, bool)RadControl.UpdateVisualState(bool)RadControl.BeginVisualStateUpdate()RadControl.SetVisualState(string, bool)RadControl.CanUpdateVisualState()RadControl.ComposeVisualStateName()RadControl.ArrangeOverride(Size)RadControl.UnapplyTemplateCore()RadControl.OnIsEnabledChanged(bool, bool)RadControl.OnTemplateApplied()RadControl.ApplyTemplateCore()RadControl.LoadCore()RadControl.OnLoaded()RadControl.UnloadCore()RadControl.CurrentVisualStateRadControl.IsLoadedRadControl.IsLoadingRadControl.IsUnloadedRadControl.WasUnloadedRadControl.IsTemplateApplied

Constructors

RadBarcode()

Initializes a new instance of the RadBarcode class.

Declaration

cs-api-definition
public RadBarcode()

Fields

ErrorMessageProperty

Registers the ErrorMessage dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ErrorMessageProperty

Field Value

DependencyProperty

IsValidProperty

Registers the IsValid dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsValidProperty

Field Value

DependencyProperty

SymbologyProperty

Registers the Symbology dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SymbologyProperty

Field Value

DependencyProperty

ValueProperty

Registers the Value dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ValueProperty

Field Value

DependencyProperty

Properties

ErrorMessage

Gets a string value representing the reason why the barcode is invalid.

Declaration

cs-api-definition
public string ErrorMessage { get; }

Property Value

string

IsValid

Gets a value indicating whether the barcode has valid Value for the current symbology.

Declaration

cs-api-definition
public bool IsValid { get; }

Property Value

bool

Symbology

Gets or sets the Sybology of the barcode.

Declaration

cs-api-definition
public SymbologyBase Symbology { get; set; }

Property Value

SymbologyBase

Value

Gets or sets the string value of the barcode.

Declaration

cs-api-definition
public string Value { get; set; }

Property Value

string

Methods

MeasureOverride(Size)

Called in the measure layout pass to determine the desired size.

Declaration

cs-api-definition
protected override Size MeasureOverride(Size availableSize)

Parameters

availableSize

Size

The available size that was given by the layout system.

Returns

Size

Overrides RadControl.MeasureOverride(Size)

OnApplyTemplate()

Invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate.

Declaration

cs-api-definition
protected override void OnApplyTemplate()

Overrides RadControl.OnApplyTemplate()

OnCreateAutomationPeer()

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

Overrides RadControl.OnCreateAutomationPeer()