Spread Windows Forms 6.0 Product Documentation
PaintRangeGroupButton Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > GradientInterfaceRenderer Class : PaintRangeGroupButton Method


g
Graphics device interface for painting the button
x
X-coordinate
y
Y-coordinate
width
Width, in pixels
height
Height, in pixels
groupState
State of the outline (range group)
rowGroup
Whether this outline (range group) is of rows
isLeftToRight
Whether it is set to right-to-left

Glossary Item Box

Paints the outline (range group) button.

Syntax

Visual Basic (Declaration) 
Public Sub PaintRangeGroupButton( _
   ByVal g As Graphics, _
   ByVal x As Integer, _
   ByVal y As Integer, _
   ByVal width As Integer, _
   ByVal height As Integer, _
   ByVal groupState As GroupState, _
   ByVal rowGroup As Boolean, _
   ByVal isLeftToRight As Boolean _
) 
Visual Basic (Usage)Copy Code
Dim instance As GradientInterfaceRenderer
Dim g As Graphics
Dim x As Integer
Dim y As Integer
Dim width As Integer
Dim height As Integer
Dim groupState As GroupState
Dim rowGroup As Boolean
Dim isLeftToRight As Boolean
 
instance.PaintRangeGroupButton(g, x, y, width, height, groupState, rowGroup, isLeftToRight)
C# 
public void PaintRangeGroupButton( 
   Graphics g,
   int x,
   int y,
   int width,
   int height,
   GroupState groupState,
   bool rowGroup,
   bool isLeftToRight
)

Parameters

g
Graphics device interface for painting the button
x
X-coordinate
y
Y-coordinate
width
Width, in pixels
height
Height, in pixels
groupState
State of the outline (range group)
rowGroup
Whether this outline (range group) is of rows
isLeftToRight
Whether it is set to right-to-left

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.