←Select platform

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.

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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.MediaFoundation Assembly