Share via


Overview | Methods | Fields | This Package | All Packages

OverviewMethodsFieldsThis PackageAll Packages

Control.shouldPersistForeColor

Retrieves a boolean value indicating whether the background color for the control has been explicitly set.

Syntax

public boolean shouldPersistForeColor()

Return Value

Returns true if the foreground color for the control has been explicitly set; returns false if the control is using a default foreground color (either the foreground color set for its parent or the default window text color).