BackColor Property
- Namespace
TXTextControl.Barcode
- Package
TXTextControl.asTextControl. WinForms. SDK TXBarcode.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Gets or sets the background color for the barcode control. The default color is System.Drawing.SystemColors.Window.
Syntax
public Color BackColor { get; set; }Public Property BackColor As ColorExamples
The following example uses TXBarcodeControl.BackColor to set the txbarcode control's background color. The change is then applied to the active document or user interface.
tXBarcodeControl.BackColor = System.Drawing.Color.LightSteelBlue;
tXBarcodeControl.Update();tXBarcodeControl.BackColor = System.Drawing.Color.LightSteelBlue
tXBarcodeControl.Update()