Spread Windows Forms 7.0 Product Documentation
PaintSortIndicator Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > ColumnHeaderRenderer Class : PaintSortIndicator Method


g
Graphics device interface for painting the indicator
r
Location and size of the rectangular region in which to paint the indicator
appearance
Appearance settings of the indicator
zoomFactor
Numeric value for scaling the display of the indicator

Glossary Item Box

Paints the sorting indicator in the column header with the specified appearance settings.

Syntax

Visual Basic (Declaration) 
Public Overridable Sub PaintSortIndicator( _
   ByVal g As Graphics, _
   ByVal r As Rectangle, _
   ByVal appearance As Appearance, _
   ByVal zoomFactor As Single _
) 
Visual Basic (Usage)Copy Code
Dim instance As ColumnHeaderRenderer
Dim g As Graphics
Dim r As Rectangle
Dim appearance As Appearance
Dim zoomFactor As Single
 
instance.PaintSortIndicator(g, r, appearance, zoomFactor)
C# 
public virtual void PaintSortIndicator( 
   Graphics g,
   Rectangle r,
   Appearance appearance,
   float zoomFactor
)

Parameters

g
Graphics device interface for painting the indicator
r
Location and size of the rectangular region in which to paint the indicator
appearance
Appearance settings of the indicator
zoomFactor
Numeric value for scaling the display of the indicator

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.