Skip to content

TrackControl Control Members

See Also


Public Methods

Method Description
AboutBox Displays a dialog box that indicates the current version of the control.
AddRecord Adds a record to the grid.
AddRecordEx Adds a record to the records collection and associates a row with it.
AddRecordEx2 Adds a record to the records collection and associates a row with it.
AddRecordEx3 Adds a record to the records collection and associates a row with it.
ClearContent Clears all memory from the grid.
CollapseAll Collapses all rows.
Copy Copies the data (Binary and Text formats) from all currently selected records to the clipboard. Selected records remain.
CreateIconViewAndRowNumberColumn Convenience method that combines creating an IconView column and a Row Number column.
CreateIconViewColumn Creates an icon column to be used in IconView.
CreatePrintView Allows CommandBars' PrintPreview control to be used to display the Grid (when CommandBars is used).
CreateRecords Creates an empty GridRecords collection.
CreateRecordsFromDropArray Creates a GridRecords collection object from a ByteArray (used for drop operations).
CreateRowNumberColumn Creates a row number column.
CreateTrackItem Creates a TrackControlItem (Track) that can be added to the Track Control.
Cut Copies the data (Binary and Text formats) from all currently selected records to the clipboard and removes the selected records.
DoPropExchange Exchanges layout and state information to/from a PropExchange object.
DragRecords Prepares records to be dropped into the GridControl (drag source handling).
EditItem Sets focus to a specific row and column so the item can be edited.
EnableDragDrop Enables or disables drag-and-drop support.
EnableToolTips Enables or disables the use of tool tips in the GridControl.
ExpandAll Expands all rows that are collapsed but have children.
GetElementRect Retrieves a rectangle for a specified grid element.
HitTest Returns hit-test information for a given X and Y pixel on the screen.
IconViewRowNumberSetup Combines IconView setup and row-number display settings (convenience).
IconViewSetup Configures IconView parameters and the icon used for all items in IconView.
InsertRecord Inserts a record into the grid at a specified position.
IsShowIconWhenEditing Determines whether item icons are displayed while the item is being edited.
LoadSettings Loads GridColumn settings of the GridControl from a string.
Paste Reads records from the clipboard and adds them to the records collection.
Populate Populates the GridControl's Rows collection with data from the GridRecords.
PopulateFooterRows Performs the control's footer rows population, creating the view from the data.
PopulateHeaderRows Performs the control's header rows population, creating the view from the data.
PrintGrid Prints the current Grid view.
PrintGrid2 Prints the Grid view with an option to print immediately without dialogs or an HDC handle.
PrintPreview Displays a print preview window.
PrintPreviewExt Runs print preview in non-maximized mode with given screen position and size.
ReCalc Recalculates a Formula for an item.
Redraw Redraws the GridControl.
ReleaseSort Releases applied sorting.
RemoveRecordEx Removes a GridRecord from the grid.
RemoveRowEx Removes a row in the grid by specifying the attached record.
SaveSettings Saves GridColumn settings of the GridControl to a string.
SetCustomDraw Specifies which custom draw events should be executed when rows and items are drawn.
SetFieldChooserHandle Associates a FieldChooser control with the GridControl.
SetIconViewToDefaults Resets all IconView parameters to their defaults (use after Clear/DeleteAll columns/rows).
SetImageList Associates an ImageList with the GridControl.
SetScrollBars Sets custom ScrollBars from the SuitePackage to be used by the GridControl.
SetVirtualMode Enables virtual mode for the GridControl.
SetWatermarkBitmap Sets a watermark bitmap to be shown in the GridControl background from a resource.
SetWatermarkBitmapFromFile Sets a watermark bitmap to be shown in the GridControl background from a BMP file.
ShowIconWhenEditing Specifies whether icons are shown while an item is being edited.
ShowPrintPageSetup Displays a custom "Page Setup" print dialog for the Grid.
ShowRowNumber Shows a column that displays row numbers.
UnSort Removes sorting (clears sort order).
UpdateRecord Updates a modified record to reflect the current grouping and sorting.

Public Properties

Property Description
AllowBlockMove Specifies whether the user can move blocks and keys (Track Control).
AllowBlockRemove Specifies whether the user can remove/move blocks from a track (Track Control).
AllowBlockScale Specifies whether the user can resize a block (Track Control).
AllowColumnRemove Specifies whether GridColumns can be removed from the GridControl.
AllowColumnReorder Specifies whether GridColumns can be reordered in the GridControl.
AllowColumnResize Specifies whether GridColumns can be resized.
AllowColumnSort Specifies whether GridColumns can be sorted.
AllowEdit Allows text in all GridRecordItems to be edited.
AllowEditPreview Allows preview rows to be edited by the user.
AllowSelectionCheck Specifies whether a check box can be toggled with the right mouse button.
AutoColumnSizing Specifies whether AutoColumnSizing should be used.
AutoVScrollTimerResolution Gets or sets the vertical scrolling timer resolution.
BorderStyle The type of border style around the GridControl.
CanCopy Indicates whether a Copy operation can be performed.
CanCut Indicates whether a Cut operation can be performed.
CanPaste Indicates whether a Paste operation can be performed.
Columns The GridControl's collection of GridColumn objects.
CustomTitle Custom title used for unique identification (e.g., PrintJob name).
DataManager Gets or sets the grid data manager.
DesktopTrackerMode Enables Vista Tracker Mode to fix desktop flicker.
DisableReorderColumnsCount Number of columns at the left where reordering is disabled.
EditMode Indicates whether the in-place edit control is currently active (visible/focused).
EditOnClick Determines whether a GridRecordItem can be edited by single-clicking.
EditOnDelayClick Enables/disables the delayed-click edit feature (like Windows Explorer rename).
EditOnDoubleClick Specifies whether a GridRecordItem can be edited by double-clicking.
Enabled Gets or sets whether the GridControl responds to user interaction.
EnableMarkup Enables the use of XAML (markup) for rendering text.
EnsureFocusedRowVisible Ensures the focused row is scrolled into view when set.
FastDeselectMode Allows quickly deselecting all selected rows with a mouse click.
FieldChooser Associates a FieldChooser control with the GridControl.
FilterHiddenColumns Specifies whether to search filter text in hidden columns.
FilterSeparatorStrict Specifies whether text filtering uses strict separators.
FilterText Filters rows in the GridControl by one or more text strings.
FlexibleDrag Enables/disables flexible dragging of blocks in the Track Control.
FocusedColumn Returns a reference to the column that contains the currently focused GridRecordItem.
FocusedRow Returns a reference to the row that currently has focus in the GridControl.
FocusSubItems Specifies whether individual sub-items show focus when clicked.
FooterRecords Returns the collection of footer records.
FooterRows Returns the collection of grid footer rows.
FooterRowsAllowAccess Allows moving selection to footer rows.
FooterRowsAllowEdit Allows editing of footer row GridRecordItems.
FooterRowsEnableSelection Enables selection in footer rows.
ForcePagination Forces the grid to be split into pages in print preview (affects page count).
FreeHeightMode Allows row height to be changed by dragging.
FreezeColumnsAbs Gets/sets whether freeze column index is absolute or relative.
FreezeColumnsCount Number of columns frozen when horizontally scrolling.
FullColumnScrolling Specifies whether full-column scrolling is used (deprecated).
GroupsOrder Collection of GridColumns that defines grouping order.
HeaderRecords Returns the collection of header records.
HeaderRows Returns the collection of grid header rows.
HeaderRowsAllowAccess Allows moving selection to header rows.
HeaderRowsAllowEdit Allows editing of header row GridRecordItems.
HeaderRowsEnableSelection Enables selection in header rows.
HideColumnAfterGroupBoxDrop Causes column drag/drop into the Group Box to behave like Drag+Ctrl.
HScrollStep Amount in pixels the grid scrolls when horizontal scroll buttons are clicked.
hWnd Returns the window handle (HWND) of the GridControl.
Icons Collection of icons usable by GridRecordItem and GridColumn objects.
IconView Shows/hides Icon View (similar to Windows Explorer).
InitialSelectionEnable Specifies whether the first row becomes selected when initially populated.
InplaceEditHwnd Returns the handle to the currently used in-place edit control.
LeftOffset Gets or sets the horizontal scroll position.
Markers Collection of markers used by the Track Control (Track Control).
MarkupContext Object that connects XML markup with methods, functions, and events.
MaxColumnWidth Gets or sets the maximum column width for all columns.
MovePivot Controls pivot/freeze behavior when columns are moved/added to group-by box.
MultipleSelection Specifies whether multiple GridRows can be selected at the same time.
MultiSelectionMode Enables/disables the multiple selection mode for the control.
Navigator Object used to handle navigation activities in the GridControl.
OLEDropAbove When using OLE drag/drop, indicates whether the drop marker is above or below the current row.
OLEDropMode Uses OLEDropConstants flags to specify the drop mode for external items.
OverrideThemeMetrics Specifies whether to override theme metrics.
PaintManager Manages painting and theme rendering for the GridControl.
PinFooterRows Pins footer records to the last body row instead of docking to the footer.
PopulatedRecordsCount The current number of records displayed in the grid.
PreviewMode Specifies whether PreviewMode is enabled.
PrintGroupRowIcon Specifies whether group row expand/collapse icons should be printed.
PrintOptions Options that specify how the Grid should look when printed.
PrintPreviewOptions Contains options for the print preview window.
Records The GridControl's collection of GridRecord objects.
RecordsTreeFilterMode Gets/sets the filtering mode for the record tree.
ReCreateReparented Recreates controls that have been reparented (internal use).
ReleaseOnDestroy Ensures WM_DESTROY handling is complete before destroying.
RightToLeft Aligns CommandBars elements to support right-to-left locales.
RightToLeftReading Enables RTL reading order without changing layout (column order).
Rows The GridControl's collection of GridRow objects.
ScaleOnResize Specifies whether to scale the track view area when resizing (Track Control).
SelectedBlocks Collection of selected blocks and keys in the Track Control.
SelectedRows The collection of currently selected rows in the GridControl.
SelectionEnable Gets/sets whether rows become selected when clicked or navigated.
SelectionExcludeGroupRows Specifies whether group rows are included when selecting multiple rows and using the collapse (+/-) button.
SendContextMenuForWholeHeaderArea When true, ColumnClick event is fired when right-clicking anywhere over header/column headers.
ShowFooter Shows or hides the grid column footer.
ShowFooterRows Shows or hides the footer rows.
ShowGroupBox Specifies whether the Group By box is shown.
ShowHeader Shows or hides the column headers in the GridControl.
ShowHeaderRows Shows or hides the header rows.
ShowItemsInGroups Automatically shows GridRecordItems in groups when a column is grouped.
ShowRowFocus Specifies whether to draw a focus rectangle around the focused row.
ShowTimeLinePosition Shows or hides the timeline position marker (Track Control).
ShowWorkArea Shows or hides the work area in the Track Control.
SkipGroupsFocus Specifies whether group rows are skipped when navigating with Up/Down keys.
SnapMargin Margin that a block must be dragged into before it will snap to another block or marker.
SnapToBlocks Gets/sets whether blocks being dragged snap to adjacent blocks (Track Control).
SnapToMarkers Gets/sets whether blocks being dragged snap to markers (Track Control).
SortedDragDrop Specifies whether drag-dropped items are inserted in sorted order.
SortLocale Specifies locale-based sort rules for text, dates, times, and currency.
SortOrder Collection of GridColumns used to determine how the GridControl is sorted.
SortRecordChildren Specifies the sort order to apply to record children.
StrictBestFit BestFitMode used only in non-autosize mode (when AutoSize is False).
TimeLineMax Gets/sets the maximum value the time line can represent (Track Control).
TimeLineMin Gets/sets the minimum value the time line can represent (Track Control).
TimeLinePosition Gets/sets the position of the Time Line Marker.
ToolTipContext ToolTipContext object represents the tool tip window used to display tool tips.
TopRowIndex Returns or sets the index of the topmost row; can scroll a row to the top of view.
TrapTabKey Specifies whether the TAB key will be trapped and exposed to the BeginEdit event for edit controls.
UndoManager Manager used to Undo and Redo operations in the Track Control.
UnrestrictedDragDrop Allows child rows to be dropped to any position (not just among sibling records).
ViewPortMax Gets/sets the maximum value that determines the portion (zoom/scale) of the timeline in view.
ViewPortMin Gets/sets the minimum value that determines the portion (zoom/scale) of the timeline in view.
VisualTheme Specifies the visual theme used by the control.
WatermarkAlignment Gets or sets the alignment of the watermark.
WorkAreaMax Gets/sets the maximum value of the current work area within the timeline (Track Control).
WorkAreaMin Gets/sets the minimum value of the current work area within the timeline (Track Control).

Events

Event Description
BeforeCopyToText Occurs before all text data from a record is copied to the clipboard.
BeforeDrawRow Occurs before each GridRecordItem in a GridRow is drawn.
BeforePaste Occurs after creating a new record from binary clipboard data but before adding it to the grid.
BeforePasteFromText Occurs before a record that contains only text data is inserted/pasted into the grid.
BeginDrag Occurs when records start to be dragged from/within the GridControl.
BeginEdit Occurs when the user begins to edit an item.
BlockChanged Occurs when a block or key in the TrackControl changes size or position.
ColumnClick Occurs when a GridColumn header or Grid header area is right-clicked.
ColumnOrderChangedEx Occurs when the order of the columns changes.
ColumnWidthChanged Occurs when the width of a column has changed.
ConstraintSelecting Occurs when a constraints list is navigated with keyboard arrow keys.
DragDropCompleted Occurs when a drag-and-drop operation has completed.
DragOverRecords Occurs while the user is dragging records over other records.
DrawItem Occurs when a GridRecordItem is drawn (custom draw).
DrawPreviewItem Occurs when the preview item for each GridRow is drawn.
DropRecordsEx Occurs when records are dropped into the GridControl but before they are added.
EditCanceled Occurs when in-place editing is canceled and the value is not changed.
FocusChanging Occurs before a user selects a row or a column.
GetToolTipInfo Occurs before a tooltip is displayed, allowing modification of tooltip content.
GiveFeedback Occurs during drag-and-drop to provide feedback about the drag operation.
GroupOrderChangedEx Occurs when the group order of columns is changed by the user.
HScroll Occurs when the grid is horizontally scrolled.
HyperlinkClick Occurs when a hyperlink in an item is clicked.
InplaceButtonDown Occurs when an in-place combo or expand button added by the developer is clicked.
InplaceEditChanging Occurs when an in-place edit control's value is changing.
ItemButtonClick Occurs when a GridItemControl button is clicked.
ItemCheck Occurs when a GridRecordItem (checkbox) is clicked.
KeyDown Occurs when a key is pressed and the GridControl has focus.
KeyUp Occurs when a key is released and the GridControl has focus.
MarkerChanged Occurs when a marker in the timeline changes size or position (Track Control).
MeasurePreviewItem Occurs before a Preview Item is measured/drawn.
MeasureRow Occurs before a row is measured/drawn.
MouseDown Occurs when a mouse button is pressed anywhere on the GridControl.
MouseMove Occurs when the mouse pointer is moved over the GridControl.
MouseUp Occurs when a mouse button is released anywhere on the GridControl.
OLEDragDrop Occurs when a source component is dropped onto a target during OLE drag/drop.
OLEDragOver Occurs when one component is dragged over another during OLE drag/drop.
PlusMinusClick Occurs when a plus/minus (expand/collapse) button is clicked.
PreviewKeyDown Occurs immediately before the KeyDown event (preview of keyboard input).
RecordsDropped Occurs once records have been dropped onto the grid and the grid updated.
ReCreated Occurs when the control is re-created.
RequestEdit Occurs when an item/cell requests to enter edit mode.
RowDblClick Occurs when a GridRecordItem in a GridRow is double-clicked.
RowExpanded Occurs when a GridRow is expanded.
RowRClick Occurs when a GridRecordItem in a GridRow is right-clicked.
SelectedBlocksChanged Occurs when the selection of blocks/keys changes in the Track Control.
SelectionChanged Occurs when the selection of rows changes in the GridControl.
SelectionChanging Occurs before the selection is changed (can be canceled).
SliderChanged Occurs when the timeline slider has changed size or position (Track Control).
SortOrderChanged Occurs when the column sort order changes.
TimeLineLabel Occurs when a timeline label needs to be drawn.
TimeLinePositionChanged Occurs when the timeline position marker has changed (Track Control).
ValueChanged Occurs after the value of a GridRecordItem has changed.
ValueChanging Occurs before the value of a GridRecordItem is changed.
VScroll Occurs when the grid is vertically scrolled.

See Also


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