Aracılığıyla paylaş


FormTreeControl.foregroundColor Method

Definition

Overloads

foregroundColor()

Gets or sets the color that is used for the text in the control.

foregroundColor(Int32)

foregroundColor()

Gets or sets the color that is used for the text in the control.

public:
 virtual int foregroundColor();
public virtual int foregroundColor ();
abstract member foregroundColor : unit -> int
override this.foregroundColor : unit -> int
Public Overridable Function foregroundColor () 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 0 (zero).
  • The maximum value for a single byte is 255.

Applies to

foregroundColor(Int32)

public:
 virtual int foregroundColor(int _value);
public virtual int foregroundColor (int _value);
abstract member foregroundColor : int -> int
override this.foregroundColor : int -> int
Public Overridable Function foregroundColor (_value As Integer) As Integer

Parameters

_value
Int32

Returns

Applies to