BCGControlBar Library for .NET
DrawPreviewPane Method




Graphics context.
Text bounding rectangle.
Background bounding rectangle.
Preview Pane Visual Style.
Text to display.
Called to draw Preview Pane.
Syntax
'Declaration
 
Public Sub DrawPreviewPane( _
   ByVal grph As Graphics, _
   ByVal boundsText As Rectangle, _
   ByVal boundsBack As Rectangle, _
   ByVal visualStyle As GridCellVisualStyle, _
   ByVal paneText As String _
) 
'Usage
 
Dim instance As GridControl
Dim grph As Graphics
Dim boundsText As Rectangle
Dim boundsBack As Rectangle
Dim visualStyle As GridCellVisualStyle
Dim paneText As String
 
instance.DrawPreviewPane(grph, boundsText, boundsBack, visualStyle, paneText)
public void DrawPreviewPane( 
   Graphics grph,
   Rectangle boundsText,
   Rectangle boundsBack,
   GridCellVisualStyle visualStyle,
   string paneText
)
public: void DrawPreviewPane( 
   Graphics* grph,
   Rectangle boundsText,
   Rectangle boundsBack,
   GridCellVisualStyle* visualStyle,
   string* paneText
) 
public:
void DrawPreviewPane( 
   Graphics^ grph,
   Rectangle boundsText,
   Rectangle boundsBack,
   GridCellVisualStyle^ visualStyle,
   String^ paneText
) 

Parameters

grph
Graphics context.
boundsText
Text bounding rectangle.
boundsBack
Background bounding rectangle.
visualStyle
Preview Pane Visual Style.
paneText
Text to display.
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

Reference

GridControl Class
GridControl Members

Send Feedback