Click or drag to resize
GridViewDataControl Methods

The GridViewDataControl type exposes the following members.

Methods
  NameDescription
Public methodBeginEdit
Causes the RadGridView to enter editing mode for the current cell and current row, unless the data grid is already in editing mode.
Public methodBeginEdit(RoutedEventArgs)
Causes the RadGridView to enter editing mode for the current cell and current row, unless the data grid is already in editing mode.
Public methodBeginInsert
Causes the RadGridView to show new row and enter into EditMode.
Public methodBringIndexIntoView
Brings the item with the given index into view. The method will not work before the item containers have been generated.
(Inherited from BaseItemsControl.)
Public methodBuildHierarchyFromDataSet
Builds a hierarchy from a data set.
Public methodCalculateAggregates
Calculate all columns aggregate functions.
Public methodCancelEdit
Causes the data grid to cancel the current edit, restore the original value, and exit editing mode.
Protected methodClearContainerForGroupOverride
When overridden in a derived class, undoes the effects of the PrepareContainerForGroupOverride method.
(Overrides BaseItemsControlClearContainerForGroupOverride(DependencyObject, Object).)
Protected methodClearContainerForItemOverride
When overridden in a derived class, undoes the effects of the PrepareContainerForItemOverride method.
(Overrides BaseItemsControlClearContainerForItemOverride(DependencyObject, Object).)
Public methodCollapseAllGroups
Collapses all groups recursively.
Public methodCollapseAllHierarchyItems
Collapses all hierarchy items.
Public methodCollapseAllHierarchyItems(Boolean)
Collapses all hierarchy items.
Public methodCollapseGroup
Collapses the visual group for the given IGroup.
Public methodCollapseHierarchyItem(Object)
Collapses the visual GridViewRow for the given item.
Public methodCollapseHierarchyItem(Object, Boolean)
Collapses the visual GridViewRow for the given item.
Public methodColumnFromDisplayIndex
Returns the GridViewColumn with the given DisplayIndex.
Public methodCommitEdit
Commits the edit.
Public methodCommitRowEdit
Commits the edit of the row.
Protected methodCreateItem
Creates the container for a simple data record.
Protected methodCreateTableDefinition
Creates the specific table definition for the DataControl.
(Overrides DataControlCreateTableDefinition.)
Public methodDeferRefresh
Enters a defer cycle that you can use to merge changes to the view and delay automatic refresh.
Public methodEndInit
Indicates that the initialization process for the element is complete.
(Overrides FrameworkElementEndInit.)
Public methodExecutePendingCommand
Executes all pending commands in a sequence.
Public methodExpandAllGroups
Expands all groups recursively.
Public methodExpandAllHierarchyItems
Expands all hierarchy items.
Public methodExpandAllHierarchyItems(Boolean)
Expands all hierarchy items.
Public methodExpandGroup
Set expand state for the given IGroup. If the group is nested all parent groups will be expanded.
Public methodExpandHierarchyItem(Object)
Expands the visual GridViewRow for the given item.
Public methodExpandHierarchyItem(Object, Boolean)
Expands the visual GridViewRow for the given item.
Public methodExport
Exports RadGridView to the specified stream.
Public methodExportAsync(Stream, GridViewExportOptions, Boolean)
Asynchronously exports RadGridView to the specified stream.
Public methodExportAsync(Stream, Action, GridViewExportOptions, Boolean)
Asynchronously exports RadGridView to the specified stream.
Protected methodGetContainerForItemOverride
Creates or identifies the element that is used to display the given item.
(Overrides BaseItemsControlGetContainerForItemOverride(Object).)
Public methodGetDistinctValues(GridViewColumn, Boolean)
Returns the first 1000 distinct values for the given column.
Public methodGetDistinctValues(GridViewColumn, Boolean, NullableInt32)
Returns distinct values for a given column.
Public methodGetRowForItem
Gets the row for an item.
Public methodGetSelectionAnchorCell
Gets the selection anchor cell. This cell is used as a starting point when selecting range using the SHIFT key.
Public methodGetSelectionAnchorItem
Gets the selection anchor item. This item is used as a starting point when selecting range using the SHIFT key.
Protected methodInitializeSelection
Initializes the selection.
(Overrides DataControlInitializeSelection.)
Public methodIsExpanded(Object)
Gets the expanded state of a given item.
Public methodIsExpanded(IGroup)
Gets the expanded state of a group in GridViewDataControl.
Protected methodMeasureOverride
Called to remeasure a control.
(Overrides ControlMeasureOverride(Size).)
Public methodOnAddingNewDataItem
Raises the AddingNewDataItem event.
Protected methodOnAlternationCountChanged
Invoked when the AlternationCount property changes.
(Overrides BaseItemsControlOnAlternationCountChanged(Int32, Int32).)
Public methodOnApplyTemplate
When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate.
(Overrides FrameworkElementOnApplyTemplate.)
Protected methodOnAutoGeneratingColumn
Raises the AutoGeneratingColumn event.
Protected methodOnCanUserSelectChanged
Called when property CanUserSelect changes.
(Overrides DataControlOnCanUserSelectChanged(Boolean, Boolean).)
Protected methodOnColumnDisplayIndexChanged
Called when the DisplayIndex of a column is modified.
Protected methodOnColumnReordered
Called when the column is reordered.
Protected methodOnCurrentItemChanged
Called when the current item of the DataControl is changed.
(Overrides DataControlOnCurrentItemChanged.)
Protected methodOnFilterOperatorsLoading
Raises the FilterOperatorsLoading event.
Protected methodOnGotFocus
Invoked whenever an unhandled GotFocus event reaches this element in its route.
(Overrides FrameworkElementOnGotFocus(RoutedEventArgs).)
Protected methodOnGroupPanelChanged
Called when the GridViewGroupPanel is changed.
Protected methodOnGroupRenderModeChanged
Called when the virtualization mode changes.
(Overrides BaseItemsControlOnGroupRenderModeChanged.)
Protected methodOnInitialized
Raises the Initialized event. This method is invoked whenever IsInitialized is set to true internally.
(Overrides FrameworkElementOnInitialized(EventArgs).)
Protected methodOnItemContainerStyleChanged
Invoked when the ItemContainerStyle property changes.
(Inherited from BaseItemsControl.)
Protected methodOnItemsChanged
Invoked when the Items property changes.
(Overrides BaseItemsControlOnItemsChanged(NotifyCollectionChangedEventArgs).)
Protected methodOnItemsCollectionChanged
Called when this.Items collection changes.
(Overrides BaseItemsControlOnItemsCollectionChanged(Object, NotifyCollectionChangedEventArgs).)
Protected methodOnItemsPropertyChanged
Called when this.Items has a property changed.
(Overrides DataControlOnItemsPropertyChanged(Object, PropertyChangedEventArgs).)
Protected methodOnItemsSourceChanged
Called when ItemsSource property has changed.
(Overrides BaseItemsControlOnItemsSourceChanged(Object, Object).)
Protected methodOnItemTemplateChanged
Invoked when the ItemTemplate property changes.
(Inherited from BaseItemsControl.)
Protected methodOnKeyDown
Invoked when an unhandled KeyDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Overrides UIElementOnKeyDown(KeyEventArgs).)
Protected methodOnLoadingRowDetails
Raises the LoadingRowDetails event.
Protected methodOnLostFocus
Raises the LostFocus routed event by using the event data that is provided.
(Overrides UIElementOnLostFocus(RoutedEventArgs).)
Protected methodOnMouseLeftButtonDown
Invoked when an unhandled MouseLeftButtonDown routed event is raised on this element. Implement this method to add class handling for this event.
(Overrides UIElementOnMouseLeftButtonDown(MouseButtonEventArgs).)
Protected methodOnMouseMove
Invoked when an unhandled MouseMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Overrides UIElementOnMouseMove(MouseEventArgs).)
Protected methodOnMouseWheel
Invoked when an unhandled MouseWheel attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Overrides UIElementOnMouseWheel(MouseWheelEventArgs).)
Protected methodOnNewRowPositionChanged
Called when property NewRowPosition changes.
Protected methodOnPinnedRowsPositionChanged
Called when property PinnedRowsPosition changes.
Protected methodOnPropertyChanged
Called when a property changes.
(Inherited from DataControl.)
Protected methodOnRowDetailsVisibilityChanged
Raises the RowDetailsVisibilityChanged event.
Protected methodOnRowDetailsVisibilityChanging
Raises the RowDetailsVisibilityChanging event.
Protected methodOnSearchPanelVisibilityChanged
Raises the SearchPanelVisibilityChanged event.
Protected methodOnSelectedCellsChanging
Raises the SelectedCellsChangingEvent event.
Protected methodOnSelectedItemChanged
Called when the selected item of the DataControl is changed.
(Overrides DataControlOnSelectedItemChanged(Object, Object).)
Protected methodOnSelectionChanging
Raises the SelectionChangingEvent event.
(Inherited from DataControl.)
Protected methodOnShowColumnFootersChanged
Called when property ShowColumnFooters changes.
Protected methodOnShowColumnHeadersChanged
Called when property ShowColumnHeaders changes.
Protected methodOnShowGroupPanelChanged
Called when property ShowGroupPanel changes.
Protected methodOnShowSearchPanelChanged
Called when property ShowSearchPanel changes.
Protected methodOnTextInput
Invoked when an unhandled TextInput attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Overrides UIElementOnTextInput(TextCompositionEventArgs).)
Protected methodOnUnloadingRowDetails
Raises the UnloadingRowDetails event.
Protected methodPrepareContainerForGroupItemOverride
Prepares the specified element to display the specified item.
(Overrides BaseItemsControlPrepareContainerForGroupItemOverride(DependencyObject, Object).)
Protected methodPrepareContainerForItemOverride
Prepares the specified element to display the specified item.
(Overrides BaseItemsControlPrepareContainerForItemOverride(DependencyObject, Object).)
Protected methodRaiseSelectionChangedEvent
Raises the selection changed event.
(Overrides DataControlRaiseSelectionChangedEvent(SelectionChangeEventArgs).)
Public methodRebind
Rebinds the grid.
(Inherited from DataControl.)
Public methodReorderColumns
Reorders the columns.
Public methodScrollIndexIntoView(Int32)
Scrolls the item with the specified index into view.
Public methodScrollIndexIntoView(Int32, GridViewColumn)
Scrolls the cell with the specified row index and the column into view.
Public methodScrollIndexIntoViewAsync(Int32, ActionFrameworkElement)
Scrolls the row with the specified index into view in an asynchronous manner.
Public methodScrollIndexIntoViewAsync(Int32, ActionFrameworkElement, Action)
Scrolls the row with the specified index into view in an asynchronous manner.
Public methodScrollIndexIntoViewAsync(Int32, GridViewColumn, ActionFrameworkElement, Action)
Scrolls the row with the specified index and GridViewColumn into view in an asynchronous manner.
Public methodScrollIntoView(Object)
Scrolls the row containing the data item into view.
Public methodScrollIntoView(Object, GridViewColumn)
Scrolls a cell into view.
Public methodScrollIntoViewAsync(Object, ActionFrameworkElement)
Scrolls the row containing the data item into view in an asynchronous manner.
Public methodScrollIntoViewAsync(Object, ActionFrameworkElement, Action)
Scrolls the row containing the data item into view in an asynchronous manner.
Public methodScrollIntoViewAsync(Object, GridViewColumn, ActionFrameworkElement)
Scrolls the row containing the data item and GridViewColumn into view in an asynchronous manner.
Public methodScrollIntoViewAsync(Object, GridViewColumn, ActionFrameworkElement, Action)
Scrolls the row containing the data item and GridViewColumn into view in an asynchronous manner.
Public methodSelect
Selects specified items.
Public methodSelectAll
Selects all grid data items.
Protected methodSetIsCurrent
Sets the current state for a container that wraps a given data item.
(Overrides DataControlSetIsCurrent(Object, Boolean).)
Protected methodSetIsSelected
Sets the selection state for a container that wraps a given data item.
(Overrides DataControlSetIsSelected(Object, Boolean).)
Public methodSetSelectionAnchor(Object)
Sets the selection anchor item. This item is used as a starting point when selecting range using the SHIFT key.
Public methodSetSelectionAnchor(GridViewCellInfo)
Sets the selection anchor item and cell. This item/cell is used as a starting point when selecting range using the SHIFT key.
Protected methodShouldDestroyContainersOnReset
Indicates whether recycled containers should be cleared after CollectionChanged.Reset.
Public methodUnselect
Unselects specified items.
Public methodUnselectAll
Unselects all grid data items.
Top
Extension Methods
  NameDescription
Public Extension MethodChildrenOfTypeT
Gets all child elements recursively from the visual tree by given type.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodClearIfNoBindingAndSet
Clears if set.
(Defined by CommonExtensions.)
Public Extension MethodClearIfSet
Clears the property if a value has been set.
(Defined by CommonExtensions.)
Public Extension MethodDeserializePrimitives
Deserializes some primitive properties of a control.
(Defined by SerializationExtensions.)
Public Extension MethodEnableLayoutRounding (Defined by LayoutRoundingHelperExtensions.)
Public Extension MethodExportToPdf(Stream)Overloaded.
Exports RadGridView to the specified stream in PDF format using the specified export options.
(Defined by GridViewDataControlExportExtensions.)
Public Extension MethodExportToPdf(Stream, GridViewDocumentExportOptions)Overloaded.
Exports RadGridView to the specified stream in PDF format.
(Defined by GridViewDataControlExportExtensions.)
Public Extension MethodExportToRadFixedDocumentOverloaded.
Exports RadGridView to RadFixedDocument.
(Defined by GridViewDataControlExportExtensions.)
Public Extension MethodExportToRadFixedDocument(GridViewDocumentExportOptions)Overloaded.
Exports RadGridView to RadFixedDocument using the specified export options.
(Defined by GridViewDataControlExportExtensions.)
Public Extension MethodExportToWorkbookOverloaded.
Exports RadGridView to the workbook.
(Defined by GridViewDataControlExportExtensions.)
Public Extension MethodExportToWorkbook(GridViewDocumentExportOptions)Overloaded.
Exports RadGridView to the workbook using the specified export options.
(Defined by GridViewDataControlExportExtensions.)
Public Extension MethodExportToXlsx(Stream)Overloaded.
Exports RadGridView to the specified stream in XLSX format.
(Defined by GridViewDataControlExportExtensions.)
Public Extension MethodExportToXlsx(Stream, GridViewDocumentExportOptions)Overloaded.
Exports RadGridView to the specified stream in XLSX format using the specified export options.
(Defined by GridViewDataControlExportExtensions.)
Public Extension MethodFindChildByTypeT
Finds child element of the specified type. Uses breadth-first search.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodFindGroupByItem
Finds the parent group of a data item .
(Defined by GridViewDataControlExtensions.)
Public Extension MethodGetAssociatedInlineUIContainer (Defined by ExtensionMethods.)
Public Extension MethodGetAssociatedLayoutBox (Defined by ExtensionMethods.)
Public Extension MethodGetBaseControlItemStatus
Gets a string that communicates the visual status of a Control.
(Defined by AutomationExtensions.)
Public Extension MethodGetBoundsRelativeTo
Gets the bounds relative to the current framework element.
(Defined by ExtensionMethods.)
Public Extension MethodGetGlobalMousePosition
(Defined by WindowHost.)
Public Extension MethodGetParents
Enumerates through element's parents in the visual tree.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodGetVisualParentT
Searches up in the visual tree for parent element of the specified type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsAncestorOf(DependencyObject)Overloaded.
Determines whether the element is ancestor of the current UI element.
(Defined by ExtensionMethods.)
Public Extension MethodIsAncestorOf(DependencyObject)Overloaded.
Determines whether the element is an ancestor of the descendant.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsKeyboardFocusWithin
Determines whether keyboard focus is within the current UI element.
(Defined by KeyboardHelper.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by DependencyObjectExtensions.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by CommonExtensions.)
Public Extension MethodParentOfTypeT
Gets the parent element from the visual tree by given type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodSerializePrimitives
Serializes some primitive properties of a control.
(Defined by SerializationExtensions.)
Public Extension MethodSetAssociatedLayoutBox (Defined by ExtensionMethods.)
Public Extension MethodSetIfDifferent
Sets the value of the dependencyProperty property if it's hasn't that value currently.
(Defined by CommonExtensions.)
Public Extension MethodSetLayout
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSetLocation(Point)Overloaded.
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSetLocation(Double, Double)Overloaded.
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSlideInOverloaded.
Slides the given element into view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideIn(TimeSpan)Overloaded.
Slides the given element into view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideOutOverloaded.
Slides the given element out of view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideOut(TimeSpan)Overloaded.
Slides the given element out of view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodToCsvOverloaded.
Returns all grid data items as comma separated values including header.
(Defined by ExportExtensions.)
Public Extension MethodToCsv(Boolean)Overloaded.
Returns all grid data items as comma separated values.
(Defined by ExportExtensions.)
Public Extension MethodToCsv(Boolean, Boolean)Overloaded.
Returns all grid data items as comma separated values.
(Defined by ExportExtensions.)
Public Extension MethodToCsv(IEnumerable, Boolean)Overloaded.
Returns specified grid data items as comma separated values.
(Defined by ExportExtensions.)
Public Extension MethodToCsv(IEnumerable, Boolean, Boolean)Overloaded.
Returns specified grid data items as comma separated values.
(Defined by ExportExtensions.)
Public Extension MethodToExcelMLOverloaded.
Returns all grid data items as html including header.
(Defined by ExportExtensions.)
Public Extension MethodToExcelML(Boolean)Overloaded.
Returns all grid data items as html.
(Defined by ExportExtensions.)
Public Extension MethodToExcelML(Boolean, Boolean)Overloaded.
Returns all grid data items as html.
(Defined by ExportExtensions.)
Public Extension MethodToExcelML(IEnumerable, Boolean)Overloaded.
Returns specified grid data items as html.
(Defined by ExportExtensions.)
Public Extension MethodToExcelML(IEnumerable, Boolean, Boolean)Overloaded.
Returns specified grid data items as html.
(Defined by ExportExtensions.)
Public Extension MethodToHtmlOverloaded.
Returns all grid data items as html including header.
(Defined by ExportExtensions.)
Public Extension MethodToHtml(Boolean)Overloaded.
Returns all grid data items as html.
(Defined by ExportExtensions.)
Public Extension MethodToHtml(Boolean, Boolean)Overloaded.
Returns all grid data items as html.
(Defined by ExportExtensions.)
Public Extension MethodToHtml(IEnumerable, Boolean)Overloaded.
Returns specified grid data items as html.
(Defined by ExportExtensions.)
Public Extension MethodToHtml(IEnumerable, Boolean, Boolean)Overloaded.
Returns specified grid data items as html.
(Defined by ExportExtensions.)
Public Extension MethodToTextOverloaded.
Returns all grid data items as html including header.
(Defined by ExportExtensions.)
Public Extension MethodToText(Boolean)Overloaded.
Returns all grid data items as tab-delimited text.
(Defined by ExportExtensions.)
Public Extension MethodToText(Boolean, Boolean)Overloaded.
Returns all grid data items as tab-delimited text.
(Defined by ExportExtensions.)
Public Extension MethodToText(IEnumerable, Boolean)Overloaded.
Returns specified grid data items as tab-delimited text.
(Defined by ExportExtensions.)
Public Extension MethodToText(IEnumerable, Boolean, Boolean)Overloaded.
Returns specified grid data items as tab-delimited text.
(Defined by ExportExtensions.)
Public Extension MethodTranslate(NullableDouble, NullableDouble, NullableDouble, NullableDouble, TimeSpan)Overloaded.
Translates the target element as requested by the parameters.
(Defined by CalendarAnimation.)
Public Extension MethodTranslate(NullableDouble, NullableDouble, NullableDouble, NullableDouble, TimeSpan, Action)Overloaded.
Translates the target element as requested by the parameters and executes the action request.
(Defined by CalendarAnimation.)
Top
See Also