Microsoft SDK for Java

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).

© 1999 Microsoft Corporation. All rights reserved. Terms of use.