Microsoft SDK for Java

DataGrid.getSelectedForeColor

Retrieves the color for selected text in the grid.

Syntax

public Color getSelectedForeColor()

Return Value

Returns a Color object that represents the color for selected text in the grid.

Remarks

To determine the color of text when it is not selected, call getForeColor.

See Also   setSelectedForeColor

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