BCGSoft.Controls.Grid Namespace > GridControl Class : DrawColumnHeader Method |
'Declaration Public Function DrawColumnHeader( _ ByVal grph As Graphics, _ ByVal bounds As Rectangle, _ ByVal text As String, _ ByVal image As Image, _ ByVal style As GridCellVisualStyle, _ ByVal markSelection As Boolean, _ ByVal showSelectedState As Boolean, _ ByVal highlighted As Boolean, _ ByVal firstVisibleColumn As Boolean, _ ByVal sortMarker As IMAGES_IDS, _ ByVal calcOnly As Boolean, _ ByVal column As GridColumn, _ ByVal isGroupArea As Boolean _ ) As Size
'Usage Dim instance As GridControl Dim grph As Graphics Dim bounds As Rectangle Dim text As String Dim image As Image Dim style As GridCellVisualStyle Dim markSelection As Boolean Dim showSelectedState As Boolean Dim highlighted As Boolean Dim firstVisibleColumn As Boolean Dim sortMarker As IMAGES_IDS Dim calcOnly As Boolean Dim column As GridColumn Dim isGroupArea As Boolean Dim value As Size value = instance.DrawColumnHeader(grph, bounds, text, image, style, markSelection, showSelectedState, highlighted, firstVisibleColumn, sortMarker, calcOnly, column, isGroupArea)
public Size DrawColumnHeader( Graphics grph, Rectangle bounds, string text, Image image, GridCellVisualStyle style, bool markSelection, bool showSelectedState, bool highlighted, bool firstVisibleColumn, IMAGES_IDS sortMarker, bool calcOnly, GridColumn column, bool isGroupArea )
public: Size DrawColumnHeader( Graphics* grph, Rectangle bounds, string* text, Image* image, GridCellVisualStyle* style, bool markSelection, bool showSelectedState, bool highlighted, bool firstVisibleColumn, IMAGES_IDS sortMarker, bool calcOnly, GridColumn* column, bool isGroupArea )
public: Size DrawColumnHeader( Graphics^ grph, Rectangle bounds, String^ text, Image^ image, GridCellVisualStyle^ style, bool markSelection, bool showSelectedState, bool highlighted, bool firstVisibleColumn, IMAGES_IDS sortMarker, bool calcOnly, GridColumn^ column, bool isGroupArea )
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