Skip to main content

BarCodePropertyProvider.CharacterSet Property

Gets or sets the charset type for the barcode. This is a dependency property.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v23.2.dll

NuGet Package: DevExpress.Wpf.Core


public Code128Charset CharacterSet { get; set; }

Property Value

Type Description

A Code128Charset enumeration value that specifies a charset to be used.

Available values:

Name Description

Includes ASCII characters 00 to 95 (0-9, A-Z and control codes), special characters and FNC 1 (code that is used for special purposes).


Includes ASCII characters 32 to 127 (0–9, A–Z, a–z), special characters, and FNC 1 (code that is used for special purposes).


Includes ASCII digit strings (00-99) and FNC 1 (code that is used for special purposes).


Uses A, B and C character sets and switches between them automatically according to bar code text.


Use the CharacterSet property to specify the set of symbols which can be used when setting the EditValue property of a Code 128 barcode. If the characters specified in the EditValue property are not allowed by the charset, the corresponding error message will be shown within the barcode. If the CharacterSet property is set to Code128Charset.CharsetAuto, the char sequence is coded using all three character sets, and it switches between them automatically when required.

See Also