Spread Windows Forms 6.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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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