GridPaintManager Object Members
See Also
Public Methods
RefreshMetrics
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
AllowMergeCells
Specifies whether to allow merged cells in the grid.
AlternativeBackgroundColor
Color used for alternating rows when UseAlternativeBackground is true.
BackColor
The background color of the grid control.
BaseParentRecordIndent
Gets or sets the initial number of pixels a parent node will be indented when in a group.
BaseTreeIndent
Specifies the indentation placed before the text of each child node in a hierarchical tree structure.
BoldText
Specifies whether the text is bold.
BoldTextHighlight
Specifies whether to highlight bold text.
CaptionBackColor
The background color of the column headers.
CaptionBackGradientColorDark
The "Dark" color in the color gradient used for the background color of "normal" column headers.
CaptionBackGradientColorLight
The "Light" color in the color gradient used for the background color of "normal" column headers.
CaptionFont
Font used to display the caption of GridColumn headers.
CaptionForeColor
The forecolor of the caption color of the column headers.
CleanTooltip
Specifies whether to display markup tooltips as normal text without markup tags or formatting.
CollapseText
Sets the tooltip displayed for a column with an expand button (PlusMinus) when in the collapsed state in the column header.
ColumnHotGradientColorDark
The "Dark" color in the color gradient used for the background color of "hot" column headers.
ColumnHotGradientColorLight
The "Light" color in the color gradient used for the background color of "hot" column headers.
ColumnOffice2007CustomThemeBaseColor
Gets or sets a custom color to use as the base color for the Office 2007 column style theme.
ColumnPlusMinusSign
Specifies whether to use a "+/-" button instead of an arrow button in the column header when a column is collapsible.
ColumnPushedGradientColorDark
The "Dark" color in the color gradient used for the background color of "pushed" column headers.
ColumnPushedGradientColorLight
The "Light" color in the color gradient used for the background color of "pushed" column headers.
ColumnShadowGradient
The color used to draw the shadow of a column.
ColumnStyle
Stores the style used to display GridColumn headers.
ColumnWidthWYSIWYG
Allows the grid to be printed as seen (WYSIWYG).
CompactText
Gets or sets whether multi-line rows are allowed.
DrawGridForEmptySpace
Gets or sets whether grid lines will be drawn after the body of rows to fill the empty space.
DrawSortTriangleAlways
Specifies when the sort triangle is drawn.
DrawSortTriangleStyle
Specifies the style of the column sort triangle when the column is sorted.
ExpandText
Sets the tooltip displayed for a column with an expand button (PlusMinus) when in the expanded state in the column header.
FixedInplaceButtonHeight
Specifies whether the paint manager supports fixed height of in-place buttons.
FixedRowHeight
Gets or sets the height of the rows.
FooterRowsDividerColor
Gets or sets the color of the footer divider lines.
FooterRowsDividerStyle
Gets or sets the style of the footer divider lines.
ForceDynamicMarkupForCell
Forces markup rendering for item captions in Virtual Mode.
ForceShowDropMarker
Specifies whether to force the Show Drop Marker when dragging and dropping.
ForceShowTooltip
Specifies whether to force tooltips to always be displayed, even when not normally needed.
ForeColor
The foreground color of the grid control.
FormulaSubSumColor
Gets or sets the color for Formula SubSum fields.
FormulaSumColor
Gets or sets the color for Formula Sum fields.
FreezeColsDividerColor
Color of the freeze column divider.
FreezeColsDividerStyle
Style of the freeze column divider.
Glyphs
Returns a point to an additional image list with Glyphs.
GrayIfDisable
Specifies whether to draw the grid using "normal" colors or standard Windows disabled colors when the Grid control is disabled.
GridLineColor
The color used to draw grid lines.
GroupBoxBackColor
The background color of the "Group By" box.
GroupByNoItemsTextColor
Color used to display the "No Items" text message displayed in the "Group By" box when no groups are added.
GroupForeColor
The color of text in group rows.
GroupGridLineHeight
Gets or sets the height of the group grid lines.
GroupIndentColor
The color of the group indent shading.
GroupRowTextBold
Gets or sets whether the text displayed in group rows will be displayed in bold type.
GroupShadeBackColor
The color used to shade group headings when ShadeGroupHeadings is True.
GroupShadeBorderColor
The color used to draw the grid line border of group rows when ShadeGroupHeadings is True.
GroupShadeForeColor
The text color of text displayed in Group Rows when ShadeGroupHeadings is True.
HeaderHeight
Specifies the height of the column headers of the grid.
HeaderRowsDividerColor
Gets or sets the color of the header divider lines.
HeaderRowsDividerStyle
Gets or sets the style of the header divider lines.
HideSelection
Determines whether the selected rows will remain shaded when the GridControl loses focus.
HighlightBackColor
The background color used for selected rows.
HighlightForeColor
The foreground color used for selected rows.
HorizontalGridStyle
Style used to draw horizontal grid lines.
HotDividerColor
Gets or sets the color of the arrows used to show where a column can be dropped when dragging a column header.
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.
HyperlinkHoverStyle
Gets or sets the style for hovered hyperlinks.
HyperlinkStyle
Gets or sets the style for hyperlinks.
InvertColumnOnClick
Gets or sets whether the column header will appear "inverted" when clicked.
LastColumnWidthWYSIWYG
Specifies whether to print the black rectangle around the grid.
MaxPreviewLines
The maximum number of lines of the PreviewText that will be displayed while in PreviewMode.
MoveScrollbarOnFixedColumnsIndent
Specifies whether to place the scrollbar only under the scrollable columns when FreezeColumnsCount is used and AutoColumnSizing is False.
NoFieldsAvailableText
The "No Fields Available" text message displayed in the Field Chooser when no Column Headers are present.
NoGroupByText
The "No Group By" text message displayed in the "Group By" box when no groups are added.
NoItemsText
The "No Items" text message displayed in the GridControl when there are no visible rows.
PreviewTextColor
The color of the Preview Text.
PreviewTextFont
Font used to display the PreviewTextFont of a GridRecord while in PreviewMode.
PrintPageRectangle
Gets or sets the rectangle for the print page.
PrintWatermark
Specifies whether to print the watermark of the grid (if a watermark is used).
RecOrRowNumber
Specifies whether the number column gets sorted (displays record number) or are "set in stone" and never move (displays row number).
RevertAlignment
Reverts the alignment of column content.
SelectedRowBackColor
Gets or sets the selected row background color.
SelectedRowForeColor
Gets or sets the selected row text color.
ShadeGroupHeadings
Specifies whether group headings in the GridControl will be shaded.
ShadeSortColor
Specifies the color used to shade sorted columns.
ShadeSortColumn
Specifies whether the GridRecordItems of a sorted column will be shaded.
ShowLockIcon
Specifies whether to show a lock icon in cells that had Editable = False when the grid is editable (AllowEdit = True).
ShowNonActiveInPlaceButton
Specifies whether to show NonActive InPlace Buttons (Combo, Expand, Spin) all the time.
ShowWYSIWYGMarkers
Specifies whether to show or hide the page marker when using ColumnWidthWYSIWYG after printing.
SortByDecreasingText
Gets or sets the text added to a column's tooltip when it is sorted (decreasing).
SortByIncreasingText
Gets or sets the text added to a column's tooltip when it is sorted (increasing).
SortByText
Gets or sets a string which contains customized "Sort By" text for displaying in sortable column header tooltips.
SortTriangleOffsetFromRight
Gets or sets the number of pixels the sort arrow will be drawn from the right edge of the column header.
StartRecOrRowNumber
Specifies the starting row number for the number column if used.
TextFont
Font used to display the text of the GridRecordItems.
TextIndentForGroupRowsWithNoIcon
Gets or sets the text indent for group rows if no group icon is used.
ThemedInplaceButtons
Specifies whether in-place buttons will be themed.
TreeColumnLineLength
Gets or sets the extra line length to apply to tree column lines if there is no expand button.
TreeIndent
Specifies the indentation placed before the text of each child node in a hierarchical tree structure.
TreeStructureStyle
Specifies the style of lines drawn when using a hierarchical tree structure.
UseAlternativeBackground
Specifies whether to alternate the background color of the rows.
UseColumnTextAlignment
Specifies whether the text in the column header will use the GridColumn.Alignment setting to align the header caption.
UseDropMarker
Specifies whether to show drop markers (red insertion lines) while dragging something into the grid.
UseEditTextAlignment
Specifies whether the GridColumn.Alignment setting is automatically applied to items when in edit mode.
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.
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.
UseUpperCaseCaptions
Specifies whether to use upper case captions.
VerticalGridStyle
Style used to draw vertical grid lines.
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.