[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Collapse]Windows 10 App Controls
  Prerequisites
 [Expand]Getting Started
 [Expand]Controls
 [Expand]Themes and Color Schemes
  Localization
  Get More Help
 [Collapse]API Reference
  [Expand]DevExpress.Core
  [Expand]DevExpress.Data
  [Expand]DevExpress.Data.Filtering
  [Expand]DevExpress.Mvvm
  [Expand]DevExpress.Mvvm.UI
  [Expand]DevExpress.UI.Xaml
  [Expand]DevExpress.UI.Xaml.Charts
  [Expand]DevExpress.UI.Xaml.Controls
  [Expand]DevExpress.UI.Xaml.Controls.Internal.Pdf
  [Expand]DevExpress.UI.Xaml.Editors
  [Expand]DevExpress.UI.Xaml.Editors.Native
  [Expand]DevExpress.UI.Xaml.Gauges
  [Collapse]DevExpress.UI.Xaml.Grid
   [Expand]AddingNewEventArgs Class
    AutoFilterCondition Enumeration
   [Expand]ColumnBase Class
   [Expand]ColumnCollection Class
    ColumnFilterMode Enumeration
   [Expand]CustomColumnSortEventArgs Class
    CustomColumnSortEventHandler Delegate
   [Expand]DataControlBase Class
    ExceptionMode Enumeration
    FilterPopupMode Enumeration
    FindMode Enumeration
   [Expand]GridCell Class
   [Expand]GridCheckBoxColumn Class
   [Expand]GridColumnBase Class
   [Expand]GridColumnCollection Class
   [Expand]GridColumnCommands Class
   [Expand]GridColumnDataEventArgs Class
    GridColumnDataEventHandler Delegate
   [Expand]GridComboBoxColumn Class
   [Collapse]GridControl Class
     GridControl Members
     GridControl Constructor
    [Expand]GridControl Properties
    [Expand]GridControl Events
    [Collapse]GridControl Methods
      AddNewRow Method
      ClearGrouping Method
      CollapseAllGroups Method
     [Expand]CollapseGroupRow Method
      ExpandAllGroups Method
     [Expand]ExpandGroupRow Method
     [Expand]GetCellValue Method
     [Expand]GetCellValueByListIndex Method
      GetChildRowCount Method
      GetChildRowHandle Method
     [Expand]GetGroupRowValue Method
      GetListIndexByRowHandle Method
      GetParentRowHandle Method
      GetRow Method
      GetRowByListIndex Method
      GetRowHandleByListIndex Method
      GetRowHandleByVisibleIndex Method
      GetRowVisibleIndexByHandle Method
      GetSelectedItem Method
     [Expand]GetSelectedItemCellValue Method
     [Expand]GroupBy Method
      IsGroupRowExpanded Method
      IsRowVisible Method
      IsValidRowHandle Method
      MoveNextPage Method
      MoveNextRow Method
      MovePrevPage Method
      MovePrevRow Method
     [Expand]ScrollIntoView Method
     [Expand]SetSelectedItemUnboundColumnValue Method
     [Expand]SetUnboundColumnValue Method
     [Expand]SortBy Method
     [Expand]UngroupBy Method
   [Expand]GridControlBase Class
   [Expand]GridControlCommands Class
    GridControlNavigationStyle Enumeration
   [Expand]GridDateColumn Class
   [Expand]GridMaskColumn Class
   [Expand]GridSpinEditColumn Class
    GridSummaryItemAlignment Enumeration
   [Expand]GridTemplateColumn Class
   [Expand]GridTextColumn Class
   [Expand]GridTextColumnBase Class
   [Expand]GridTotalSummaryData Class
    GroupSummaryDisplayMode Enumeration
   [Expand]HighlightingSettings Class
   [Expand]InitNewRowEventArgs Class
   [Expand]InvalidRowExceptionEventArgs Class
    MultiSelectMode Enumeration
    NewItemRowPosition Enumeration
   [Expand]RowEventArgs Class
    RowEventHandler Delegate
    ScrollAnimationMode Enumeration
    ShowFilterPanelMode Enumeration
    ShowSearchPanelMode Enumeration
   [Expand]SummaryItemBase Class
  [Expand]DevExpress.UI.Xaml.Grid.Native
  [Expand]DevExpress.UI.Xaml.Layout
  [Expand]DevExpress.UI.Xaml.Layout.Base
  [Expand]DevExpress.UI.Xaml.Layout.Internal
  [Expand]DevExpress.UI.Xaml.Layout.VisualElements
  [Expand]DevExpress.UI.Xaml.Map
  [Expand]DevExpress.UI.Xaml.Ribbon
  [Expand]DevExpress.Utils
  [Expand]DevExpress.XtraGrid
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

GridControl Methods

The grid control.

Expanded Public Methods

Show: Inherited
  Name Description
Public method AddHandler (Inherited from Windows.UI.Xaml.UIElement)
Public method AddNewRow Adds a new record.
Public method ApplyTemplate (Inherited from Windows.UI.Xaml.Controls.Control)
Public method Arrange (Inherited from Windows.UI.Xaml.UIElement)
Public method BeginDataUpdate Prevents visual and internal data updates until the DataControlBase.EndDataUpdate method is called. (Inherited from DataControlBase)
Public method BeginInit Starts the control's runtime initialization. (Inherited from DataControlBase)
Public method BeginSelection Prevents selection updates until the DataControlBase.EndSelection method is called. (Inherited from DataControlBase)
Public method CancelDirectManipulations (Inherited from Windows.UI.Xaml.UIElement)
Public method CapturePointer (Inherited from Windows.UI.Xaml.UIElement)
Public method ClearColumnFilter Overloaded. Removes the filter condition applied to the specified column. (Inherited from DataControlBase)
Public method ClearGrouping Ungroups the grid.
Public method ClearSorting Clears the sorting applied to the grid. (Inherited from DataControlBase)
Public method ClearValue (Inherited from Windows.UI.Xaml.DependencyObject)
Public method CollapseAllGroups Collapses all group rows.
Public method CollapseGroupRow Overloaded. Collapses the specified group row.
Public method 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. (Inherited from DataControlBase)
Public method CreateObjRef (Inherited from System.MarshalByRefObject)
Public method DeleteRow Deletes the specified data row. (Inherited from GridControlBase)
Public method EndDataUpdate Enables visual and internal data updates after the DataControlBase.BeginDataUpdate method call, and updates the grid. (Inherited from DataControlBase)
Public method EndInit Ends the runtime initialization. (Inherited from DataControlBase)
Public method EndSelection Enables selection updates after calling the DataControlBase.BeginSelection method, and forces an immediate update. (Inherited from DataControlBase)
Public methodStatic member Equals (Inherited from System.Object)
Public method Equals (Inherited from System.Runtime.InteropServices.WindowsRuntime.RuntimeClass)
Public method ExpandAllGroups Expands all group rows.
Public method ExpandGroupRow Overloaded. Expands the specified group row.
Public method FindName (Inherited from Windows.UI.Xaml.FrameworkElement)
Public method Focus (Inherited from Windows.UI.Xaml.Controls.Control)
Public method GetAnimationBaseValue (Inherited from Windows.UI.Xaml.DependencyObject)
Public method GetBindingExpression (Inherited from Windows.UI.Xaml.FrameworkElement)
Public method GetCellElementByRowHandleAndColumn Returns the specified cell's UI element. (Inherited from DataControlBase)
Public method GetCellElementByTreeElement Returns a cell that contains the specified tree element. (Inherited from DataControlBase)
Public method GetCellValue Overloaded. Returns the value of the specified data cell.
Public method GetCellValueByListIndex Overloaded. Returns the specified cell's value.
Public method GetChildRowCount Returns the number of child rows (group or data) contained within the specified group row.
Public method GetChildRowHandle Returns the handle of the row contained within the specified group row, at the specified position.
Public method GetColumnByTreeElement Returns a column whose cell contains the specified tree element. (Inherited from DataControlBase)
Public method GetColumnFilterCriteria Overloaded. Returns a filter applied to the specified column. (Inherited from DataControlBase)
Public method GetColumnFilterString Overloaded. Returns a filter expression applied to the specified column. (Inherited from DataControlBase)
Public methodStatic member GetCurrentGrid Gets the value of the DataControlBase.CurrentGrid attached property for a specified DependencyObject. (Inherited from DataControlBase)
Public methodStatic member GetCurrentViewChangedListener Gets the value of the DataControlBase.CurrentViewChangedListener attached property for a specified DependencyObject. (Inherited from DataControlBase)
Public method GetGroupRowValue Overloaded. Returns a value of the specified group row in the specified grouping column.
Public method GetHashCode (Inherited from System.Runtime.InteropServices.WindowsRuntime.RuntimeClass)
Public methodStatic member GetIsTemplateFocusTarget (Inherited from Windows.UI.Xaml.Controls.Control)
Public method GetLifetimeService (Inherited from System.MarshalByRefObject)
Public method GetListIndexByRowHandle Returns the specified data row's index in a data source.
Public method GetParentRowHandle Determines a particular row's parent group row.
Public method GetRow Returns an object in a data source that corresponds to the specified row.
Public method GetRowByListIndex Returns an object that represents the specified row.
Public method GetRowElementByRowHandle Returns a UI element that is the specified row. (Inherited from DataControlBase)
Public method GetRowHandleByListIndex Returns the data row's handle by its index in a data source.
Public method GetRowHandleByVisibleIndex Returns a row's handle by specifying its visible index.
Public method GetRowState This member supports the internal infrastructure and is not intended to be used directly from your code. (Inherited from DataControlBase)
Public method GetRowVisibleIndexByHandle Returns the row's position within a grid by its handle.
Public method GetSelectedCells Returns the selected data cells. (Inherited from DataControlBase)
Public method GetSelectedItem Returns the currently selected row.
Public method GetSelectedItemCellValue Overloaded. Returns the value of the specified cell contained within the focused row.
Public method GetTotalSummaryValue Returns the value of the specified total summary item. (Inherited from DataControlBase)
Public method GetType (Inherited from System.Object)
Public method GetValue (Inherited from Windows.UI.Xaml.DependencyObject)
Public method GroupBy Overloaded. Groups data by the values of the specified column with the specified sort order. If several columns are involved in grouping, the specified column will reside at the specified grouping level.
Public method HideEditor Closes the active editor, discarding all the changes made. (Inherited from DataControlBase)
Public method InitializeLifetimeService (Inherited from System.MarshalByRefObject)
Public method InvalidateArrange (Inherited from Windows.UI.Xaml.UIElement)
Public method InvalidateMeasure (Inherited from Windows.UI.Xaml.UIElement)
Public method IsCellSelected Indicates whether the specified cell is selected. (Inherited from DataControlBase)
Public method IsGroupRow Indicates whether the specified index corresponds to a group row. For internal use only. (Inherited from GridControlBase)
Public method IsGroupRowExpanded Indicates whether the specified group row is expanded.
Public method IsItemSelected Indicates whether the specified item is selected. (Inherited from DataControlBase)
Public method IsRowVisible Indicates whether the specified row is visible.
Public method IsValidRowHandle Indicates whether the specified row handle is valid.
Public method LockFocus (Inherited from DevExpress.Core.Native.DXControl)
Public method Measure (Inherited from Windows.UI.Xaml.UIElement)
Public method MergeColumnFilters Overloaded. Combines the specified filter with the grid's current filter with the AND operator. (Inherited from DataControlBase)
Public method MoveColumnTo Moves the specified column to the specified position. (Inherited from DataControlBase)
Public method MoveFirstRow Moves focus to the first visible row within a grid. (Inherited from DataControlBase)
Public method MoveLastRow Moves focus to the last visible row within a grid. (Inherited from DataControlBase)
Public method MoveNextPage Moves focus forward to the bottom row displayed onscreen within a grid.
Public method MoveNextRow Moves focus to the row following the one currently focused.
Public method MovePrevPage
Public method MovePrevRow
Public method MoveSelectedItem Selects the specified item. (Inherited from DataControlBase)
Public method PopulateColumns Creates columns for all fields in a bound data source. (Inherited from DataControlBase)
Public method PostEditor Saves the active editor's value to a data source without closing the editor. (Inherited from DataControlBase)
Public method RaiseEvent (Inherited from DevExpress.Core.Native.DXControl)
Public method ReadLocalValue (Inherited from Windows.UI.Xaml.DependencyObject)
Public methodStatic member ReferenceEquals (Inherited from System.Object)
Public method RefreshData Updates the control data. (Inherited from DataControlBase)
Public method RegisterPropertyChangedCallback (Inherited from Windows.UI.Xaml.DependencyObject)
Public method ReleasePointerCapture (Inherited from Windows.UI.Xaml.UIElement)
Public method ReleasePointerCaptures (Inherited from Windows.UI.Xaml.UIElement)
Public method RemoveHandler (Inherited from DevExpress.Core.Native.DXControl)
Public method ScrollIntoView Overloaded. Makes the specified row visible onscreen.
Public method SelectAll Selects all items within a grid. (Inherited from DataControlBase)
Public method SelectCell Selects the cell. (Inherited from DataControlBase)
Public method SelectCells Selects multiple cells. (Inherited from DataControlBase)
Public method SelectItem Overloaded. Selects the specified item. (Inherited from DataControlBase)
Public method SelectRange Selects multiple items, while preserving the current selection (if any). (Inherited from DataControlBase)
Public method SetBinding (Inherited from Windows.UI.Xaml.FrameworkElement)
Public methodStatic member SetCurrentGrid Sets the value of the DataControlBase.CurrentGrid attached property to a specified DependencyObject. (Inherited from DataControlBase)
Public methodStatic member SetCurrentViewChangedListener Sets the value of the DataControlBase.CurrentViewChangedListener attached property to a specified DependencyObject. (Inherited from DataControlBase)
Public methodStatic member SetIsTemplateFocusTarget (Inherited from Windows.UI.Xaml.Controls.Control)
Public method SetSelectedItemUnboundColumnValue Overloaded. Sets the value of the specified unbound column value in the selected item.
Public method SetUnboundColumnValue Overloaded. Sets the value of the specified unbound column cell.
Public method SetValue (Inherited from Windows.UI.Xaml.DependencyObject)
Public method ShowEditor Activates the focused cell's inplace editor. (Inherited from DataControlBase)
Public method SortBy Overloaded. Sorts data by the values of the specified column in the specified order, and places the column at the specified position among the sorted columns.
Public method StartDragAsync (Inherited from Windows.UI.Xaml.UIElement)
Public method ToString (Inherited from System.Runtime.InteropServices.WindowsRuntime.RuntimeClass)
Public method TransformToVisual (Inherited from Windows.UI.Xaml.UIElement)
Public methodStatic member TryStartDirectManipulation (Inherited from Windows.UI.Xaml.UIElement)
Public method UngroupBy Overloaded. Ungroups data by the values of the specified column.
Public method UnregisterPropertyChangedCallback (Inherited from Windows.UI.Xaml.DependencyObject)
Public method UnselectAll Unselects any selected items within a grid. (Inherited from DataControlBase)
Public method UnselectCell Unselects the specified cell. (Inherited from DataControlBase)
Public method UnselectCells Unselects the specified cells. (Inherited from DataControlBase)
Public method UnselectItem Overloaded. Unselects the specified item. (Inherited from DataControlBase)
Public method UpdateLayout (Inherited from Windows.UI.Xaml.UIElement)
Public method UpdateTotalSummary Updates total summaries. (Inherited from DataControlBase)
Public method UpdateUnboundColumnValues Updates unbound column values in the specified row. (Inherited from DataControlBase)
Top

Expanded See Also

Is this topic helpful?​​​​​​​