MobileForms Toolkit Documentation

DetailView.ForeColor Property

Overridden. Gets or sets the foreground color of the control.

public override System.Drawing.Color ForeColor {get; set;}

Property Value

A Color that represents the control's foreground color.

Remarks

You can use the ForeColor property to change the color of the label and text in the Items if they have ForeColor set to , to match the same labe and text color of Items only from the one property. To change the background color of the control, use the BackColor property. When setting the ForeColor property of your Detail View control, ensure that the color you choose does not cause the text of the Items to disappear. For example, if the ForeColor and BackColor properties are both set to Color.Black, the text within your Items will not be visible, if they have BackColor and ForeColor property set to Color.Transparent.

See Also

DetailView Class | Resco.Controls.DetailView Namespace | Transparent