Skip to content

GridPaintManager Object Members

See Also

GridPaintManager Overview


Public Methods

Public Method RefreshMetrics
Public Method SetPreviewIndent
Initializes all drawing defaults (fonts, colors, etc.). Most of them are system defaults.
Sets the indentation for the preview text while in preview mode.


Public Properties

Public Property AllowMergeCells
Specifies whether to allow merged cells in the grid.

Public Property AlternativeBackgroundColor
Color used for alternating rows when UseAlternativeBackground is true.

Public Property BackColor
The background color of the grid control.

Public Property BaseParentRecordIndent
Gets or sets the initial number of pixels a parent node will be indented when in a group.

Public Property BaseTreeIndent
Specifies the indentation placed before the text of each child node in a hierarchical tree structure.

Public Property BoldText
Specifies whether the text is bold.

Public Property BoldTextHighlight
Specifies whether to highlight bold text.

Public Property CaptionBackColor
The background color of the column headers.

Public Property CaptionBackGradientColorDark
The "Dark" color in the color gradient used for the background color of "normal" column headers.

Public Property CaptionBackGradientColorLight
The "Light" color in the color gradient used for the background color of "normal" column headers.

Public Property CaptionFont
Font used to display the caption of GridColumn headers.

Public Property CaptionForeColor
The forecolor of the caption color of the column headers.

Public Property CleanTooltip
Specifies whether to display markup tooltips as normal text without markup tags or formatting.

Public Property CollapseText
Sets the tooltip displayed for a column with an expand button (PlusMinus) when in the collapsed state in the column header.

Public Property ColumnHotGradientColorDark
The "Dark" color in the color gradient used for the background color of "hot" column headers.

Public Property ColumnHotGradientColorLight
The "Light" color in the color gradient used for the background color of "hot" column headers.

Public Property ColumnOffice2007CustomThemeBaseColor
Gets or sets a custom color to use as the base color for the Office 2007 column style theme.

Public Property ColumnPlusMinusSign
Specifies whether to use a "+/-" button instead of an arrow button in the column header when a column is collapsible.

Public Property ColumnPushedGradientColorDark
The "Dark" color in the color gradient used for the background color of "pushed" column headers.

Public Property ColumnPushedGradientColorLight
The "Light" color in the color gradient used for the background color of "pushed" column headers.

Public Property ColumnShadowGradient
The color used to draw the shadow of a column.

Public Property ColumnStyle
Stores the style used to display GridColumn headers.

Public Property ColumnWidthWYSIWYG
Allows the grid to be printed as seen (WYSIWYG).

Public Property CompactText
Gets or sets whether multi-line rows are allowed.

Public Property DrawGridForEmptySpace
Gets or sets whether grid lines will be drawn after the body of rows to fill the empty space.

Public Property DrawSortTriangleAlways
Specifies when the sort triangle is drawn.

Public Property DrawSortTriangleStyle
Specifies the style of the column sort triangle when the column is sorted.

Public Property ExpandText
Sets the tooltip displayed for a column with an expand button (PlusMinus) when in the expanded state in the column header.

Public Property FixedInplaceButtonHeight
Specifies whether the paint manager supports fixed height of in-place buttons.

Public Property FixedRowHeight
Gets or sets the height of the rows.

Public Property FooterRowsDividerColor
Gets or sets the color of the footer divider lines.

Public Property FooterRowsDividerStyle
Gets or sets the style of the footer divider lines.

Public Property ForceDynamicMarkupForCell
Forces markup rendering for item captions in Virtual Mode.

Public Property ForceShowDropMarker
Specifies whether to force the Show Drop Marker when dragging and dropping.

Public Property ForceShowTooltip
Specifies whether to force tooltips to always be displayed, even when not normally needed.

Public Property ForeColor
The foreground color of the grid control.

Public Property FormulaSubSumColor
Gets or sets the color for Formula SubSum fields.

Public Property FormulaSumColor
Gets or sets the color for Formula Sum fields.

Public Property FreezeColsDividerColor
Color of the freeze column divider.

Public Property FreezeColsDividerStyle
Style of the freeze column divider.

Public Property Glyphs
Returns a point to an additional image list with Glyphs.

Public Property GrayIfDisable
Specifies whether to draw the grid using "normal" colors or standard Windows disabled colors when the Grid control is disabled.

Public Property GridLineColor
The color used to draw grid lines.

Public Property GroupBoxBackColor
The background color of the "Group By" box.

Public Property GroupByNoItemsTextColor
Color used to display the "No Items" text message displayed in the "Group By" box when no groups are added.

Public Property GroupForeColor
The color of text in group rows.

Public Property GroupGridLineHeight
Gets or sets the height of the group grid lines.

Public Property GroupIndentColor
The color of the group indent shading.

Public Property GroupRowTextBold
Gets or sets whether the text displayed in group rows will be displayed in bold type.

Public Property GroupShadeBackColor
The color used to shade group headings when ShadeGroupHeadings is True.

Public Property GroupShadeBorderColor
The color used to draw the grid line border of group rows when ShadeGroupHeadings is True.

Public Property GroupShadeForeColor
The text color of text displayed in Group Rows when ShadeGroupHeadings is True.

Public Property HeaderHeight
Specifies the height of the column headers of the grid.

Public Property HeaderRowsDividerColor
Gets or sets the color of the header divider lines.

Public Property HeaderRowsDividerStyle
Gets or sets the style of the header divider lines.

Public Property HideSelection
Determines whether the selected rows will remain shaded when the GridControl loses focus.

Public Property HighlightBackColor
The background color used for selected rows.

Public Property HighlightForeColor
The foreground color used for selected rows.

Public Property HorizontalGridStyle
Style used to draw horizontal grid lines.

Public Property HotDividerColor
Gets or sets the color of the arrows used to show where a column can be dropped when dragging a column header.

Public Property HotTracking
Gets or sets whether hot tracking is used while moving the mouse over the column header when using the "Explorer" or "Office 2003" styles.

Public Property HyperlinkHoverStyle
Gets or sets the style for hovered hyperlinks.

Public Property HyperlinkStyle
Gets or sets the style for hyperlinks.

Public Property InvertColumnOnClick
Gets or sets whether the column header will appear "inverted" when clicked.

Public Property LastColumnWidthWYSIWYG
Specifies whether to print the black rectangle around the grid.

Public Property MaxPreviewLines
The maximum number of lines of the PreviewText that will be displayed while in PreviewMode.

Public Property MoveScrollbarOnFixedColumnsIndent
Specifies whether to place the scrollbar only under the scrollable columns when FreezeColumnsCount is used and AutoColumnSizing is False.

Public Property NoFieldsAvailableText
The "No Fields Available" text message displayed in the Field Chooser when no Column Headers are present.

Public Property NoGroupByText
The "No Group By" text message displayed in the "Group By" box when no groups are added.

Public Property NoItemsText
The "No Items" text message displayed in the GridControl when there are no visible rows.

Public Property PreviewTextColor
The color of the Preview Text.

Public Property PreviewTextFont
Font used to display the PreviewTextFont of a GridRecord while in PreviewMode.

Public Property PrintPageRectangle
Gets or sets the rectangle for the print page.

Public Property PrintWatermark
Specifies whether to print the watermark of the grid (if a watermark is used).

Public Property RecOrRowNumber
Specifies whether the number column gets sorted (displays record number) or are "set in stone" and never move (displays row number).

Public Property RevertAlignment
Reverts the alignment of column content.

Public Property SelectedRowBackColor
Gets or sets the selected row background color.

Public Property SelectedRowForeColor
Gets or sets the selected row text color.

Public Property ShadeGroupHeadings
Specifies whether group headings in the GridControl will be shaded.

Public Property ShadeSortColor
Specifies the color used to shade sorted columns.

Public Property ShadeSortColumn
Specifies whether the GridRecordItems of a sorted column will be shaded.

Public Property ShowLockIcon
Specifies whether to show a lock icon in cells that had Editable = False when the grid is editable (AllowEdit = True).

Public Property ShowNonActiveInPlaceButton
Specifies whether to show NonActive InPlace Buttons (Combo, Expand, Spin) all the time.

Public Property ShowWYSIWYGMarkers
Specifies whether to show or hide the page marker when using ColumnWidthWYSIWYG after printing.

Public Property SortByDecreasingText
Gets or sets the text added to a column's tooltip when it is sorted (decreasing).

Public Property SortByIncreasingText
Gets or sets the text added to a column's tooltip when it is sorted (increasing).

Public Property SortByText
Gets or sets a string which contains customized "Sort By" text for displaying in sortable column header tooltips.

Public Property SortTriangleOffsetFromRight
Gets or sets the number of pixels the sort arrow will be drawn from the right edge of the column header.

Public Property StartRecOrRowNumber
Specifies the starting row number for the number column if used.

Public Property TextFont
Font used to display the text of the GridRecordItems.

Public Property TextIndentForGroupRowsWithNoIcon
Gets or sets the text indent for group rows if no group icon is used.

Public Property ThemedInplaceButtons
Specifies whether in-place buttons will be themed.

Public Property TreeColumnLineLength
Gets or sets the extra line length to apply to tree column lines if there is no expand button.

Public Property TreeIndent
Specifies the indentation placed before the text of each child node in a hierarchical tree structure.

Public Property TreeStructureStyle
Specifies the style of lines drawn when using a hierarchical tree structure.

Public Property UseAlternativeBackground
Specifies whether to alternate the background color of the rows.

Public Property UseColumnTextAlignment
Specifies whether the text in the column header will use the GridColumn.Alignment setting to align the header caption.

Public Property UseDropMarker
Specifies whether to show drop markers (red insertion lines) while dragging something into the grid.

Public Property UseEditTextAlignment
Specifies whether the GridColumn.Alignment setting is automatically applied to items when in edit mode.

Public Property UseGroupRowSelectionState
Specifies whether to add a "selection" checkbox in the group row next to the expand/collapse button that indicates the selection status of child records.

Public Property UseShellIcon
Specifies whether to show a lock icon in cells that had Editable = False when the grid is editable (AllowEdit = True). This property will use the lock icon from SHELL32.DLL.

Public Property UseUpperCaseCaptions
Specifies whether to use upper case captions.

Public Property VerticalGridStyle
Style used to draw vertical grid lines.


See Also

GridPaintManager Overview


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.