Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

Paint Method, RowHeaderClass Class

Paints the row header.

Class: RowHeaderClass
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET

Syntax

public void Paint(
    Graphics g,
    Rectangle rCell,
    bool fAlwaysVisible );
public new void Paint(
    Graphics g,
    Rectangle rCell,
    bool fAlwaysVisible,
    GenericPartClass HighlightPart );
Public Sub Paint(
    ByVal g As Graphics,
    ByVal rCell As Rectangle,
    ByVal fAlwaysVisible As Boolean )
Public Overrides Sub Paint(
    ByVal g As Graphics,
    ByVal rCell As Rectangle,
    ByVal fAlwaysVisible As Boolean,
    ByVal HighlightPart As GenericPartClass )

Parameters

g

Defines the drawing surface to render the row header.

rCell

Defines the rectangle of the area where the row header is to be rendered.

fAlwaysVisible

Defines whether all parts of the row header are to be visible even if they are normally hidden.

HighlightPart

Defines the cell part to highlight (using SystemColors.Highlight). Specify null/Nothing if no part is to be highlighted.

Comments

Paints the row header.

This method is used to render a row header on the specified drawing surface. This could be used by an application to render a row header elsewhere, possibly a status bar or in an informational or error message dialog.

For example, our cell editing dialog, used at design time, uses the Paint method to display the current row header being designed on the dialog.

See Also RowHeaderClass Class | Classes | SftTree/NET 2.0



Spring Break!

Our offices will be closed this week (March 18 through March 22).

We'll be back March 24 to address any pending sales and support issues.