BackColor Property

Summary

Gets or sets the background color for the control.

Syntax
C#
VB
C++
public override Color BackColor { get; set; } 
Public Overrides Property BackColor As Color 
public: 
property Color BackColor { 
   Color get() override; 
   void set (    Color ) override; 
} 

Property Value

A System.Drawing.Color value representing the background color.

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

See Also

Reference

PlayCtrl Class

PlayCtrl Members

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.MediaFoundation Assembly