BackColor Property
- Namespace
TXTextControl.WPF. Barcode
- Package
TXTextControl.asTextControl. WPF. SDK TXBarcode.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Gets or sets the background color for the barcode control. The default value is null and represents the color SystemColors.WindowColor.
Syntax
public Color? BackColor { get; set; }Public Property BackColor As Color?Examples
The following example uses TXBarcodeControl.BackColor to set the txbarcode control's background color. The configured value is checked before the workflow continues.
tXBarcodeControl.BackColor = System.Windows.Media.Colors.CornflowerBlue;
if (tXBarcodeControl.BackColor != null)
{
Console.WriteLine("TXBarcode Control: Back Color is available.");
}tXBarcodeControl.BackColor = System.Windows.Media.Colors.CornflowerBlue
If tXBarcodeControl.BackColor IsNot Nothing Then
Console.WriteLine("TXBarcode Control: Back Color is available.")
End If