New to Telerik UI for WPFStart a free 30-day trial

GridViewDataControl provides the presentation of a collection of data items.

Definition

Namespace:Telerik.Windows.Controls.GridView

Assembly:Telerik.Windows.Controls.GridView.dll

Syntax:

C#
public class GridViewDataControl : BaseItemsControl, INotifyPropertyChanged, IScrollingServiceCore, IScrollingInfo

Inheritance: objectDataControlBaseItemsControlGridViewDataControl

Derived Classes: RadGridViewRadTreeListView

Implements: INotifyPropertyChangedIScrollingInfoIScrollingServiceCore

Inherited Members BaseItemsControl.IsGroupingPropertyBaseItemsControl.ItemTemplatePropertyBaseItemsControl.ItemContainerStylePropertyBaseItemsControl.AlternationIndexPropertyBaseItemsControl.HasItemsPropertyBaseItemsControl.AlternationCountPropertyBaseItemsControl.GroupRenderModePropertyBaseItemsControl.ItemsControlFromItemContainer(DependencyObject)BaseItemsControl.GetAlternationIndex(DependencyObject)BaseItemsControl.GetItemsOwner(DependencyObject)BaseItemsControl.BringIndexIntoView(int)BaseItemsControl.OnItemTemplateChanged(DataTemplate, DataTemplate)BaseItemsControl.OnItemContainerStyleChanged(Style, Style)BaseItemsControl.GroupRenderModeBaseItemsControl.ItemContainerGeneratorBaseItemsControl.ItemContainerStyleBaseItemsControl.AlternationCountBaseItemsControl.ItemTemplateBaseItemsControl.IsGroupingBaseItemsControl.HasItemsDataControl.ItemsSourcePropertyDataControl.CurrentItemPropertyDataControl.SelectedItemPropertyDataControl.CanUserSelectPropertyDataControl.IsSynchronizedWithCurrentItemPropertyDataControl.SelectionChangedEventDataControl.SelectionChangingEventDataControl.Rebind()DataControl.OnPropertyChanged(string)DataControl.OnSelectionChanging(SelectionChangingEventArgs)DataControl.ItemsDataControl.ItemsSourceDataControl.TableDefinitionDataControl.CurrentItemDataControl.SelectedItemDataControl.CanUserSelectDataControl.IsSynchronizedWithCurrentItemDataControl.ShouldHandleSelectionDataControl.SelectedItemsDataControl.PropertyChangedDataControl.SelectionChangedDataControl.SelectionChanging...

Constructors

Initializes a new instance of the GridViewDataControl class.

C#
public GridViewDataControl()

Fields

ActionOnLostFocusProperty

DependencyProperty

Identifies the ActionOnLostFocus dependency property.

C#
public static readonly DependencyProperty ActionOnLostFocusProperty

Identifies the AlternateRowBackground dependency property.

C#
public static readonly DependencyProperty AlternateRowBackgroundProperty

AlternateRowStyleProperty

DependencyProperty

Identifies the AlternateRowStyle dependency property.

C#
public static readonly DependencyProperty AlternateRowStyleProperty

Identifies the AlternateRowStyleSelector dependency property.

C#
public static readonly DependencyProperty AlternateRowStyleSelectorProperty

AreRowDetailsFrozenProperty

DependencyProperty

Identifies the AreRowDetailsFrozen dependency property.

C#
public static readonly DependencyProperty AreRowDetailsFrozenProperty

AutoExpandGroupsProperty

DependencyProperty

Identifies the AutoExpandGroups dependency property.

C#
public static readonly DependencyProperty AutoExpandGroupsProperty

AutoGenerateColumnsProperty

DependencyProperty

Identifies the AutoGenerateColumns dependency property.

C#
public static readonly DependencyProperty AutoGenerateColumnsProperty

Occurs on beginning edit.

C#
public static readonly RoutedEvent BeginningEditEvent

Identifies the BusyIndicatorContent property.

C#
public static readonly DependencyProperty BusyIndicatorContentProperty

Identifies the BusyIndicatorContentTemplate property.

C#
public static readonly DependencyProperty BusyIndicatorContentTemplateProperty

Identifies the BusyIndicatorIsIndeterminate property.

C#
public static readonly DependencyProperty BusyIndicatorIsIndeterminateProperty

Identifies the BusyIndicatorProgressValue property.

C#
public static readonly DependencyProperty BusyIndicatorProgressValueProperty

CanUserDeleteRowsProperty

DependencyProperty

Identifies the CanUserDeleteRows dependency property.

C#
public static readonly DependencyProperty CanUserDeleteRowsProperty

Identifies the CanUserFreezeColumns dependency property.

C#
public static readonly DependencyProperty CanUserFreezeColumnsProperty

CanUserInsertRowsProperty

DependencyProperty

Identifies the CanUserInsertRows dependency property.

C#
public static readonly DependencyProperty CanUserInsertRowsProperty

Identifies the CanUserReorderColumnsProperty dependency property.

C#
public static readonly DependencyProperty CanUserReorderColumnsProperty

Identifies the CanUserResizeColumnsProperty dependency property.

C#
public static readonly DependencyProperty CanUserResizeColumnsProperty

CanUserResizeRowsProperty

DependencyProperty

Identifies the CanUserResizeRows dependency property.

C#
public static readonly DependencyProperty CanUserResizeRowsProperty

CanUserSortColumnsProperty

DependencyProperty

Identifies the CanUserSortColumns dependency property.

C#
public static readonly DependencyProperty CanUserSortColumnsProperty

CanUserSortGroupsProperty

DependencyProperty

Identifies the CanUserSortGroups dependency property.

C#
public static readonly DependencyProperty CanUserSortGroupsProperty

Occurs after a cell edit ended. Needs validation mode set to Cell.

C#
public static readonly RoutedEvent CellEditEndedEvent

CellLoadedEvent

RoutedEvent

Identifies the CellLoaded routed event.

C#
public static readonly RoutedEvent CellLoadedEvent

Dependency Property for CellsPanelHorizontalOffset.

C#
public static readonly DependencyProperty CellsPanelHorizontalOffsetProperty

Identifies the CellUnloaded routed event.

C#
public static readonly RoutedEvent CellUnloadedEvent

Occurs after cell validation.

C#
public static readonly RoutedEvent CellValidatedEvent

Occurs on cell validation.

C#
public static readonly RoutedEvent CellValidatingEvent

ClipboardCopyModeProperty

DependencyProperty

Identifies the ClipboardCopyMode dependency property.

C#
public static readonly DependencyProperty ClipboardCopyModeProperty

ClipboardPasteModeProperty

DependencyProperty

Identifies the ClipboardPasteMode dependency property.

C#
public static readonly DependencyProperty ClipboardPasteModeProperty

ColumnBackgroundProperty

DependencyProperty

Identifies the ColumnBackground dependency property.

C#
public static readonly DependencyProperty ColumnBackgroundProperty

Occurs before the column is reordered.

C#
public static readonly RoutedEvent ColumnReorderingEvent

Routed Event for ColumnWidthChanged event.

C#
public static readonly RoutedEvent ColumnWidthChangedEvent

Routed Event for ColumnWidthChanging event.

C#
public static readonly RoutedEvent ColumnWidthChangingEvent

ColumnWidthProperty

DependencyProperty

The DependencyProperty that represents the ColumnWidth property.

C#
public static readonly DependencyProperty ColumnWidthProperty

ControlPanelItemsProperty

DependencyProperty

Identifies the ControlPanelItems dependency property.

C#
public static readonly DependencyProperty ControlPanelItemsProperty

CopiedEvent

RoutedEvent

Occurs after copying the GridViewDataControl's selected cells to the Clipboard.

C#
public static readonly RoutedEvent CopiedEvent

Occurs on copying a cell to the Clipboard.

C#
public static readonly RoutedEvent CopyingCellClipboardContentEvent

CopyingEvent

RoutedEvent

Occurs on copying the GridViewDataControl's selected cells to the Clipboard.

C#
public static readonly RoutedEvent CopyingEvent

Identifies the CrossThreadCollectionChangedInterval dependency property.

C#
public static readonly DependencyProperty CrossThreadCollectionChangedIntervalProperty

Occurs when the current cell info is changed.

C#
public static readonly RoutedEvent CurrentCellInfoChangedEvent

CurrentColumnProperty

DependencyProperty

Identifies the CurrentColumn dependency property.

C#
public static readonly DependencyProperty CurrentColumnProperty

DataErrorEvent

RoutedEvent

Identifies the DataErrorEvent routed event.

C#
public static readonly RoutedEvent DataErrorEvent

DataLoadModeProperty

DependencyProperty

Identifies the DataLoadModeProperty dependency property.

C#
public static readonly DependencyProperty DataLoadModeProperty

Identifies the DefaultDistinctValuesCount dependency property.

C#
public static readonly DependencyProperty DefaultDistinctValuesCountProperty

DeletedEvent

RoutedEvent

Identifies the Deleted routed event.

C#
public static readonly RoutedEvent DeletedEvent

DeletingEvent

RoutedEvent

Identifies the Deleting routed event.

C#
public static readonly RoutedEvent DeletingEvent

DragElementActionProperty

DependencyProperty

DependencyProperty as the backing store for EnableSelectOnDrag.

C#
public static readonly DependencyProperty DragElementActionProperty

EditTriggersProperty

DependencyProperty

Identifies the EditTriggers dependency property.

C#
public static readonly DependencyProperty EditTriggersProperty

Dependency property for EnableColumnGroupsVirtualization.

C#
public static readonly DependencyProperty EnableColumnGroupsVirtualizationProperty

Dependency property for EnableColumnVirtualization.

C#
public static readonly DependencyProperty EnableColumnVirtualizationProperty

Identifies the EnableHeaderContextMenu dependency property.

C#
public static readonly DependencyProperty EnableHeaderContextMenuProperty

Identifies the EnableLightweightTextRendering dependency property.

C#
public static readonly DependencyProperty EnableLightweightTextRenderingProperty

Dependency property for EnableLostFocusSelectedState.

C#
public static readonly DependencyProperty EnableLostFocusSelectedStateProperty

Identifies the EnableMouseWheelScaling dependency property.

C#
public static readonly DependencyProperty EnableMouseWheelScalingProperty

Dependency property for EnableRowVirtualization.

C#
public static readonly DependencyProperty EnableRowVirtualizationProperty

FilteredEvent

RoutedEvent

Occurs after filtering.

C#
public static readonly RoutedEvent FilteredEvent

Identifies the FilterEditorPosition dependency property.

C#
public static readonly DependencyProperty FilterEditorPositionProperty

Identifies the FilteringDropDownStaysOpen dependency property.

C#
public static readonly DependencyProperty FilteringDropDownStaysOpenProperty

FilteringEvent

RoutedEvent

Occurs before filtering.

C#
public static readonly RoutedEvent FilteringEvent

FilteringModeProperty

DependencyProperty

Identifies the FilteringModeProperty dependency property.

C#
public static readonly DependencyProperty FilteringModeProperty

FooterRowStyleProperty

DependencyProperty

Identifies the FooterRowStyle dependency property.

C#
public static readonly DependencyProperty FooterRowStyleProperty

FrozenColumnCountProperty

DependencyProperty

Dependency Property for FrozenColumnCount Property.

C#
public static readonly DependencyProperty FrozenColumnCountProperty

Identifies the FrozenColumnsSplitterVisibility dependency property.

C#
public static readonly DependencyProperty FrozenColumnsSplitterVisibilityProperty

GridLinesVisibilityProperty

DependencyProperty

Represents the GridLinesVisibility dependency property.

C#
public static readonly DependencyProperty GridLinesVisibilityProperty

Identifies the GridViewNewRowContent dependency property.

C#
public static readonly DependencyProperty GridViewNewRowContentProperty

Identifies the GridViewNewRowContentTemplate dependency property.

C#
public static readonly DependencyProperty GridViewNewRowContentTemplateProperty

GroupCountProperty

DependencyProperty

Identifies the GroupCount dependency property.

C#
public static readonly DependencyProperty GroupCountProperty

GroupedEvent

RoutedEvent

Occurs after grouping was performed.

C#
public static readonly RoutedEvent GroupedEvent

GroupFooterRowStyleProperty

DependencyProperty

Identifies the GroupFooterRowStyle dependency property.

C#
public static readonly DependencyProperty GroupFooterRowStyleProperty

Identifies the GroupFooterRowStyleSelector dependency property.

C#
public static readonly DependencyProperty GroupFooterRowStyleSelectorProperty

GroupHeaderTemplateProperty

DependencyProperty

Identifies the GroupHeaderTemplate dependency property.

C#
public static readonly DependencyProperty GroupHeaderTemplateProperty

GroupingEvent

RoutedEvent

Occurs while grouping is being performed. (Cancelable).

C#
public static readonly RoutedEvent GroupingEvent

Identifies the GroupPanelBackground dependency property.

C#
public static readonly DependencyProperty GroupPanelBackgroundProperty

Identifies the GroupPanelForeground dependency property.

C#
public static readonly DependencyProperty GroupPanelForegroundProperty

GroupPanelItemStyleProperty

DependencyProperty

Identifies the GroupPanelItemStyle dependency property.

C#
public static readonly DependencyProperty GroupPanelItemStyleProperty

GroupPanelStyleProperty

DependencyProperty

Identifies the GroupPanelStyle dependency property.

C#
public static readonly DependencyProperty GroupPanelStyleProperty

Occurs when a group row's expanded state is changed.

C#
public static readonly RoutedEvent GroupRowIsExpandedChangedEvent

Occurs when a group row's expanded state is about to be changed.

C#
public static readonly RoutedEvent GroupRowIsExpandedChangingEvent

GroupRowStyleProperty

DependencyProperty

Identifies the GroupRowStyle dependency property.

C#
public static readonly DependencyProperty GroupRowStyleProperty

Identifies the GroupRowStyleSelector dependency property.

C#
public static readonly DependencyProperty GroupRowStyleSelectorProperty

HasHierarchyProperty

DependencyProperty

Identifies the HasHierarchy readonly dependency property.

C#
public static readonly DependencyProperty HasHierarchyProperty

HeaderRowStyleProperty

DependencyProperty

Identifies the HeaderRowStyle dependency property.

C#
public static readonly DependencyProperty HeaderRowStyleProperty

Identifies the HierarchyChildTemplateProperty property.

C#
public static readonly DependencyProperty HierarchyChildTemplateProperty

Identifies the HierarchyChildTemplateSelector dependency property.

C#
public static readonly DependencyProperty HierarchyChildTemplateSelectorProperty

Identifies the HierarchyExpandButtonStyle dependency property.

C#
public static readonly DependencyProperty HierarchyExpandButtonStyleProperty

Identifies the HierarchyExpandButtonStyleSelector dependency property.

C#
public static readonly DependencyProperty HierarchyExpandButtonStyleSelectorProperty

Represents the HorizontalGridLinesBrush dependency property.

C#
public static readonly DependencyProperty HorizontalGridLinesBrushProperty

IsBusyProperty

DependencyProperty

Identifies the IsBusyProperty dependency property.

C#
public static readonly DependencyProperty IsBusyProperty

IsFilteringAllowedProperty

DependencyProperty

Identifies the IsFilteringAllowedProperty dependency property.

C#
public static readonly DependencyProperty IsFilteringAllowedProperty

Identifies the IsLocalizationLanguageRespected property.

C#
public static readonly DependencyProperty IsLocalizationLanguageRespectedProperty

Represents the IsPropertyChangedAggregationEnabled DependencyProperty.

C#
public static readonly DependencyProperty IsPropertyChangedAggregationEnabledProperty

IsReadOnlyProperty

DependencyProperty

Gets or sets a value indicating whether the RadGridView can be edited.

C#
public static readonly DependencyProperty IsReadOnlyProperty

IsScrollingProperty

DependencyProperty

Identifies the IsScrolling dependency property.

C#
public static readonly DependencyProperty IsScrollingProperty

Get or sets a value that indicates whether the filtering is enabled while searching.

C#
public static readonly DependencyProperty IsSearchFilteringEnabledProperty

IsSearchingDeferredProperty

DependencyProperty

Identifies the IsSearchingDeferred dependency property.

C#
public static readonly DependencyProperty IsSearchingDeferredProperty

Represents the LeftFrozenColumnCount dependency property.

C#
public static readonly DependencyProperty LeftFrozenColumnCountProperty

Identifies the LeftFrozenColumnSplitterThresholdProperty dependency property.

C#
public static readonly DependencyProperty LeftFrozenColumnSplitterThresholdProperty

MaxColumnWidthProperty

DependencyProperty

The DependencyProperty that represents the MaxColumnWidth property.

C#
public static readonly DependencyProperty MaxColumnWidthProperty
Field Value:

The maximum column width in pixels. The default is Double.PositiveInfinity.

Represents the MergedCellsDirection dependency property.

C#
public static readonly DependencyProperty MergedCellsDirectionProperty

MergedCellsStyleProperty

DependencyProperty

Identifies the MergedCellsStyle dependency property.

C#
public static readonly DependencyProperty MergedCellsStyleProperty

Identifies the MergedCellsStyleSelector dependency property.

C#
public static readonly DependencyProperty MergedCellsStyleSelectorProperty

MinColumnWidthProperty

DependencyProperty

The DependencyProperty that represents the MinColumnWidth property.

C#
public static readonly DependencyProperty MinColumnWidthProperty

Identifies the MouseWheelScrollDelta dependency property.

C#
public static readonly DependencyProperty MouseWheelScrollDeltaProperty

Identifies the MultipleColumnSortModifiers dependency property.

C#
public static readonly DependencyProperty MultipleColumnSortModifiersProperty

NewRowPositionProperty

DependencyProperty

Identifies the NewRowPosition dependency property.

C#
public static readonly DependencyProperty NewRowPositionProperty

NewRowStyleProperty

DependencyProperty

Identifies the NewRowStyle dependency property.

C#
public static readonly DependencyProperty NewRowStyleProperty

Dependency property for NonFrozenColumnsViewportHorizontalOffset Property.

C#
public static readonly DependencyProperty NonFrozenColumnsViewportHorizontalOffsetProperty

Dependency property for NonFrozenColumnsViewportHorizontalOffset Property.

C#
public static readonly DependencyProperty NonFrozenColumnsViewportHorizontalOffsetRightProperty

ParentRowProperty

DependencyProperty

Identifies the ParentRow dependency property.

C#
public static readonly DependencyProperty ParentRowProperty

PastedEvent

RoutedEvent

Occurs after pasting from the Clipboard to the GridViewDataControl.

C#
public static readonly RoutedEvent PastedEvent

Occurs on pasting a cell from the Clipboard.

C#
public static readonly RoutedEvent PastingCellClipboardContentEvent

PastingEvent

RoutedEvent

Occurs on pasting from the Clipboard to the GridViewDataControl.

C#
public static readonly RoutedEvent PastingEvent

PinnedRowsPositionProperty

DependencyProperty

Identifies the PinnedRowsPosition dependency property.

C#
public static readonly DependencyProperty PinnedRowsPositionProperty

ReorderColumnsModeProperty

DependencyProperty

DependencyProperty for ReorderColumnsMode.

C#
public static readonly DependencyProperty ReorderColumnsModeProperty

Represents the RightFrozenColumnCount dependency property.

C#
public static readonly DependencyProperty RightFrozenColumnCountProperty

Identifies the RightFrozenColumnSplitterThresholdProperty dependency property.

C#
public static readonly DependencyProperty RightFrozenColumnSplitterThresholdProperty

Identifies the RightFrozenColumnsSplitterVisibility dependency property.

C#
public static readonly DependencyProperty RightFrozenColumnsSplitterVisibilityProperty

Occurs when a row is activated - when user double click on it or RowActivated command is executed.

C#
public static readonly RoutedEvent RowActivatedEvent

RowDetailsStyleProperty

DependencyProperty

Identifies the RowDetailsStyle dependency property.

C#
public static readonly DependencyProperty RowDetailsStyleProperty

Identifies the RowDetailsStyleSelector dependency property.

C#
public static readonly DependencyProperty RowDetailsStyleSelectorProperty

RowDetailsTemplateProperty

DependencyProperty

Identifies the RowDetailsTemplate dependency property.

C#
public static readonly DependencyProperty RowDetailsTemplateProperty

Identifies the RowDetailsTemplateSelector dependency property.

C#
public static readonly DependencyProperty RowDetailsTemplateSelectorProperty

Identifies the RowDetailsVisibilityMode dependency property.

C#
public static readonly DependencyProperty RowDetailsVisibilityModeProperty

Occurs after a row edit ended. Needs validation mode set to Row.

C#
public static readonly RoutedEvent RowEditEndedEvent

RowHeightProperty

DependencyProperty

Identifies the RowHeight dependency property.

C#
public static readonly DependencyProperty RowHeightProperty

Identifies the RowIndicatorVisibility dependency property.

C#
public static readonly DependencyProperty RowIndicatorVisibilityProperty

Occurs when a row's expanded state is changed - when its hierarchy child is expanded or collapsed.

C#
public static readonly RoutedEvent RowIsExpandedChangedEvent

Occurs when a row's expanded state is about to be changed - when its hierarchy child is expanded or collapsed.

C#
public static readonly RoutedEvent RowIsExpandedChangingEvent

RowStyleProperty

DependencyProperty

Identifies the RowStyle dependency property.

C#
public static readonly DependencyProperty RowStyleProperty

RowStyleSelectorProperty

DependencyProperty

Identifies the RowStyleSelector dependency property.

C#
public static readonly DependencyProperty RowStyleSelectorProperty

Occurs after row validation.

C#
public static readonly RoutedEvent RowValidatedEvent

Occurs on row validation.

C#
public static readonly RoutedEvent RowValidatingEvent

ScaleFactorProperty

DependencyProperty

Identifies the ScaleFactor dependency property.

C#
public static readonly DependencyProperty ScaleFactorProperty

ScrollModeProperty

DependencyProperty

Identifies the ScrollMode dependency property.

C#
public static readonly DependencyProperty ScrollModeProperty

Identifies the ScrollPositionIndicatorTemplate property.

C#
public static readonly DependencyProperty ScrollPositionIndicatorTemplateProperty
Field Value:

The identifier for the ScrollPositionIndicatorTemplate property

SearchedEvent

RoutedEvent

Routed Event for the Searched event.

C#
public static readonly RoutedEvent SearchedEvent

SearchingEvent

RoutedEvent

Routed Event for the Searching event.

C#
public static readonly RoutedEvent SearchingEvent

Identifies the SearchPanelBackground dependency property.

C#
public static readonly DependencyProperty SearchPanelBackgroundProperty

Identifies the SearchPanelCloseButtonVisibility dependency property.

C#
public static readonly DependencyProperty SearchPanelCloseButtonVisibilityProperty

Identifies the SearchPanelForeground dependency property.

C#
public static readonly DependencyProperty SearchPanelForegroundProperty

SearchStateManagerProperty

DependencyProperty

Represents the SearchStateManager dependency property.

C#
public static readonly DependencyProperty SearchStateManagerProperty

Identifies the SelectionKeyEvent routed event.

C#
public static readonly RoutedEvent SelectionKeyEvent

SelectionModeProperty

DependencyProperty

Identifies the SelectionModeProperty dependency property.

C#
public static readonly DependencyProperty SelectionModeProperty

SelectionUnitProperty

DependencyProperty

Identifies the SelectionUnitProperty dependency property.

C#
public static readonly DependencyProperty SelectionUnitProperty

Identifies the ShouldCloseFilteringPopupOnKeyboardFocusChanged dependency property.

C#
public static readonly DependencyProperty ShouldCloseFilteringPopupOnKeyboardFocusChangedProperty

Identifies the ShouldReorderColumnsOnUngroupingProperty dependency property.

C#
public static readonly DependencyProperty ShouldReorderColumnsOnUngroupingProperty

Represents the ShouldRespectIEditableObject DependencyProperty.

C#
public static readonly DependencyProperty ShouldRespectIEditableObjectProperty

ShowColumnFootersProperty

DependencyProperty

Identifies the ShowColumnFooters dependency property.

C#
public static readonly DependencyProperty ShowColumnFootersProperty

ShowColumnHeadersProperty

DependencyProperty

Identifies the ShowColumnHeaders dependency property.

C#
public static readonly DependencyProperty ShowColumnHeadersProperty

ShowGroupFootersProperty

DependencyProperty

Identifies the ShowGroupFooters dependency property.

C#
public static readonly DependencyProperty ShowGroupFootersProperty

ShowGroupPanelProperty

DependencyProperty

Identifies the ShowGroupPanel dependency property.

C#
public static readonly DependencyProperty ShowGroupPanelProperty

Identifies the ShowScrollPositionIndicator dependency property.

C#
public static readonly DependencyProperty ShowScrollPositionIndicatorProperty

ShowSearchPanelProperty

DependencyProperty

Identifies the ShowSearchPanel dependency property.

C#
public static readonly DependencyProperty ShowSearchPanelProperty

Identifies the ShowToolTipOnTrimmedText dependency property.

C#
public static readonly DependencyProperty ShowToolTipOnTrimmedTextProperty

SortedEvent

RoutedEvent

Occurs after sorting was performed.

C#
public static readonly RoutedEvent SortedEvent

SortingEvent

RoutedEvent

Identifies the Sorting routed event.

C#
public static readonly RoutedEvent SortingEvent

Identifies the ToolTipOnTrimmedTextShowDurationProperty dependency property.

C#
public static readonly DependencyProperty ToolTipOnTrimmedTextShowDurationProperty

Identifies the ValidatesOnDataErrors dependency property.

C#
public static readonly DependencyProperty ValidatesOnDataErrorsProperty

ValidationTypeProperty

DependencyProperty

Identifies the ValidationTypeProperty dependency property.

C#
public static readonly DependencyProperty ValidationTypeProperty

Represents the VerticalGridLinesBrush dependency property.

C#
public static readonly DependencyProperty VerticalGridLinesBrushProperty

VisibleRowsHeightProperty

DependencyProperty

Identifies the VisibleRowsHeight dependency property.

C#
public static readonly DependencyProperty VisibleRowsHeightProperty

ZoomScaleTransformProperty

DependencyProperty

Identifies the ZoomScaleTransform dependency property.

C#
public static readonly DependencyProperty ZoomScaleTransformProperty

Properties

Gets or sets the action to take when an element of the GridViewDataControl loses focus.

C#
public ActionOnLostFocus ActionOnLostFocus { get; set; }
Property Value:

The action to take when an element of the GridViewDataControl loses focus.

Collection with aggregate results.

C#
public AggregateResultCollection AggregateResults { get; }

Gets or sets the Brush that is used to paint the background of odd-numbered rows.

C#
public Brush AlternateRowBackground { get; set; }
Property Value:

The brush that is used to paint the background of odd-numbered rows.

Gets or sets the alternate row style.

C#
public Style AlternateRowStyle { get; set; }
Property Value:

The alternate row style.

Gets or sets the alternate row style selector.

C#
public StyleSelector AlternateRowStyleSelector { get; set; }
Property Value:

The alternate row style selector.

Gets or sets a value that indicates whether the row details sections remain fixed at the width of the display area or can scroll horizontally.

C#
public bool AreRowDetailsFrozen { get; set; }
Property Value:

true if the row details sections are prevented from scrolling horizontally; otherwise, false. The default is false.

Remarks:

Set this property to true to make sure that the contents of the row details sections are never scrolled out of view horizontally.

Gets or sets a value indicating whether groups should be expanded or not.

C#
public bool AutoExpandGroups { get; set; }
Property Value:

true if groups should be expanded; otherwise, false.

Gets or sets a value indicating whether columns are created automatically when the ItemsSource property is set.

C#
public bool AutoGenerateColumns { get; set; }
Property Value:

true if the columns should be created automatically; otherwise, false. The default is true.

Remarks:

You can modify the Columns collection at run time regardless of whether it contains generated columns. However, if you specify columns in XAML, you should set AutoGenerateColumns to false. If you want to modify auto-generated columns during generation you can use AutoGeneratingColumn event.

Gets or sets the content of GridViewLoadingIndicator.

C#
public object BusyIndicatorContent { get; set; }

Gets or sets the content template of GridViewLoadingIndicator.

C#
public DataTemplate BusyIndicatorContentTemplate { get; set; }

Gets or sets a value that controls the modes of execution of GridViewLoadingIndicator.

C#
public bool BusyIndicatorIsIndeterminate { get; set; }

Gets or sets a value that reports any shifts in the GridViewLoadingIndicator's progress value.

C#
public double BusyIndicatorProgressValue { get; set; }

Gets or sets a value that indicates whether the user can delete rows.

C#
public bool CanUserDeleteRows { get; set; }
Property Value:

true if the user can add new rows; otherwise, false. The registered default is true.

Gets or sets a value indicating whether the frozen column splitter is visible.

C#
public bool CanUserFreezeColumns { get; set; }
Property Value:

true if user can freeze columns; otherwise, false.

Gets or sets a value that indicates whether the user can add new rows.

C#
public bool CanUserInsertRows { get; set; }
Property Value:

true if the user can add new rows; otherwise, false. The registered default is true.

Remarks:

When this property is set to true a blank row is displayed at the top of GridViewDataControl. A user can enter a new item into the blank row. Adding a new row adds an item to the ItemsSource. You can set default values for the new item by handling the AddingNewDataItem event and setting the values programmatically.

Gets or sets a value that indicates whether the user can change the column display order by dragging column headers with the mouse.

C#
public bool CanUserReorderColumns { get; set; }
Property Value:

true if the user can reorder columns; otherwise, false.

Remarks:

You can set this behavior for individual columns by setting the GridViewColumn.IsReorderable property. If the GridViewColumn.IsReorderable property and the GridViewDataControl.CanUserReorderColumns property are both set, a value of false will take precedence over a value of true.

Gets or sets a value that indicates whether the user can adjust column widths using the mouse.

C#
public bool CanUserResizeColumns { get; set; }
Property Value:

true if the user can resize columns; otherwise, false. The default is true.

Remarks:

You can set this behavior for individual columns by setting the GridViewColumn.IsResizable property. If the GridViewColumn.IsResizable property and the GridViewDataControl.CanUserResizeColumns property are both set, a value of false will take precedence over a value of true.

Gets or sets a value that indicates whether the user can adjust the height of rows by using the mouse.

C#
public bool CanUserResizeRows { get; set; }
Property Value:

true if the user can change the height of the rows; otherwise, false. The registered default is true.

Gets or sets a value that indicates whether the user can sort columns by clicking the column header.

C#
public bool CanUserSortColumns { get; set; }
Property Value:

true if the user can sort columns; otherwise, false. The default is true.

Remarks:

You can set this behavior for individual columns by setting the GridViewColumn.IsSortable property. If the GridViewColumn.IsSortable property and the GridViewDataControl.CanUserSortColumns property are both set, a value of false will take precedence over a value of true.

Gets or sets a value indicating whether this instance can user sort groups.

C#
public bool CanUserSortGroups { get; set; }
Property Value:

true if this instance can user sort groups; otherwise, false.

Property which caches the cells panel horizontal offset.

C#
public double CellsPanelHorizontalOffset { get; }

Represents a collection of table definitions.

C#
public TableDefinitionCollection ChildTableDefinitions { get; }

Gets or sets a value that indicates how data is copied to the clipboard.

C#
public GridViewClipboardCopyMode ClipboardCopyMode { get; set; }
Remarks:

Use this property to specify whether a user can copy GridViewDataControl content to the clipboard. If copying is allowed, this property can specify whether the clipboard copy will include column headers and/or footers.

The property which determines how content from the Clipboard is pasted into the GridViewDataControl.

C#
public GridViewClipboardPasteMode ClipboardPasteMode { get; set; }

Gets or sets the Brush that is used to paint the background of cells in grid columns.

C#
public Brush ColumnBackground { get; set; }
Property Value:

The column background.

Gets the collection of column groups.Columns in a group are represented by a common header.

C#
public RadObservableCollection<GridViewColumnGroup> ColumnGroups { get; }

Gets a collection that contains all the columns in the control.

C#
public GridViewColumnCollection Columns { get; }
Remarks:

Use the Columns collection to add columns, remove columns, or update properties on the columns. Each column in the Columns collection defines a column in the GridViewDataControl. Columns in the collection must derive from GridViewColumn. GridViewDataColumn, which adds support for binding, derives from GridViewColumn and is the base for the defined column types.

Gets or sets the standard width or automatic sizing mode of columns in the control.

C#
public GridViewLength ColumnWidth { get; set; }
Property Value:

A structure that represents the standard width or automatic sizing mode of columns in the DataGrid. The default is Auto.

Remarks:

By default, columns will automatically adjust their width to fit their contents. This property affects the width setting of every column in the control that does not have an explicit Width setting.

Gets or sets the control panel items.

C#
public ObservableCollection<IControlPanelItem> ControlPanelItems { get; set; }

Gets or sets the interval at which CollectionChanged events from a background thread are dispatched to the UI thread. The default value is TimeSpan.Zero - each CollectionChanged event is dispatched without any batching. If not TimeSpan.Zero, CollectionChanged events are aggregated and sent to the UI thread for processing them at once.

C#
public TimeSpan CrossThreadCollectionChangedInterval { get; set; }

Gets the current cell.

C#
public GridViewCell CurrentCell { get; }
Property Value:

The current cell.

Gets or sets the current cell info.

C#
public GridViewCellInfo CurrentCellInfo { get; set; }
Property Value:

The current cell info.

Gets or sets the column that contains the current cell.

C#
public GridViewColumn CurrentColumn { get; set; }
Property Value:

The column that contains the current cell.

Gets or sets the current merged cell.

C#
public GridViewMergedCell CurrentMergedCell { get; set; }
Property Value:

The current merged cell.

Gets or sets the property determining if the grid data loading should be asynchronous or not.

C#
public DataLoadMode DataLoadMode { get; set; }

Gets or sets the specific data member in a multimember data source to bind to a data listing control.

C#
public string DataMember { get; set; }

Gets or sets the default number of distinct values.

C#
public int DefaultDistinctValuesCount { get; set; }

Set action performed on dragging over elements.

C#
public DragAction DragElementAction { get; set; }

Gets or sets the edit triggers.

C#
public GridViewEditTriggers EditTriggers { get; set; }
Property Value:

The edit triggers.

Property which determines if column groups virtualization is enabled or disabled.

C#
public bool EnableColumnGroupsVirtualization { get; set; }

Property which determines if column virtualization is enabled or disabled.

C#
public bool EnableColumnVirtualization { get; set; }

Gets or sets a boolean value indicating whether a context menu will be shown when right-clicking the header cells.

C#
public bool EnableHeaderContextMenu { get; set; }
Remarks:

Setting this property to true requires a reference to the Telerik.Windows.Controls.Navigation assembly.

Gets or sets a value that indicates whether the lightweight text rendering mode is enabled.

C#
public bool EnableLightweightTextRendering { get; set; }
Remarks:

To enable this, the MergedCellsDirection should be None, CanUserFreezeColumns should be false and GroupRenderMode should be Flat. Additionally, the Content of GridViewCells will be null in this mode.

Property which determines if the row or cell "unfocused" selected state is enabled or disabled.

C#
public bool EnableLostFocusSelectedState { get; set; }

Gets or sets the EnableMouseWheelScaling property.

C#
public bool EnableMouseWheelScaling { get; set; }

Property which determines if row virtualization is enabled or disabled.

C#
public bool EnableRowVirtualization { get; set; }

Gets a collection of FilterDescriptor objects used to filter the items collection of this instance.

C#
public CompositeFilterDescriptorCollection FilterDescriptors { get; }
Property Value:

The filter descriptors.

Gets or sets the filter editor position.

C#
public FilterEditorPosition FilterEditorPosition { get; set; }
Remarks:

This property takes effect only when the FilteringMode is FilterEditor.

Gets or sets the property which controls whether the filtering dropdowns stay open when a click outside of the popups occurs. true if the popups will stay open, otherwise, false

C#
public bool FilteringDropDownStaysOpen { get; set; }

Gets or sets the filtering mode.

C#
public FilteringMode FilteringMode { get; set; }
Property Value:

The filtering mode.

Gets or sets the footer row style.

C#
public Style FooterRowStyle { get; set; }
Property Value:

The header row style.

Gets or sets the number of columns that the user cannot scroll horizontally.

C#
public int FrozenColumnCount { get; set; }
Property Value:

The number of non-scrolling columns.

Remarks:

Frozen columns are columns that are always displayed and cannot be scrolled out of visibility. Frozen columns are always the leftmost columns in display order.

Gets or sets the visibility of the left frozen columns splitter.

C#
public Visibility FrozenColumnsSplitterVisibility { get; set; }

Gets or sets a value that indicates which grid lines separating inner cells are shown.

C#
public GridLinesVisibility GridLinesVisibility { get; set; }
Property Value:

One of the enumeration values indicating which grid lines are shown. The default is Both.

Gets or sets a value for the text of the new row.

C#
public object GridViewNewRowContent { get; set; }

Gets or sets a DataTemplate for the text of the new row.

C#
public DataTemplate GridViewNewRowContentTemplate { get; set; }

Gets the number of groups.

C#
public int GroupCount { get; }
Property Value:

The number of groups.

Gets a collection of GroupDescriptor objects used to group the items collection of this instance.

C#
public GroupDescriptorCollection GroupDescriptors { get; }
Property Value:

The group descriptors.

Gets or sets the group footer row style.

C#
public Style GroupFooterRowStyle { get; set; }
Property Value:

The header row style.

Gets or sets the group footer row style selector.

C#
public StyleSelector GroupFooterRowStyleSelector { get; set; }
Property Value:

The group footer row style selector.

Gets or sets the template for the group headers.

C#
public DataTemplate GroupHeaderTemplate { get; set; }
Property Value:

The data template.

Gets or sets the color behind the content of the GroupPanel.

C#
public Brush GroupPanelBackground { get; set; }
Property Value:

The group panel background.

Gets or sets the foreground color of the GroupPanel.

C#
public Brush GroupPanelForeground { get; set; }
Property Value:

The group panel foreground.

Gets or sets the group panel cell style.

C#
public Style GroupPanelItemStyle { get; set; }
Property Value:

The group panel cell style.

Gets or sets the group panel style.

C#
public Style GroupPanelStyle { get; set; }
Property Value:

The group panel style.

Gets or sets the group row style.

C#
public Style GroupRowStyle { get; set; }
Property Value:

The group row style.

Gets or sets the group row style selector.

C#
public StyleSelector GroupRowStyleSelector { get; set; }
Property Value:

The group row style selector.

C#
protected override bool HandlesScrolling { get; }

Gets a value indicating whether this row data control has hierarchy or not. This is a dependency property.

C#
public bool HasHierarchy { get; }

Gets or sets the header row style.

C#
public Style HeaderRowStyle { get; set; }
Property Value:

The header row style.

Gets or sets the content templates for detail tables.

C#
public DataTemplate HierarchyChildTemplate { get; set; }
Remarks:

Please refer to HierarchyChildTemplate for more information on the property.

HierarchyChildTemplateSelector

DataTemplateSelector

Gets or sets the data template selector for the grid HierarchyChildTemplate.

C#
public DataTemplateSelector HierarchyChildTemplateSelector { get; set; }

Gets or sets the hierarchy expand button style.

C#
public Style HierarchyExpandButtonStyle { get; set; }
Property Value:

The hierarchy expand button style.

Gets or sets the hierarchy expand button style selector.

C#
public StyleSelector HierarchyExpandButtonStyleSelector { get; set; }
Property Value:

The hierarchy expand button style selector.

Gets or sets the horizontal grid lines brush.

C#
public Brush HorizontalGridLinesBrush { get; set; }
Property Value:

The horizontal grid lines brush.

Gets a value indicating whether the grid is currently busy. You can use this property to show/hide the grid loading indicator.

C#
public bool IsBusy { get; set; }

Property that allows you to set individual rows expandable state using Binding.

C#
public Binding IsExpandableBinding { get; set; }

Property that allows you to set individual rows expanded state using Binding.

C#
public Binding IsExpandedBinding { get; set; }

Gets or sets a value indicating whether the control can be filtered through the UI.

C#
public bool IsFilteringAllowed { get; set; }
Property Value:

true if the control can be filtered through the UI; otherwise, false.

Gets or sets a value indicating whether the Language property will be respected for defining CurrentCulture.

C#
public bool IsLocalizationLanguageRespected { get; set; }
Property Value:

true if Language will be respected; otherwise, false.

Gets or sets a value that indicates whether PropertyChanged call should be aggregated, or handled separately.

C#
public bool IsPropertyChangedAggregationEnabled { get; set; }

Gets or sets a value that indicates whether the user can edit the values in the control.

C#
public bool IsReadOnly { get; set; }
Property Value:

true if the control is read-only; otherwise, false. The default is false.

Remarks:

If the IsReadOnly property is set to true, none of the cells can enter editing mode. You can set this behavior for individual columns by setting the GridViewColumn.IsReadOnly property. If the DataGridColumn.IsReadOnly property and the GridViewColumn.IsReadOnly property are both set, a value of true will take precedence over a value of false.

Property that allows you to set individual rows into a readonly state using Binding.

C#
public Binding IsReadOnlyBinding { get; set; }

Gets or sets a value indicating whether the user is currently fast scrolling.

C#
public bool IsScrolling { get; set; }

Get or sets a value that indicates whether the filtering is enabled while searching.

C#
public bool IsSearchFilteringEnabled { get; set; }

Gets or sets a value indicating whether searching will be executed on each typing or one of the cases - on pressing Enter or losing the focus.

C#
public bool IsSearchingDeferred { get; set; }

Gets the keyboard command provider.

C#
public IKeyboardCommandProvider KeyboardCommandProvider { get; set; }
Property Value:

The keyboard command provider. This class provides command key mappings.

Gets or sets the number of columns that are frozen to the left side.

C#
public int LeftFrozenColumnCount { get; set; }

Gets or sets a value indicating the drag threshold of the left frozen splitter to change the number of the left frozen columns.

C#
public double LeftFrozenColumnSplitterThreshold { get; set; }

Gets or sets the maximum width of columns in the GridViewDataControl.

C#
public double MaxColumnWidth { get; set; }

Gets or sets the merged cells direction.

C#
public MergedCellsDirection MergedCellsDirection { get; set; }
Property Value:

The merged cells direction.

Gets or sets Style for MergedCells.

C#
public Style MergedCellsStyle { get; set; }

Gets or sets the StyleSelector for MergedCells.

C#
public StyleSelector MergedCellsStyleSelector { get; set; }

Gets or sets the minimum width of columns in the GridViewDataControl.

C#
public double MinColumnWidth { get; set; }
Property Value:

The minimum column width in pixels. The default is 20.

Remarks:

PositiveInfinity, NaN, 0 or negative values are not allowed.

Gets or sets the number of rows to be scrolled up or down when using the mouse wheel. Negative values will effectively reverse the mouse wheel scroll direction.

C#
public int MouseWheelScrollDelta { get; set; }

Gets or sets the ModifierKeys that trigger the multiple column sorting when a GridViewHeaderCell is clicked.

C#
public ModifierKeys MultipleColumnSortModifiers { get; set; }

Gets or sets a value indicating where to show new row.

C#
public GridViewNewRowPosition NewRowPosition { get; set; }

Gets or sets the "new" row style.

C#
public Style NewRowStyle { get; set; }
Property Value:

The "new" row style.

Property which gets/sets the start x coordinate of non frozen columns in view port.

C#
public double NonFrozenColumnsViewportHorizontalOffset { get; }

Property which gets/sets the start x coordinate of non frozen columns in view port.

C#
public double NonFrozenColumnsViewportHorizontalOffsetRight { get; }

Gets or sets the container for this instance in hierarchy structure.

C#
public GridViewRow ParentRow { get; set; }
Property Value:

The parent row.

Gets all pending commands.

C#
public List<ICommand> PendingCommands { get; }
Property Value:

The pending commands.

Gets or sets a value indicating where to show pinned rows.

C#
public GridViewPinnedRowsPosition PinnedRowsPosition { get; set; }

Gets or sets the visual mode of reordering columns.

C#
public ColumnReorderOptions ReorderColumnsMode { get; set; }

Gets or sets the number of columns that are frozen to the right side.

C#
public int RightFrozenColumnCount { get; set; }

Gets or sets a value indicating the drag threshold of the right frozen splitter to change the number of the right frozen columns.

C#
public double RightFrozenColumnSplitterThreshold { get; set; }

Gets or sets the visibility of the right frozen columns splitter.

C#
public Visibility RightFrozenColumnsSplitterVisibility { get; set; }

Gets the IDetailsProvider for this GridViewDataControl. If you are using an external DetailsPresenter you should assign its DetailsProvider property to this one. This synchronizes the GridViewDataControl with the external details presenter.

C#
public IDetailsProvider RowDetailsProvider { get; }

Gets or sets the row details presenter style.

C#
public Style RowDetailsStyle { get; set; }
Property Value:

The row details presenter style.

Gets or sets the row details style selector.

C#
public StyleSelector RowDetailsStyleSelector { get; set; }
Property Value:

The grid row details style selector.

RowDetailsTemplate

DataTemplate

Gets or sets the template that is used to display the content of the details section of rows.

C#
public DataTemplate RowDetailsTemplate { get; set; }
Property Value:

The template that is used to display row details. The default is null.

Remarks:

In the XAML usage, both attribute and property element syntax for RowDetailsTemplate are shown. Defining the template inline as opposed to referencing an existing one as a resource are both equally valid scenarios.

RowDetailsTemplateSelector

DataTemplateSelector

Gets or sets the data template selector for the grid row details row.

C#
public DataTemplateSelector RowDetailsTemplateSelector { get; set; }

Gets or sets the GridViewRowDetailsVisibilityMode that determines the way row details are displayed.

C#
public GridViewRowDetailsVisibilityMode RowDetailsVisibilityMode { get; set; }

Gets or sets the row height for all rows.

C#
public double RowHeight { get; set; }
Property Value:

The height of the rows, in device-independent units. The registered default is 25.

Remarks:

By default the grid rows are measured with NaN ("Auto" in XAML) height to make the row automatically adjust its size to fit its content. When you set a value for the RowHeight property, it must be equal to or greater than 0.0. Double.PositiveInfinity is not a valid value for this property. The value restrictions on the Double value are enforced by a ValidateValueCallback mechanism. If you attempt to set a value that is not valid, a run-time exception is thrown.

Gets or sets the row indicator visibility.

C#
public Visibility RowIndicatorVisibility { get; set; }
Property Value:

The row indicator visibility.

Gets the row in edit mode of the GridViewDataControl.

C#
public GridViewRow RowInEditMode { get; }
Property Value:

The row in edit mode of the GridViewDataControl.

Gets or sets the style that is used when rendering the rows.

C#
public Style RowStyle { get; set; }
Property Value:

The style applied to rows. The default is null.

Remarks:

Whether defined as an inline style or as a resource, the Style defines the appearance of a row in the data grid, and should specify a TargetType of GridViewRow. You typically would specify setters for individual properties, and might also use a setter for the Template property if you wanted to change the composition of elements. For information that can help you decide whether to define styles inline or as resources, see Styles and Templates.

RowStyleSelector

StyleSelector

Gets or sets the "normal" row style selector.

C#
public StyleSelector RowStyleSelector { get; set; }
Property Value:

The row style selector.

Gets or sets the ScaleFactor property.

C#
public double ScaleFactor { get; set; }

Gets or sets the scroll mode of the GridViewDataControl.

C#
public ScrollUpdateMode ScrollMode { get; set; }
Property Value:

The scroll mode.

Gets or sets the data template used by the scroll position indicator in deferred scroll mode . This is a dependency property.

C#
public DataTemplate ScrollPositionIndicatorTemplate { get; set; }

Gets or sets the color behind the content of the SearchPanel.

C#
public Brush SearchPanelBackground { get; set; }
Property Value:

The search panel background.

Gets or sets a value corresponding to the GridViewSearchPanel's close button visibility.

C#
public Visibility SearchPanelCloseButtonVisibility { get; set; }

Gets or sets the foreground color of the SearchPanel.

C#
public Brush SearchPanelForeground { get; set; }
Property Value:

The search panel foreground.

Gets or sets the SearchStateManager associated with this control.

C#
public SearchStateManager SearchStateManager { get; set; }

Gets the selected cells.

C#
public IList<GridViewCellInfo> SelectedCells { get; }

SelectionMode

SelectionMode

Gets or sets the selection behavior for a GridViewDataControl

C#
public SelectionMode SelectionMode { get; set; }
Property Value:

One of the enumeration values specifying the selection behavior. The default is Single.

Remarks:

Set the SelectionMode to specify whether users can select multiple rows or only a single row at a time.

Defines what units can be selected.

C#
public GridViewSelectionUnit SelectionUnit { get; set; }

Gets or sets a value indicating whether column's filtering control should be closed automatically when keyboard focus is changed.

C#
public bool ShouldCloseFilteringPopupOnKeyboardFocusChanged { get; set; }

Gets or sets a value that indicates whether the user can change the column display order by dragging group panel cells on column headers with the mouse.

C#
public bool ShouldReorderColumnsOnUngrouping { get; set; }
Property Value:

true if the user can reorder columns; otherwise, false.

Gets or set a value that indicates whether IEditableObject methods are automatically invoked by GridViewDataControl's data engine.

C#
public bool ShouldRespectIEditableObject { get; set; }

Gets or sets a value indicating whether to show column footers.

C#
public bool ShowColumnFooters { get; set; }

Gets or sets a value indicating whether to show column headers.

C#
public bool ShowColumnHeaders { get; set; }

Gets or sets a value indicating whether column sort indexes are displayed.

C#
public bool ShowColumnSortIndexes { get; set; }
Property Value:

A value indicating whether column sort indexes are displayed.

Gets or sets a value indicating whether to show column group footers.

C#
public bool ShowGroupFooters { get; set; }

Gets or sets a value indicating whether to show a group panel.

C#
public bool ShowGroupPanel { get; set; }

Gets or sets a value that indicates whether the ScrollPositionIndicator will be shown while deferred scrolling.

C#
public bool ShowScrollPositionIndicator { get; set; }

Gets or sets a value indicating whether to show the search panel.

C#
public bool ShowSearchPanel { get; set; }

Gets or sets a value that indicates whether a ToolTip will be visualized if the text in the cells is trimmed.

C#
public bool? ShowToolTipOnTrimmedText { get; set; }
Property Value:

true if a ToolTip will be visualized; otherwise, false. The registered default is false.

Gets a collection of SortDescriptor objects used to sort the items collection of this instance.

C#
public SortDescriptorCollection SortDescriptors { get; }
Property Value:

The sort descriptors.

Gets or sets the amount of time (in milliseconds) that the trimmed text tooltip remains visible.

C#
public int ToolTipOnTrimmedTextShowDuration { get; set; }
Property Value:

The default value is 5000 milliseconds.

Denotes in which mode RadGridView will perform data validation.

C#
public GridViewValidationMode ValidatesOnDataErrors { get; set; }
Property Value:

The default value is a combination between all modes (InViewMode and InEditMode).

Remarks:

This property will checks for errors that are raised by the IDataErrorInfo and INotifyDataErrorInfo implementation of the source object.

Gets or sets a value indicating what validation type should be processed by RadGridView.

C#
public GridViewValidationType ValidationType { get; set; }
Property Value:

The default value is a combination between all types (DataAnnotations, IDataErrorInfo and INotifyDataErrorInfo).

Gets or sets the vertical grid lines brush.

C#
public Brush VerticalGridLinesBrush { get; set; }
Property Value:

The vertical grid lines brush.

Gets or sets the visible rows height.

C#
public double VisibleRowsHeight { get; set; }
Property Value:

The visible rows height.

Remarks:

The property value is always greater or equal to the scroll viewport height.

ZoomScaleTransform

ScaleTransform

Gets the ZoomScaleTransform property.

C#
[Browsable(false)]
public ScaleTransform ZoomScaleTransform { get; }

Methods

Causes the RadGridView to enter editing mode for the current cell and current row, unless the data grid is already in editing mode.

C#
public bool BeginEdit()
Returns:

bool

true if the RadGridView enters editing mode; otherwise, false.

Causes the RadGridView to enter editing mode for the current cell and current row, unless the data grid is already in editing mode.

C#
public bool BeginEdit(RoutedEventArgs editEventArgs)
Parameters:editEventArgsRoutedEventArgs

The RoutedEventArgs instance containing the event data.

Returns:

bool

true if the RadGridView enters editing mode; otherwise, false.

Causes the RadGridView to show new row and enter into EditMode.

C#
public bool BeginInsert()
Returns:

bool

true if new row enters editing mode; otherwise, false.

Builds a hierarchy from a data set.

C#
public void BuildHierarchyFromDataSet()

Calculate all columns aggregate functions.

C#
public virtual void CalculateAggregates()

Causes the data grid to cancel the current edit, restore the original value, and exit editing mode.

C#
public void CancelEdit()

When overridden in a derived class, undoes the effects of the PrepareContainerForGroupOverride method.

C#
protected override void ClearContainerForGroupOverride(DependencyObject element, object item)
Parameters:elementDependencyObject

The container element.

itemobject

The item.

Overrides: BaseItemsControl.ClearContainerForGroupOverride(DependencyObject, object)

When overridden in a derived class, undoes the effects of the PrepareContainerForItemOverride method.

C#
protected override void ClearContainerForItemOverride(DependencyObject element, object item)
Parameters:elementDependencyObject

The container element.

itemobject

The item.

Overrides: BaseItemsControl.ClearContainerForItemOverride(DependencyObject, object)

Collapses all groups recursively.

C#
public void CollapseAllGroups()

Collapses all hierarchy items.

C#
public void CollapseAllHierarchyItems()

Collapses all hierarchy items.

C#
public void CollapseAllHierarchyItems(bool preserveLocalSettings)
Parameters:preserveLocalSettingsbool

Indicates whether the method overrides the settings set by the RowStyle or RowStyleSelectorProperties.

Collapses the visual group for the given IGroup.

C#
public void CollapseGroup(IGroup group)
Parameters:groupIGroup

The group to collapse.

Collapses the visual GridViewRow for the given item.

C#
public void CollapseHierarchyItem(object hierarchyItem, bool preserveLocalSettings)
Parameters:hierarchyItemobject

The hierarchy item to collapse.

preserveLocalSettingsbool

Indicates whether the method overrides the settings set by the RowStyle or RowStyleSelectorProperties.

Collapses the visual GridViewRow for the given item.

C#
public void CollapseHierarchyItem(object hierarchyItem)
Parameters:hierarchyItemobject

The hierarchy item to collapse.

Returns the GridViewColumn with the given DisplayIndex.

C#
public GridViewColumn ColumnFromDisplayIndex(int displayIndex)
Parameters:displayIndexintReturns:

GridViewColumn

Commits the edit.

C#
public bool CommitEdit()
Returns:

bool

Commits the edit of the row.

C#
public virtual bool CommitRowEdit(GridViewRow gridViewRow)
Parameters:gridViewRowGridViewRowReturns:

bool

CreateItem()

DependencyObject

Creates the container for a simple data record.

C#
protected virtual DependencyObject CreateItem()
Returns:

DependencyObject

Creates the specific table definition for the DataControl.

C#
protected override TableDefinition CreateTableDefinition()
Returns:

TableDefinition

The newly created TableDefinition.

Overrides: DataControl.CreateTableDefinition()

Enters a defer cycle that you can use to merge changes to the view and delay automatic refresh.

C#
public IDisposable DeferRefresh()
Returns:

IDisposable

An IDisposable object that you can use to dispose of the calling object.

Indicates that the initialization process for the element is complete.

C#
public override void EndInit()
Exceptions:

InvalidOperationException

was called without having previously been called on the element.

Executes all pending commands in a sequence.

C#
public void ExecutePendingCommand()

Expands all groups recursively.

C#
public void ExpandAllGroups()

Expands all hierarchy items.

C#
public void ExpandAllHierarchyItems()

Expands all hierarchy items.

C#
public void ExpandAllHierarchyItems(bool preserveLocalSettings)
Parameters:preserveLocalSettingsbool

Indicates whether the method overrides the settings set by the RowStyle or RowStyleSelectorProperties.

Set expand state for the given IGroup. If the group is nested all parent groups will be expanded.

C#
public void ExpandGroup(IGroup group)
Parameters:groupIGroup

The group to expand.

Expands the visual GridViewRow for the given item.

C#
public void ExpandHierarchyItem(object hierarchyItem, bool preserveLocalSettings)
Parameters:hierarchyItemobject

The hierarchy item to expand.

preserveLocalSettingsbool

Indicates whether the method overrides the settings set by the RowStyle or RowStyleSelectorProperties.

Expands the visual GridViewRow for the given item.

C#
public void ExpandHierarchyItem(object hierarchyItem)
Parameters:hierarchyItemobject

The hierarchy item to expand.

Exports RadGridView to the specified stream.

C#
public void Export(Stream stream, GridViewExportOptions options)
Parameters:streamStreamoptionsGridViewExportOptions

Asynchronously exports RadGridView to the specified stream.

C#
public void ExportAsync(Stream stream, Action exportFinishedCallback, GridViewExportOptions options, bool shouldDisposeStream)
Parameters:streamStreamexportFinishedCallbackActionoptionsGridViewExportOptionsshouldDisposeStreambool

Asynchronously exports RadGridView to the specified stream.

C#
public void ExportAsync(Stream stream, GridViewExportOptions options, bool shouldDisposeStream)
Parameters:streamStreamoptionsGridViewExportOptionsshouldDisposeStreambool

Creates or identifies the element that is used to display the given item.

C#
protected override DependencyObject GetContainerForItemOverride(object item)
Parameters:itemobjectReturns:

DependencyObject

The element that is used to display the given item.

Overrides: BaseItemsControl.GetContainerForItemOverride(object)

Returns distinct values for a given column.

C#
public IEnumerable GetDistinctValues(GridViewColumn column, bool filter, int? maximumValueCount)
Parameters:columnGridViewColumn

The column.

filterbool

A value indicating whether to filter the distinct values base on other columns' existing filters.

maximumValueCountint?

The maximum amount of distinct values to return. If you specify null for this parameter, then all distinct values will be returned.

Returns:

IEnumerable

An IEnumerable containing the distinct values.

Remarks:

The 'filter' parameter specifies whether distinct values should be filtered according to other columns' active filters. For example, if we have countries and players and we have filtered by CountryX, when we request all distinct players, if 'filter' is true we will get players from CountryX only. If 'filter' is false we will get all distinct players.

Returns the first 1000 distinct values for the given column.

C#
public IEnumerable GetDistinctValues(GridViewColumn column, bool filter)
Parameters:columnGridViewColumn

The column.

filterbool

A value indicating whether to filter the distinct values based on other columns' existing filters.

Returns:

IEnumerable

An IEnumerable containing the distinct values.

Remarks:

The 'filter' parameter specifies whether distinct values should be filtered according to other columns' active filters. For example, if we have countries and players and we have filtered by CountryX, when we request all distinct players, if 'filter' is true we will get players from CountryX only. If 'filter' is false we will get all distinct players.

Gets the row for an item.

C#
public GridViewRow GetRowForItem(object item)
Parameters:itemobjectReturns:

GridViewRow

The row for the corresponding item.

Gets the selection anchor cell. This cell is used as a starting point when selecting range using the SHIFT key.

C#
public GridViewCellInfo GetSelectionAnchorCell()
Returns:

GridViewCellInfo

Anchor cell.

Gets the selection anchor item. This item is used as a starting point when selecting range using the SHIFT key.

C#
public object GetSelectionAnchorItem()
Returns:

object

Anchor item.

Initializes the selection.

C#
protected override void InitializeSelection()

Overrides: DataControl.InitializeSelection()

Gets the expanded state of a group in GridViewDataControl.

C#
public bool IsExpanded(IGroup group)
Parameters:groupIGroup

The group.

Returns:

bool

The state.

Gets the expanded state of a given item.

C#
public bool IsExpanded(object item)
Parameters:itemobject

The item.

Returns:

bool

The state.

C#
protected override Size MeasureOverride(Size availableSize)
Parameters:availableSizeSizeReturns:

Size

Raises the AddingNewDataItem event.

C#
public virtual void OnAddingNewDataItem(GridViewAddingNewEventArgs e)
Parameters:eGridViewAddingNewEventArgs

The GridViewAddingNewEventArgs instance containing the event data.

Invoked when the AlternationCount property changes.

C#
protected override void OnAlternationCountChanged(int oldAlternationCount, int newAlternationCount)
Parameters:oldAlternationCountint

The old value of AlternationCount.

newAlternationCountint

The new value of AlternationCount.

Overrides: BaseItemsControl.OnAlternationCountChanged(int, int)

C#
public override void OnApplyTemplate()

Raises the AutoGeneratingColumn event.

C#
protected virtual void OnAutoGeneratingColumn(GridViewAutoGeneratingColumnEventArgs e)
Parameters:eGridViewAutoGeneratingColumnEventArgs

Called when property CanUserSelect changes.

C#
protected override void OnCanUserSelectChanged(bool oldValue, bool newValue)
Parameters:oldValuebool

Old property value.

newValuebool

New property value.

Overrides: DataControl.OnCanUserSelectChanged(bool, bool)

Called when the DisplayIndex of a column is modified.

C#
protected virtual void OnColumnDisplayIndexChanged(GridViewColumnEventArgs e)
Parameters:eGridViewColumnEventArgs
Remarks:

A column's DisplayIndex may be modified as the result of another column's DisplayIndex changing. This is because the GridViewDataControl enforces that the DisplayIndex of all Columns are unique integers from 0 to Columns.Count -1.

Called when the column is reordered.

C#
protected virtual void OnColumnReordered(GridViewColumnEventArgs e)
Parameters:eGridViewColumnEventArgs

GridViewColumnEventArgs containing the reordered column.

Called when the current item of the DataControl is changed.

C#
protected override void OnCurrentItemChanged()

Overrides: DataControl.OnCurrentItemChanged()

Raises the FilterOperatorsLoading event.

C#
protected virtual void OnFilterOperatorsLoading(FilterOperatorsLoadingEventArgs e)
Parameters:eFilterOperatorsLoadingEventArgs
C#
protected override void OnGotFocus(RoutedEventArgs e)
Parameters:eRoutedEventArgs

Called when the GridViewGroupPanel is changed.

C#
protected virtual void OnGroupPanelChanged(GridViewGroupPanel oldPanel, GridViewGroupPanel newPanel)
Parameters:oldPanelGridViewGroupPanel

The old panel.

newPanelGridViewGroupPanel

The new panel.

Called when the virtualization mode changes.

C#
protected override void OnGroupRenderModeChanged()

Overrides: BaseItemsControl.OnGroupRenderModeChanged()

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

Invoked when the Items property changes.

C#
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
Parameters:eNotifyCollectionChangedEventArgs

Information about the change.

Overrides: BaseItemsControl.OnItemsChanged(NotifyCollectionChangedEventArgs)

Called when this.Items collection changes.

C#
protected override void OnItemsCollectionChanged(object sender, NotifyCollectionChangedEventArgs e)
Parameters:senderobject

The sender.

eNotifyCollectionChangedEventArgs

The NotifyCollectionChangedEventArgs instance containing the event data.

Overrides: BaseItemsControl.OnItemsCollectionChanged(object, NotifyCollectionChangedEventArgs)

Called when this.Items has a property changed.

C#
protected override void OnItemsPropertyChanged(object sender, PropertyChangedEventArgs e)
Parameters:senderobject

The sender.

ePropertyChangedEventArgs

The PropertyChangedEventArgs instance containing the event data.

Overrides: DataControl.OnItemsPropertyChanged(object, PropertyChangedEventArgs)

Called when ItemsSource property has changed.

C#
protected override void OnItemsSourceChanged(object oldValue, object newValue)
Parameters:oldValueobject

The old value.

newValueobject

The new value.

Overrides: BaseItemsControl.OnItemsSourceChanged(object, object)

C#
protected override void OnKeyDown(KeyEventArgs e)
Parameters:eKeyEventArgs

Raises the LoadingRowDetails event.

C#
protected virtual void OnLoadingRowDetails(GridViewRowDetailsEventArgs e)
Parameters:eGridViewRowDetailsEventArgs
C#
protected override void OnLostFocus(RoutedEventArgs e)
Parameters:eRoutedEventArgs
C#
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters:eMouseButtonEventArgs
C#
protected override void OnMouseMove(MouseEventArgs e)
Parameters:eMouseEventArgs
C#
protected override void OnMouseWheel(MouseWheelEventArgs e)
Parameters:eMouseWheelEventArgs

Called when property NewRowPosition changes.

C#
protected virtual void OnNewRowPositionChanged()

Called when property PinnedRowsPosition changes.

C#
protected virtual void OnPinnedRowsPositionChanged()
C#
protected override void OnPreviewMouseWheel(MouseWheelEventArgs e)
Parameters:eMouseWheelEventArgs

Raises the RowDetailsVisibilityChanged event.

C#
protected virtual void OnRowDetailsVisibilityChanged(GridViewRowDetailsEventArgs e)
Parameters:eGridViewRowDetailsEventArgs

Raises the RowDetailsVisibilityChanging event.

C#
protected virtual void OnRowDetailsVisibilityChanging(RowDetailsVisibilityChangingEventArgs e)
Parameters:eRowDetailsVisibilityChangingEventArgs

Raises the SearchPanelVisibilityChanged event.

C#
protected virtual void OnSearchPanelVisibilityChanged(VisibilityChangedEventArgs e)
Parameters:eVisibilityChangedEventArgs

Raises the SelectedCellsChangingEvent event.

C#
protected virtual void OnSelectedCellsChanging(GridViewSelectedCellsChangingEventArgs args)
Parameters:argsGridViewSelectedCellsChangingEventArgs

The GridViewSelectedCellsChangingEventArgs instance containing the event data.

Called when the selected item of the DataControl is changed.

C#
protected override void OnSelectedItemChanged(object oldItem, object newItem)
Parameters:oldItemobjectnewItemobject

Overrides: DataControl.OnSelectedItemChanged(object, object)

Called when property ShowColumnFooters changes.

C#
protected virtual void OnShowColumnFootersChanged(bool oldValue, bool newValue)
Parameters:oldValuebool

Old property value.

newValuebool

New property value.

Called when property ShowColumnHeaders changes.

C#
protected virtual void OnShowColumnHeadersChanged(bool oldValue, bool newValue)
Parameters:oldValuebool

Old property value.

newValuebool

New property value.

Called when property ShowGroupPanel changes.

C#
protected virtual void OnShowGroupPanelChanged(bool oldValue, bool newValue)
Parameters:oldValuebool

Old property value.

newValuebool

New property value.

Called when property ShowSearchPanel changes.

C#
protected virtual void OnShowSearchPanelChanged(bool oldValue, bool newValue)
Parameters:oldValuebool

Old property value.

newValuebool

New property value.

C#
protected override void OnTextInput(TextCompositionEventArgs e)
Parameters:eTextCompositionEventArgs

Raises the UnloadingRowDetails event.

C#
protected virtual void OnUnloadingRowDetails(GridViewRowDetailsEventArgs e)
Parameters:eGridViewRowDetailsEventArgs

Prepares the specified element to display the specified item.

C#
protected override void PrepareContainerForGroupItemOverride(DependencyObject element, object item)
Parameters:elementDependencyObjectitemobject

Overrides: BaseItemsControl.PrepareContainerForGroupItemOverride(DependencyObject, object)

Prepares the specified element to display the specified item.

C#
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameters:elementDependencyObjectitemobject

Overrides: BaseItemsControl.PrepareContainerForItemOverride(DependencyObject, object)

Raises the selection changed event.

C#
protected override void RaiseSelectionChangedEvent(SelectionChangeEventArgs args)
Parameters:argsSelectionChangeEventArgs

The SelectionChangeEventArgs instance containing the event data.

Overrides: DataControl.RaiseSelectionChangedEvent(SelectionChangeEventArgs)

Register application commands.

C#
protected virtual void RegisterCopyPasteApplicationCommands()

Reorders the columns.

C#
public void ReorderColumns(int oldIndex, int newIndex)
Parameters:oldIndexint

The old index.

newIndexint

The new index.

Scrolls the cell with the specified row index and the column into view.

C#
public void ScrollIndexIntoView(int index, GridViewColumn column)
Parameters:indexint

The row index to scroll into view.

columnGridViewColumn

The column to scroll into view.

Remarks:

If the column parameter is null then only vertical scroll is performed.

Scrolls the item with the specified index into view.

C#
public void ScrollIndexIntoView(int index)
Parameters:indexint

The index of the item.

Scrolls the row with the specified index into view in an asynchronous manner.

C#
public void ScrollIndexIntoViewAsync(int index, Action<FrameworkElement> scrollFinishedCallback, Action scrollFailedCallback)
Parameters:indexint

The index to scroll into view.

scrollFinishedCallbackAction<FrameworkElement>

The method to execute when scrolling has finished.

scrollFailedCallbackAction

The method to execute when scrolling has failed.

Remarks:

Since this method is asynchronous, calling it will return immediately. If you need to perform a certain action once the scrolling is done use the scrollFinishedCallback parameter to pass in a method to execute. The FrameworkElement parameter of this method will be the row that was just scrolled.

Scrolls the row with the specified index into view in an asynchronous manner.

C#
public void ScrollIndexIntoViewAsync(int index, Action<FrameworkElement> scrollFinishedCallback)
Parameters:indexint

The index to scroll into view.

scrollFinishedCallbackAction<FrameworkElement>

The method to execute when scrolling has finished.

Remarks:

Since this method is asynchronous, calling it will return immediately. If you need to perform a certain action once the scrolling is done use the scrollFinishedCallback parameter to pass in a method to execute. The FrameworkElement parameter of this method will be the row that was just scrolled.

Scrolls the row with the specified index and GridViewColumn into view in an asynchronous manner.

C#
public void ScrollIndexIntoViewAsync(int index, GridViewColumn column, Action<FrameworkElement> scrollFinishedCallback, Action scrollFailedCallback)
Parameters:indexint

The row index to scroll into view.

columnGridViewColumn

The column to scroll into view.

scrollFinishedCallbackAction<FrameworkElement>

The method to execute when scrolling has finished.

scrollFailedCallbackAction

The method to execute when scrolling has failed.

Remarks:

Since this method is asynchronous, calling it will return immediately. If you need to perform a certain action once the scrolling is done use the scrollFinishedCallback parameter to pass in a method to execute. The FrameworkElement parameter of this method will be the row that was just scrolled.

Scrolls a cell into view.

C#
public void ScrollIntoView(object dataItem, GridViewColumn column)
Parameters:dataItemobject

The data item to scroll into view.

columnGridViewColumn

The column to scroll into view.

Remarks:

If the column parameter is null then only vertical scroll is performed. If the dataItem parameter is null then only horizontal scroll is performed.

Scrolls the row containing the data item into view.

C#
public void ScrollIntoView(object dataItem)
Parameters:dataItemobject

The data item to scroll into view.

Scrolls the row containing the data item into view in an asynchronous manner.

C#
public void ScrollIntoViewAsync(object dataItem, Action<FrameworkElement> scrollFinishedCallback, Action scrollFailedCallback)
Parameters:dataItemobject

The data item to scroll into view.

scrollFinishedCallbackAction<FrameworkElement>

The method to execute when scrolling has finished.

scrollFailedCallbackAction

The method to execute when scrolling has failed.

Remarks:

Since this method is asynchronous, calling it will return immediately. If you need to perform a certain action once the scrolling is done use the scrollFinishedCallback parameter to pass in a method to execute. The FrameworkElement parameter of this method will be the row that was just scrolled.

Scrolls the row containing the data item into view in an asynchronous manner.

C#
public void ScrollIntoViewAsync(object dataItem, Action<FrameworkElement> scrollFinishedCallback)
Parameters:dataItemobject

The data item to scroll into view.

scrollFinishedCallbackAction<FrameworkElement>

The method to execute when scrolling has finished.

Remarks:

Since this method is asynchronous, calling it will return immediately. If you need to perform a certain action once the scrolling is done use the scrollFinishedCallback parameter to pass in a method to execute. The FrameworkElement parameter of this method will be the row that was just scrolled.

Scrolls the row containing the data item and GridViewColumn into view in an asynchronous manner.

C#
public void ScrollIntoViewAsync(object dataItem, GridViewColumn column, Action<FrameworkElement> scrollFinishedCallback, Action scrollFailedCallback)
Parameters:dataItemobject

The data item to scroll into view.

columnGridViewColumn

The column to scroll into view.

scrollFinishedCallbackAction<FrameworkElement>

The method to execute when scrolling has finished.

scrollFailedCallbackAction

The method to execute when scrolling has failed.

Remarks:

Since this method is asynchronous, calling it will return immediately. If you need to perform a certain action once the scrolling is done use the scrollFinishedCallback parameter to pass in a method to execute. The FrameworkElement parameter of this method will be the row that was just scrolled.

Scrolls the row containing the data item and GridViewColumn into view in an asynchronous manner.

C#
public void ScrollIntoViewAsync(object dataItem, GridViewColumn column, Action<FrameworkElement> scrollFinishedCallback)
Parameters:dataItemobject

The data item to scroll into view.

columnGridViewColumn

The column to scroll into view.

scrollFinishedCallbackAction<FrameworkElement>

The method to execute when scrolling has finished.

Remarks:

Since this method is asynchronous, calling it will return immediately. If you need to perform a certain action once the scrolling is done use the scrollFinishedCallback parameter to pass in a method to execute. The FrameworkElement parameter of this method will be the row that was just scrolled.

Selects specified items.

C#
public void Select(IEnumerable items)
Parameters:itemsIEnumerable

Selects all grid data items.

C#
public void SelectAll()

Selects all the items in the given range.

C#
public void SelectItemsRange(int startIndex, int endIndex, bool shouldClearCurrentSelection)
Parameters:startIndexintendIndexintshouldClearCurrentSelectionbool

Selects all the items in the given range.

C#
public void SelectItemsRange(object startItem, object endItem, bool shouldClearCurrentSelection)
Parameters:startItemobjectendItemobjectshouldClearCurrentSelectionbool

Sets the current state for a container that wraps a given data item.

C#
protected override void SetIsCurrent(object item, bool isCurrent)
Parameters:itemobject

The data item.

isCurrentbool

If set to true container is current.

Overrides: DataControl.SetIsCurrent(object, bool)

Sets the selection state for a container that wraps a given data item.

C#
protected override void SetIsSelected(object item, bool isSelected)
Parameters:itemobject

The data item.

isSelectedbool

If set to true container is selected.

Overrides: DataControl.SetIsSelected(object, bool)

Sets the selection anchor item and cell. This item/cell is used as a starting point when selecting range using the SHIFT key.

C#
public void SetSelectionAnchor(GridViewCellInfo anchorInfo)
Parameters:anchorInfoGridViewCellInfo

The item/cell that should be used as selection anchor.

Sets the selection anchor item. This item is used as a starting point when selecting range using the SHIFT key.

C#
public void SetSelectionAnchor(object anchorItem)
Parameters:anchorItemobject

The item that should be used as selection anchor.

Indicates whether recycled containers should be cleared after CollectionChanged.Reset.

C#
protected virtual bool ShouldDestroyContainersOnReset()
Returns:

bool

Unselects specified items.

C#
public void Unselect(IEnumerable items)
Parameters:itemsIEnumerable

Unselects all grid data items.

C#
public void UnselectAll()

Events

Occurs before a new data item is added. This event enables providing custom logic when inserting a new item in a data source.

C#
public event EventHandler<GridViewAddingNewEventArgs> AddingNewDataItem

Occurs one time for each public, non-static property in the bound data type when the ItemsSource property is changed and the AutoGenerateColumns property is true.

C#
public event EventHandler<GridViewAutoGeneratingColumnEventArgs> AutoGeneratingColumn

Occurs before a cell or row enters editing mode.

C#
public event EventHandler<GridViewBeginningEditRoutedEventArgs> BeginningEdit

Occurs when a cell edit ended.

C#
public event EventHandler<GridViewCellEditEndedEventArgs> CellEditEnded

Occurs when a cell is loaded.

C#
public event EventHandler<CellEventArgs> CellLoaded

Occurs when a cell is loaded.

C#
public event EventHandler<CellEventArgs> CellUnloaded

Occurs when a cell is validated.

C#
public event EventHandler<GridViewCellValidatedEventArgs> CellValidated

Occurs when a cell is validating.

C#
public event EventHandler<GridViewCellValidatingEventArgs> CellValidating

Event that is fired when the DisplayIndex on one of the GridViewDataControl's Columns changes.

C#
public event EventHandler<GridViewColumnEventArgs> ColumnDisplayIndexChanged

Occurs when a column is reordered.

C#
public event EventHandler<GridViewColumnEventArgs> ColumnReordered

Occurs before the column is reordered.

C#
public event EventHandler<ColumnReorderingEventArgs> ColumnReordering

Occurs when column width changed.

C#
public event EventHandler<ColumnWidthChangedEventArgs> ColumnWidthChanged

Occurs when column width changed.

C#
public event EventHandler<ColumnWidthChangingEventArgs> ColumnWidthChanging

Occurs after the selected cells of the GridViewDataControl were copied to the Clipboard.

C#
public event EventHandler<RadRoutedEventArgs> Copied

Occurs before the selected cells of the GridViewDataControl are copied to the Clipboard.

C#
public event EventHandler<GridViewClipboardEventArgs> Copying

Occurs before a cell is copied to the Clipboard.

C#
public event EventHandler<GridViewCellClipboardEventArgs> CopyingCellClipboardContent

Occurs when the current cell info was changed.

C#
public event EventHandler<GridViewCurrentCellInfoChangedEventArgs> CurrentCellInfoChanged

Occurs when a data error occurs while committing changed data.

C#
public event EventHandler<DataErrorEventArgs> DataError

Occurs when the grid data are loaded.

C#
public event EventHandler<EventArgs> DataLoaded

Occurs when the grid data is about to load data.

C#
public event EventHandler<GridViewDataLoadingEventArgs> DataLoading

Occurs after deletion was performed.

C#
public event EventHandler<GridViewDeletedEventArgs> Deleted

Occurs before deletion is performed.

C#
public event EventHandler<GridViewDeletingEventArgs> Deleting

Occurs when the grid column distinct values is about to be loaded.

C#
public event EventHandler<GridViewDistinctValuesLoadingEventArgs> DistinctValuesLoading

Occurs after element export.

C#
public event EventHandler<GridViewElementExportedEventArgs> ElementExported

Occurs after element export to XLSX or PDF.

C#
public event EventHandler<GridViewElementExportedToDocumentEventArgs> ElementExportedToDocument

Occurs before element export.

C#
public event EventHandler<GridViewElementExportingEventArgs> ElementExporting

Occurs before element export to XLSX or PDF.

C#
public event EventHandler<GridViewElementExportingToDocumentEventArgs> ElementExportingToDocument

Occurs when a field filter editor has been created. This event allows you to modify certain properties of the editor.

C#
public event EventHandler<EditorCreatedEventArgs> FieldFilterEditorCreated

Occurs after filter operation.

C#
public event EventHandler<GridViewFilteredEventArgs> Filtered

Occurs before filter operation.

C#
public event EventHandler<GridViewFilteringEventArgs> Filtering

Occurs before the filter operators of the filtering control are loaded. Use this event if you want to remove one or more of the filter operators or if you want to change the one selected by default.

C#
public event EventHandler<FilterOperatorsLoadingEventArgs> FilterOperatorsLoading

Occurs when a FrozenColumnsCount's property changed.

C#
public event EventHandler<FrozenColumnsChangedEventArgs> FrozenColumnsChanged

Occurs after grouping was performed.

C#
public event EventHandler<GridViewGroupedEventArgs> Grouped

Occurs while grouping is performed. (Cancelable).

C#
public event EventHandler<GridViewGroupingEventArgs> Grouping

Occurs when a group row's expanded state is changed.

C#
public event EventHandler<GroupRowEventArgs> GroupRowIsExpandedChanged

Occurs when a group row's expanded state is about to be changed.

C#
public event EventHandler<GroupRowCancelEventArgs> GroupRowIsExpandedChanging

Occurs when ExcelML worksheet styles are initialized.

C#
public event EventHandler<ExcelMLStylesEventArgs> InitializingExcelMLStyles

Occurs when the details for a row are loaded from the details template.

C#
public event EventHandler<GridViewRowDetailsEventArgs> LoadingRowDetails

Occurs after content from the Clipboard was pasted into the GridViewDataControl.

C#
public event EventHandler<RadRoutedEventArgs> Pasted

Occurs before content from the Clipboard is pasted into the GridViewDataControl.

C#
public event EventHandler<GridViewClipboardEventArgs> Pasting

Occurs before a cell is pasted from the Clipboard.

C#
public event EventHandler<GridViewCellClipboardEventArgs> PastingCellClipboardContent

Occurs when a cell is prepared for editing.

C#
public event EventHandler<GridViewPreparingCellForEditEventArgs> PreparedCellForEdit

Occurs when a cell is entering edit mode.

C#
public event EventHandler<GridViewPreparingCellForEditEventArgs> PreparingCellForEdit

Occurs when a row is activated - when user double click on it or press enter on selected row.

C#
public event EventHandler<RowEventArgs> RowActivated

Occurs when the details for a row change their Visibility.

C#
public event EventHandler<GridViewRowDetailsEventArgs> RowDetailsVisibilityChanged

Occurs when the details for a row are about to change their visibility.

C#
public event EventHandler<RowDetailsVisibilityChangingEventArgs> RowDetailsVisibilityChanging

Occurs when a row edit ended.

C#
public event EventHandler<GridViewRowEditEndedEventArgs> RowEditEnded

Occurs when a row's expanded state is changed - when its hierarchy child is expanded or collapsed.

C#
public event EventHandler<RowEventArgs> RowIsExpandedChanged

Occurs when a row's expanded state is about to be changed - when its hierarchy child is expanded or collapsed.

C#
public event EventHandler<RowCancelEventArgs> RowIsExpandedChanging

Occurs when a row is loaded.

C#
public event EventHandler<RowLoadedEventArgs> RowLoaded

Occurs when the grid data are loaded.

C#
public event EventHandler<RowResizedEventArgs> RowResized

Occurs when the grid data is about to load data.

C#
public event EventHandler<RowResizingEventArgs> RowResizing

Occurs when a row is unloaded.

C#
public event EventHandler<RowUnloadedEventArgs> RowUnloaded

Occurs when a row is validated.

C#
public event EventHandler<GridViewRowValidatedEventArgs> RowValidated

Occurs when a row is validating.

C#
public event EventHandler<GridViewRowValidatingEventArgs> RowValidating

Occurs after searching in the search panel.

C#
public event EventHandler<GridViewSearchedEventArgs> Searched

Occurs before searching in the search panel.

C#
public event EventHandler<GridViewSearchingEventArgs> Searching

Occurs when the search panel changes its Visibility.

C#
public event EventHandler<VisibilityChangedEventArgs> SearchPanelVisibilityChanged

Event that fires when the SelectedCells collection is changed.

C#
public event EventHandler<GridViewSelectedCellsChangedEventArgs> SelectedCellsChanged

Event that fires when the SelectedCells collection is about to change.

C#
public event EventHandler<GridViewSelectedCellsChangingEventArgs> SelectedCellsChanging

Occurs after sorted was performed.

C#
public event EventHandler<GridViewSortedEventArgs> Sorted

Occurs before RadGridView or a nested hierarchy child performs sorting.

C#
public event EventHandler<GridViewSortingEventArgs> Sorting

Occurs when the details for a row are loaded from the details template.

C#
public event EventHandler<GridViewRowDetailsEventArgs> UnloadingRowDetails

Extension Methods

In this article
DefinitionConstructorsGridViewDataControl()FieldsActionOnLostFocusPropertyAlternateRowBackgroundPropertyAlternateRowStylePropertyAlternateRowStyleSelectorPropertyAreRowDetailsFrozenPropertyAutoExpandGroupsPropertyAutoGenerateColumnsPropertyBeginningEditEventBusyIndicatorContentPropertyBusyIndicatorContentTemplatePropertyBusyIndicatorIsIndeterminatePropertyBusyIndicatorProgressValuePropertyCanUserDeleteRowsPropertyCanUserFreezeColumnsPropertyCanUserInsertRowsPropertyCanUserReorderColumnsPropertyCanUserResizeColumnsPropertyCanUserResizeRowsPropertyCanUserSortColumnsPropertyCanUserSortGroupsPropertyCellEditEndedEventCellLoadedEventCellsPanelHorizontalOffsetPropertyCellUnloadedEventCellValidatedEventCellValidatingEventClipboardCopyModePropertyClipboardPasteModePropertyColumnBackgroundPropertyColumnReorderingEventColumnWidthChangedEventColumnWidthChangingEventColumnWidthPropertyControlPanelItemsPropertyCopiedEventCopyingCellClipboardContentEventCopyingEventCrossThreadCollectionChangedIntervalPropertyCurrentCellInfoChangedEventCurrentColumnPropertyDataErrorEventDataLoadModePropertyDefaultDistinctValuesCountPropertyDeletedEventDeletingEventDragElementActionPropertyEditTriggersPropertyEnableColumnGroupsVirtualizationPropertyEnableColumnVirtualizationPropertyEnableHeaderContextMenuPropertyEnableLightweightTextRenderingPropertyEnableLostFocusSelectedStatePropertyEnableMouseWheelScalingPropertyEnableRowVirtualizationPropertyFilteredEventFilterEditorPositionPropertyFilteringDropDownStaysOpenPropertyFilteringEventFilteringModePropertyFooterRowStylePropertyFrozenColumnCountPropertyFrozenColumnsSplitterVisibilityPropertyGridLinesVisibilityPropertyGridViewNewRowContentPropertyGridViewNewRowContentTemplatePropertyGroupCountPropertyGroupedEventGroupFooterRowStylePropertyGroupFooterRowStyleSelectorPropertyGroupHeaderTemplatePropertyGroupingEventGroupPanelBackgroundPropertyGroupPanelForegroundPropertyGroupPanelItemStylePropertyGroupPanelStylePropertyGroupRowIsExpandedChangedEventGroupRowIsExpandedChangingEventGroupRowStylePropertyGroupRowStyleSelectorPropertyHasHierarchyPropertyHeaderRowStylePropertyHierarchyChildTemplatePropertyHierarchyChildTemplateSelectorPropertyHierarchyExpandButtonStylePropertyHierarchyExpandButtonStyleSelectorPropertyHorizontalGridLinesBrushPropertyIsBusyPropertyIsFilteringAllowedPropertyIsLocalizationLanguageRespectedPropertyIsPropertyChangedAggregationEnabledPropertyIsReadOnlyPropertyIsScrollingPropertyIsSearchFilteringEnabledPropertyIsSearchingDeferredPropertyLeftFrozenColumnCountPropertyLeftFrozenColumnSplitterThresholdPropertyMaxColumnWidthPropertyMergedCellsDirectionPropertyMergedCellsStylePropertyMergedCellsStyleSelectorPropertyMinColumnWidthPropertyMouseWheelScrollDeltaPropertyMultipleColumnSortModifiersPropertyNewRowPositionPropertyNewRowStylePropertyNonFrozenColumnsViewportHorizontalOffsetPropertyNonFrozenColumnsViewportHorizontalOffsetRightPropertyParentRowPropertyPastedEventPastingCellClipboardContentEventPastingEventPinnedRowsPositionPropertyReorderColumnsModePropertyRightFrozenColumnCountPropertyRightFrozenColumnSplitterThresholdPropertyRightFrozenColumnsSplitterVisibilityPropertyRowActivatedEventRowDetailsStylePropertyRowDetailsStyleSelectorPropertyRowDetailsTemplatePropertyRowDetailsTemplateSelectorPropertyRowDetailsVisibilityModePropertyRowEditEndedEventRowHeightPropertyRowIndicatorVisibilityPropertyRowIsExpandedChangedEventRowIsExpandedChangingEventRowStylePropertyRowStyleSelectorPropertyRowValidatedEventRowValidatingEventScaleFactorPropertyScrollModePropertyScrollPositionIndicatorTemplatePropertySearchedEventSearchingEventSearchPanelBackgroundPropertySearchPanelCloseButtonVisibilityPropertySearchPanelForegroundPropertySearchStateManagerPropertySelectionKeyEventSelectionModePropertySelectionUnitPropertyShouldCloseFilteringPopupOnKeyboardFocusChangedPropertyShouldReorderColumnsOnUngroupingPropertyShouldRespectIEditableObjectPropertyShowColumnFootersPropertyShowColumnHeadersPropertyShowGroupFootersPropertyShowGroupPanelPropertyShowScrollPositionIndicatorPropertyShowSearchPanelPropertyShowToolTipOnTrimmedTextPropertySortedEventSortingEventToolTipOnTrimmedTextShowDurationPropertyValidatesOnDataErrorsPropertyValidationTypePropertyVerticalGridLinesBrushPropertyVisibleRowsHeightPropertyZoomScaleTransformPropertyPropertiesActionOnLostFocusAggregateResultsAlternateRowBackgroundAlternateRowStyleAlternateRowStyleSelectorAreRowDetailsFrozenAutoExpandGroupsAutoGenerateColumnsBusyIndicatorContentBusyIndicatorContentTemplateBusyIndicatorIsIndeterminateBusyIndicatorProgressValueCanUserDeleteRowsCanUserFreezeColumnsCanUserInsertRowsCanUserReorderColumnsCanUserResizeColumnsCanUserResizeRowsCanUserSortColumnsCanUserSortGroupsCellsPanelHorizontalOffsetChildTableDefinitionsClipboardCopyModeClipboardPasteModeColumnBackgroundColumnGroupsColumnsColumnWidthControlPanelItemsCrossThreadCollectionChangedIntervalCurrentCellCurrentCellInfoCurrentColumnCurrentMergedCellDataLoadModeDataMemberDefaultDistinctValuesCountDragElementActionEditTriggersEnableColumnGroupsVirtualizationEnableColumnVirtualizationEnableHeaderContextMenuEnableLightweightTextRenderingEnableLostFocusSelectedStateEnableMouseWheelScalingEnableRowVirtualizationFilterDescriptorsFilterEditorPositionFilteringDropDownStaysOpenFilteringModeFooterRowStyleFrozenColumnCountFrozenColumnsSplitterVisibilityGridLinesVisibilityGridViewNewRowContentGridViewNewRowContentTemplateGroupCountGroupDescriptorsGroupFooterRowStyleGroupFooterRowStyleSelectorGroupHeaderTemplateGroupPanelBackgroundGroupPanelForegroundGroupPanelItemStyleGroupPanelStyleGroupRowStyleGroupRowStyleSelectorHandlesScrollingHasHierarchyHeaderRowStyleHierarchyChildTemplateHierarchyChildTemplateSelectorHierarchyExpandButtonStyleHierarchyExpandButtonStyleSelectorHorizontalGridLinesBrushIsBusyIsExpandableBindingIsExpandedBindingIsFilteringAllowedIsLocalizationLanguageRespectedIsPropertyChangedAggregationEnabledIsReadOnlyIsReadOnlyBindingIsScrollingIsSearchFilteringEnabledIsSearchingDeferredKeyboardCommandProviderLeftFrozenColumnCountLeftFrozenColumnSplitterThresholdMaxColumnWidthMergedCellsDirectionMergedCellsStyleMergedCellsStyleSelectorMinColumnWidthMouseWheelScrollDeltaMultipleColumnSortModifiersNewRowPositionNewRowStyleNonFrozenColumnsViewportHorizontalOffsetNonFrozenColumnsViewportHorizontalOffsetRightParentRowPendingCommandsPinnedRowsPositionReorderColumnsModeRightFrozenColumnCountRightFrozenColumnSplitterThresholdRightFrozenColumnsSplitterVisibilityRowDetailsProviderRowDetailsStyleRowDetailsStyleSelectorRowDetailsTemplateRowDetailsTemplateSelectorRowDetailsVisibilityModeRowHeightRowIndicatorVisibilityRowInEditModeRowStyleRowStyleSelectorScaleFactorScrollModeScrollPositionIndicatorTemplateSearchPanelBackgroundSearchPanelCloseButtonVisibilitySearchPanelForegroundSearchStateManagerSelectedCellsSelectionModeSelectionUnitShouldCloseFilteringPopupOnKeyboardFocusChangedShouldReorderColumnsOnUngroupingShouldRespectIEditableObjectShowColumnFootersShowColumnHeadersShowColumnSortIndexesShowGroupFootersShowGroupPanelShowScrollPositionIndicatorShowSearchPanelShowToolTipOnTrimmedTextSortDescriptorsToolTipOnTrimmedTextShowDurationValidatesOnDataErrorsValidationTypeVerticalGridLinesBrushVisibleRowsHeightZoomScaleTransformMethodsBeginEdit()BeginEdit(RoutedEventArgs)BeginInsert()BuildHierarchyFromDataSet()CalculateAggregates()CancelEdit()ClearContainerForGroupOverride(DependencyObject, object)ClearContainerForItemOverride(DependencyObject, object)CollapseAllGroups()CollapseAllHierarchyItems()CollapseAllHierarchyItems(bool)CollapseGroup(IGroup)CollapseHierarchyItem(object, bool)CollapseHierarchyItem(object)ColumnFromDisplayIndex(int)CommitEdit()CommitRowEdit(GridViewRow)CreateItem()CreateTableDefinition()DeferRefresh()EndInit()ExecutePendingCommand()ExpandAllGroups()ExpandAllHierarchyItems()ExpandAllHierarchyItems(bool)ExpandGroup(IGroup)ExpandHierarchyItem(object, bool)ExpandHierarchyItem(object)Export(Stream, GridViewExportOptions)ExportAsync(Stream, Action, GridViewExportOptions, bool)ExportAsync(Stream, GridViewExportOptions, bool)GetContainerForItemOverride(object)GetDistinctValues(GridViewColumn, bool, int?)GetDistinctValues(GridViewColumn, bool)GetRowForItem(object)GetSelectionAnchorCell()GetSelectionAnchorItem()InitializeSelection()IsExpanded(IGroup)IsExpanded(object)MeasureOverride(Size)OnAddingNewDataItem(GridViewAddingNewEventArgs)OnAlternationCountChanged(int, int)OnApplyTemplate()OnAutoGeneratingColumn(GridViewAutoGeneratingColumnEventArgs)OnCanUserSelectChanged(bool, bool)OnColumnDisplayIndexChanged(GridViewColumnEventArgs)OnColumnReordered(GridViewColumnEventArgs)OnCurrentItemChanged()OnFilterOperatorsLoading(FilterOperatorsLoadingEventArgs)OnGotFocus(RoutedEventArgs)OnGroupPanelChanged(GridViewGroupPanel, GridViewGroupPanel)OnGroupRenderModeChanged()OnInitialized(EventArgs)OnItemsChanged(NotifyCollectionChangedEventArgs)OnItemsCollectionChanged(object, NotifyCollectionChangedEventArgs)OnItemsPropertyChanged(object, PropertyChangedEventArgs)OnItemsSourceChanged(object, object)OnKeyDown(KeyEventArgs)OnLoadingRowDetails(GridViewRowDetailsEventArgs)OnLostFocus(RoutedEventArgs)OnMouseLeftButtonDown(MouseButtonEventArgs)OnMouseMove(MouseEventArgs)OnMouseWheel(MouseWheelEventArgs)OnNewRowPositionChanged()OnPinnedRowsPositionChanged()OnPreviewMouseWheel(MouseWheelEventArgs)OnRowDetailsVisibilityChanged(GridViewRowDetailsEventArgs)OnRowDetailsVisibilityChanging(RowDetailsVisibilityChangingEventArgs)OnSearchPanelVisibilityChanged(VisibilityChangedEventArgs)OnSelectedCellsChanging(GridViewSelectedCellsChangingEventArgs)OnSelectedItemChanged(object, object)OnShowColumnFootersChanged(bool, bool)OnShowColumnHeadersChanged(bool, bool)OnShowGroupPanelChanged(bool, bool)OnShowSearchPanelChanged(bool, bool)OnTextInput(TextCompositionEventArgs)OnUnloadingRowDetails(GridViewRowDetailsEventArgs)PrepareContainerForGroupItemOverride(DependencyObject, object)PrepareContainerForItemOverride(DependencyObject, object)RaiseSelectionChangedEvent(SelectionChangeEventArgs)RegisterCopyPasteApplicationCommands()ReorderColumns(int, int)ScrollIndexIntoView(int, GridViewColumn)ScrollIndexIntoView(int)ScrollIndexIntoViewAsync(int, Action<FrameworkElement>, Action)ScrollIndexIntoViewAsync(int, Action<FrameworkElement>)ScrollIndexIntoViewAsync(int, GridViewColumn, Action<FrameworkElement>, Action)ScrollIntoView(object, GridViewColumn)ScrollIntoView(object)ScrollIntoViewAsync(object, Action<FrameworkElement>, Action)ScrollIntoViewAsync(object, Action<FrameworkElement>)ScrollIntoViewAsync(object, GridViewColumn, Action<FrameworkElement>, Action)ScrollIntoViewAsync(object, GridViewColumn, Action<FrameworkElement>)Select(IEnumerable)SelectAll()SelectItemsRange(int, int, bool)SelectItemsRange(object, object, bool)SetIsCurrent(object, bool)SetIsSelected(object, bool)SetSelectionAnchor(GridViewCellInfo)SetSelectionAnchor(object)ShouldDestroyContainersOnReset()Unselect(IEnumerable)UnselectAll()EventsAddingNewDataItemAutoGeneratingColumnBeginningEditCellEditEndedCellLoadedCellUnloadedCellValidatedCellValidatingColumnDisplayIndexChangedColumnReorderedColumnReorderingColumnWidthChangedColumnWidthChangingCopiedCopyingCopyingCellClipboardContentCurrentCellInfoChangedDataErrorDataLoadedDataLoadingDeletedDeletingDistinctValuesLoadingElementExportedElementExportedToDocumentElementExportingElementExportingToDocumentFieldFilterEditorCreatedFilteredFilteringFilterOperatorsLoadingFrozenColumnsChangedGroupedGroupingGroupRowIsExpandedChangedGroupRowIsExpandedChangingInitializingExcelMLStylesLoadingRowDetailsPastedPastingPastingCellClipboardContentPreparedCellForEditPreparingCellForEditRowActivatedRowDetailsVisibilityChangedRowDetailsVisibilityChangingRowEditEndedRowIsExpandedChangedRowIsExpandedChangingRowLoadedRowResizedRowResizingRowUnloadedRowValidatedRowValidatingSearchedSearchingSearchPanelVisibilityChangedSelectedCellsChangedSelectedCellsChangingSortedSortingUnloadingRowDetailsExtension Methods
Not finding the help you need?
Contact Support