FormMenuButtonControl.backgroundColor Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
backgroundColor() |
Gets or sets the background color of the control. |
backgroundColor(Int32) |
backgroundColor()
Gets or sets the background color of the control.
public:
virtual int backgroundColor();
public virtual int backgroundColor ();
abstract member backgroundColor : unit -> int
override this.backgroundColor : unit -> int
Public Overridable Function backgroundColor () As Integer
Returns
An integer that contains a packed RGB color.
Remarks
The integer that is returned contains a packed RGB color as follows:
- The low-order byte contains a value for the relative intensity of red.
- The second byte contains a value for green.
- The third byte contains a value for blue.
- The high-order byte must be zero.
- The maximum value for a single byte is 255.
Applies to
backgroundColor(Int32)
public:
virtual int backgroundColor(int _value);
public virtual int backgroundColor (int _value);
abstract member backgroundColor : int -> int
override this.backgroundColor : int -> int
Public Overridable Function backgroundColor (_value As Integer) As Integer
Parameters
- _value
- Int32