SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Paints the cell.
Class: CellClass
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET
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 )
g
Defines the drawing surface to render the cell.
rCell
Defines the rectangle of the area where the cell is to be rendered.
fAlwaysVisible
Defines whether all parts of the cell 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.
Paints the cell.
This method is used to render a cell on the specified drawing surface. This could be used by an application to render a cell 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 cell being designed on the dialog.
See Also CellClass Class | Classes | SftTree/NET 2.0