ComponentOne True DBGrid for WinForms
How to Use Styles / Applying Pictures to Grid Elements / Displaying Foreground Pictures
In This Topic
    Displaying Foreground Pictures
    In This Topic

    Use foreground pictures to add visual cues to static grid elements such as caption bars, column headers, and column footers.  Foreground Pictures are specified by the ForegroundImage property of the Style. Foreground pictures can be displayed beside some text or in place of it, but cannot be displayed over text.

    Foreground pictures have the ForeGroundPicturePosition property, which specifies where a foreground picture is situated in comparison to the cell text. The values and their representations are displayed as follows:

    Position Display
    Near

    Far

    LeftOfText

    RightOfText

    TopOfText

    BottomOfText

    PictureOnly

    TextOnly