LEADTOOLS Multimedia (Leadtools.Multimedia assembly) Send comments on this topic. | Back to Introduction | Help Version 17.0.3.22
BackColor Property
See Also 
Leadtools.Multimedia Namespace > CaptureCtrl Class : BackColor Property



Gets or sets the background color for the control.

Syntax

Visual Basic (Declaration) 
Overrides Public Property BackColor As Color
Visual Basic (Usage)Copy Code
Dim instance As CaptureCtrl
Dim value As Color
 
instance.BackColor = value
 
value = instance.BackColor
C# 
public override Color BackColor {get; set;}
C++/CLI 
public:
property Color BackColor override {
   Color get();
   void set (    Color value);
}

Property Value

A System.Drawing.Color value.

Remarks

The BackColor property does not support transparent colors unless the SupportsTransparentBackColor value of System.Windows.Forms.ControlStyles is set to true. The BackColor property is an ambient property. An ambient property is a control property that, if not set, is retrieved from the parent control. For example, a Button will have the same BackColor as its parent Form by default.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also