Skip to main content

DataControlBase Methods

Serves as a base for classes that represents data-aware controls (e.g. GridControl).
Name Description
BeginDataUpdate() Prevents visual and internal data updates until the DataControlBase.EndDataUpdate method is called.
BeginInit() Starts the control’s runtime initialization.
BeginSelection() Prevents selection updates until the DataControlBase.EndSelection method is called.
ClearColumnFilter(ColumnBase) Removes the filter condition applied to the specified column.
ClearColumnFilter(String) Removes the filter condition applied to the specified column.
ClearSorting() Clears the sorting applied to the grid.
CollapseAllGroups() Collapses all group rows.
CommitEditing() Hides the active editor and posts all the changes made within the focused row to a data source if the row values are valid.
EndDataUpdate() Enables visual and internal data updates after the DataControlBase.BeginDataUpdate method call, and updates the grid.
EndInit() Ends the runtime initialization.
EndSelection() Enables selection updates after calling the DataControlBase.BeginSelection method, and forces an immediate update.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
ExpandAllGroups() Expands all group rows.
GetCellElementByRowHandleAndColumn(Int32, ColumnBase) Returns the specified cell’s UI element.
GetCellElementByTreeElement(DependencyObject) Returns a cell that contains the specified tree element.
GetCellValue(Int32, String) Returns the value of the specified data cell.
GetColumnByTreeElement(DependencyObject) Returns a column whose cell contains the specified tree element.
GetColumnFilterCriteria(ColumnBase) Returns a filter applied to the specified column.
GetColumnFilterCriteria(String) Returns a filter applied to the specified column.
GetColumnFilterString(ColumnBase) Returns a filter expression applied to the specified column.
GetColumnFilterString(String) Returns a filter expression applied to the specified column.
GetCurrentGrid(DependencyObject) static Gets the value of the DataControlBase.CurrentGrid attached property for a specified DependencyObject.
GetCurrentViewChangedListener(DependencyObject) static Gets the value of the DataControlBase.CurrentViewChangedListener attached property for a specified DependencyObject.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetRowElementByRowHandle(Int32) Returns a UI element that is the specified row.
GetRowState(Int32) This member supports the internal infrastructure and is not intended to be used directly from your code.
GetSelectedCells() Returns the selected data cells.
GetTotalSummaryValue(SummaryItemBase) Returns the value of the specified total summary item.
GetType() Gets the Type of the current instance. Inherited from Object.
HideEditor() Closes the active editor, discarding all the changes made.
IsCellSelected(Int32, ColumnBase) Indicates whether the specified cell is selected.
IsItemSelected(Int32) Indicates whether the specified item is selected.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
MergeColumnFilters(CriteriaOperator) Combines the specified filter with the grid’s current filter with the AND operator.
MergeColumnFilters(String) Combines the specified filter with the grid’s current filter with the AND operator.
MoveColumnTo(ColumnBase, Int32) Moves the specified column to the specified position.
MoveFirstRow() Moves focus to the first visible row within a grid.
MoveLastRow() Moves focus to the last visible row within a grid.
MoveNextPage() Moves focus forward to the bottom row displayed onscreen within a grid.
MoveNextRow() Moves focus to the row following the one currently focused.
MovePrevPage() Moves focus backward to the top row displayed onscreen within a grid.
MovePrevRow(Boolean)
MoveSelectedItem(Int32) Selects the specified item.
PopulateColumns() Creates columns for all fields in a bound data source.
PostEditor() Saves the active editor’s value to a data source without closing the editor.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RefreshData() Updates the control data.
ScrollIntoView(Int32) Makes the specified row visible onscreen.
ScrollIntoView(Object) Makes the specified row visible onscreen.
SelectAll() Selects all items within a grid.
SelectCell(Int32, GridColumnBase) Selects the cell.
SelectCells(Int32, GridColumnBase, Int32, GridColumnBase) Selects multiple cells.
SelectItem(Int32) Selects the specified item.
SelectItem(Object) Selects the specified item.
SelectRange(Int32, Int32) Selects multiple items, while preserving the current selection (if any).
SetCurrentGrid(DependencyObject, DataControlBase) static Sets the value of the DataControlBase.CurrentGrid attached property to a specified DependencyObject.
SetCurrentViewChangedListener(DependencyObject, INotifyCurrentViewChanged) static Sets the value of the DataControlBase.CurrentViewChangedListener attached property to a specified DependencyObject.
ShowEditor() Activates the focused cell’s inplace editor.
SortBy(String) Sorts data by the values of the specified column.
ToString() Returns a string that represents the current object. Inherited from Object.
UnselectAll() Unselects any selected items within a grid.
UnselectCell(Int32, GridColumnBase) Unselects the specified cell.
UnselectCells(Int32, GridColumnBase, Int32, GridColumnBase) Unselects the specified cells.
UnselectItem(Int32) Unselects the specified item.
UnselectItem(Object) Unselects the specified item.
UpdateTotalSummary() Updates total summaries.
UpdateUnboundColumnValues(Int32) Updates unbound column values in the specified row.
See Also