Share via


Overview | Methods | Fields | This Package | All Packages

OverviewMethodsFieldsThis PackageAll Packages

Control.shouldPersistBackColor

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

Syntax

public boolean shouldPersistBackColor()

Return Value

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