Click or drag to resize
RadGridView Methods

The RadGridView type exposes the following members.

Methods
  NameDescription
Public methodBeginEdit
Puts the current cell in edit mode.
Public methodBeginInit
Suspends layout during initialization.
(Overrides RadControlBeginInit.)
Public methodBeginUpdate
Begins the update.
Public methodBestFitColumns
Widens / shrinks all columns based on the space required by the text in the columns.
Public methodBestFitColumns(BestFitColumnMode)
Widens / shrinks all columns based on the space required by the text in the columns.
Public methodCallAccessibilityNotifyClients
This method is used internally!
(Inherited from RadControl.)
Public methodCallBaseOnGotFocus
This method is used internally!
(Inherited from RadControl.)
Public methodCallBaseOnKeyDown
This method is used internally!
(Inherited from RadControl.)
Public methodCallBaseOnKeyPress
This method is used internally!
(Inherited from RadControl.)
Public methodCallBaseOnKeyUp
This method is used internally!
(Inherited from RadControl.)
Public methodCallBaseOnLostFocus
This method is used internally!
(Inherited from RadControl.)
Public methodCallOnClick
This method is used internally!
(Inherited from RadControl.)
Public methodCallOnDoubleClick
This method is used internally!
(Inherited from RadControl.)
Public methodCallOnKeyDown
This method is used internally!
(Inherited from RadControl.)
Public methodCallOnKeyPress
This method is used internally!
(Inherited from RadControl.)
Public methodCallOnKeyUp
This method is used internally!
(Inherited from RadControl.)
Public methodCallOnMouseCaptureChanged
This method is used internally!
(Inherited from RadControl.)
Public methodCallOnMouseDown
This method is used internally!
(Inherited from RadControl.)
Public methodCallOnMouseEnter
This method is used internally!
(Inherited from RadControl.)
Public methodCallOnMouseHover
This method is used internally!
(Inherited from RadControl.)
Public methodCallOnMouseLeave
This method is used internally!
(Inherited from RadControl.)
Public methodCallOnMouseMove
This method is used internally!
(Inherited from RadControl.)
Public methodCallOnMouseUp
This method is used internally!
(Inherited from RadControl.)
Public methodCallOnMouseWheel
This method is used internally!
(Inherited from RadControl.)
Public methodCallOnPreviewKeyDown
This method is used internally!
(Inherited from RadControl.)
Public methodCallOnScreenTipNeeded
This method is used internally!
(Inherited from RadControl.)
Public methodCallOnThemeNameChanged
This method is used internally!
(Inherited from RadControl.)
Public methodCallOnToolTipTextNeeded
This method is used internally!
(Inherited from RadControl.)
Public methodCallOnVisibleChanged
This method is used internally!
(Inherited from RadControl.)
Public methodCancelEdit
Close the currently active editor and discard changes.
Protected methodCanEditElementAtDesignTime
Determines whether an element may be edited via the EditUIElements dialog at design-time.
(Overrides RadControlCanEditElementAtDesignTime(RadElement).)
Public methodCanEditUIElement
Determines whether an element from this element tree may be displayed in the EditUIElements dialog.
(Inherited from RadControl.)
Public methodClearSelection
Clears the current selection by unselecting all selected cells (rows).
Public methodCloseEditor
Ends the edit operation without committing the changes
Protected methodConstruct (Inherited from RadControl.)
Public methodControlDefinesThemeForElement
Gets whether the control defines the theme for the specific element.
(Overrides RadControlControlDefinesThemeForElement(RadElement).)
Public methodCopy
Copy the formatted values that represent the contents of the selected cells to the System.Windows.Forms.Clipboard.
Protected methodCreateAccessibilityInstance
Creates a new accessibility object for the control.
(Overrides ControlCreateAccessibilityInstance.)
Protected methodCreateBehavior
Creates the input behavior instance. Allows inheritors to provide custom input implementations.
(Inherited from RadControl.)
Protected methodCreateChildItems
Creates the child items.
(Overrides RadControlCreateChildItems(RadElement).)
Protected methodCreateGridViewElement
Creates the grid view element.
Protected methodCreateGridViewLayoutSerializer
Creates the grid view layout serializer.
Protected methodCreateRootElement (Inherited from RadControl.)
Public methodCut
Moves the current selection in the to the Clipboard.
Public methodDeferRefresh
Calls internally BeginUpdate.
Public methodDisableGesture
Disable firing gesture events of the specified type.
(Inherited from RadControl.)
Public methodDisplayedColumnCount
Gets the displayed column count.
Public methodDisplayedRowCount
Gets the displayed row count.
Protected methodDispose
Disposes the grid.
(Overrides RadControlDispose(Boolean).)
Public methodEnableGesture
Enable firing gesture events of the specified type.
(Inherited from RadControl.)
Public methodEndEdit
Commits any changes and ends the edit operation on the current cell.
Public methodEndInit
Resumes layout.
(Overrides RadControlEndInit.)
Public methodEndUpdate
Ends the update.
Public methodEndUpdate(Boolean)
Ends the update.
Public methodEvaluate
Evaluates the specified expression.
Protected methodFindPropertyInChildren (Inherited from RadControl.)
Public methodGetChildAt
Method used by control Code Dom serializer to access element in the collection of RootElement.
(Inherited from RadControl.)
Public methodGetClipboardContent
Retrieves the formatted values that represent the contents of the selected cells for copying to the System.Windows.Forms.Clipboard.
Public methodGetControlDefaultSize
This method is used internally!
(Inherited from RadControl.)
Public methodGetDefaultXmlSerializationInfo
Gets the default serialization info for RadGridView used by Save/Load layout methods to persist grid settings to/from XML.
Protected methodGetInputElement (Inherited from RadControl.)
Public methodGetPlainText
Strips all html tags of the text set to the control and returns only the plain text.
(Inherited from RadControl.)
Public methodGetPreferredSize (Inherited from RadControl.)
Protected methodGetRootElementDesiredSize (Inherited from RadControl.)
Public methodHideColumnChooser
Protected methodInitializeRootElement (Inherited from RadControl.)
Protected methodInvalidateMultiSelection
Invalidates the multi selection.
Public methodInvokeLayoutCallback (Inherited from RadControl.)
Protected methodIsInputKey
Determines whether the specified key data is input key.
(Overrides RadControlIsInputKey(Keys).)
Public methodLoadElementTree
Loads the element tree. While not loaded, no layout operations are allowed upon the tree. By default, the tree will be loaded when the control is displayed for the first time.
(Inherited from RadControl.)
Public methodLoadElementTree(Size)
Loads the element tree using the specified desired size.
(Inherited from RadControl.)
Public methodLoadFrom
Unbound load the IDatareader data and reset current DataSource for MasterTemplate
Public methodLoadLayout(Stream)
Loads RadGridView properties, sub-objects and their properties from XML stream, using the serialization information provided by the XmlSerializationInfo property
Public methodLoadLayout(String)
Loads RadGridView properties, sub-objects and their properties from XML file, using the serialization information provided by the XmlSerializationInfo property
Public methodLoadLayout(XmlReader)
Loads RadGridView properties, sub-objects and their properties from XML reader, using the serialization information provided by the XmlSerializationInfo property
Protected methodOnAutoSizeChanged (Inherited from RadControl.)
Protected methodOnBackColorChanged (Inherited from RadControl.)
Protected methodOnBindingContextChanged
Raises the BindingContextChanged event.
(Overrides RadControlOnBindingContextChanged(EventArgs).)
Protected methodOnCancelRowEdit
Called when the row editing is canceled.
Protected methodOnCaptureLosing (Inherited from RadControl.)
Protected methodOnCellBeginEdit
Called when the cell begins editing.
Protected methodOnCellClick
Called when [cell click].
Protected methodOnCellDoubleClick
Called when the cell is double clicked.
Protected methodOnCellEditorInitialized
Raises the CellEditorInitialized event.
Protected methodOnCellEndEdit
Called when the cell ends editing.
Protected methodOnCellFormatting
Raises the CellFormatting event
Protected methodOnCellMouseMove
Raises the CellMouseMove event
Protected methodOnCellPaint
Raises the CellPaint event.
Protected methodOnCellValidated
Raises the CellValidated event.
Protected methodOnCellValidating
Raises the CellValidating event.
Protected methodOnCellValueChanged
Called when the cell value is changed.
Protected methodOnCellValueNeeded
Raises the CellValueNeeded event.
Protected methodOnCellValuePushed
Raises the CellValuePushed event.
Protected methodOnChildViewExpanded
Called when the child view is expanded.
Protected methodOnChildViewExpanding
Called when the child view is expanding.
Protected methodOnChildViewPrinting
Occurs for hierarchy rows with more than one child views.
Protected methodOnClick (Inherited from RadControl.)
Protected methodOnColumnChooserItemElementCreating
Called when thecolumn chooser item element is creating.
Protected methodOnColumnWidthChanged
Called when the column width is changed.
Protected methodOnColumnWidthChanging
Called when the column width is changing.
Protected methodOnCommandCellClick
Called when the command cell is clicked.
Protected methodOnConditionalFormattingFormShown
Raises the ConditionalFormattingFormShown event.
Protected methodOnContextMenuOpening
Called when the context menu is opening.
Protected methodOnCopying
Called when RadGridView has prepared appropriate data formats that represent the copy selection, added the copy selection formats to a DataObject, and is ready to either place the DataObject on the Clipboard.
Protected methodOnCopyingCellClipboardContent
Protected methodOnCreateCell
Raises the CreateCell event.
Protected methodOnCreateCompositeFilterDialog
Raises the CreateCompositeFilterDialog event.
Protected methodOnCreateControl (Inherited from RadControl.)
Protected methodOnCreateRow
Raises the CreateRow event.
Protected methodOnCreateRowInfo
Called when the row info is created.
Protected methodOnCurrentCellChanged
Called when the current cell is changed.
Protected methodOnCurrentColumnChanged
Raises the CurrentColumnChanged event.
Protected methodOnCurrentRowChanged
Called when the current row is changed.
Protected methodOnCurrentRowChanging
Called when the current row is changing.
Protected methodOnCustomFiltering
Raises the CustomFiltering event.
Protected methodOnCustomGrouping
Raises the CustomGrouping event.
Protected methodOnCustomSorting
Raises the CustomSorting event.
Protected methodOnDataBindingComplete
Raises the DataBindingComplete event.
Protected methodOnDataError
Called when a data error occurs.
Protected methodOnDataGroupNeeded
Fires when the data group requires in virtual mode..
Protected methodOnDefaultValuesNeeded
Raises the DefaultValuesNeeded event.
Protected methodOnDoubleClick (Inherited from RadControl.)
Protected methodOnEditorRequired
Fires when an element for editing a cell is showing.
Protected methodOnEnabledChanged (Inherited from RadControl.)
Protected methodOnExpressionEditorFormCreated
Fires when a new expression editor form is created.
Protected methodOnFilterChanged
Fires when the filter is changed.
Protected methodOnFilterChanging
Called when the filter is changing.
Protected methodOnFilterExpressionChanged
Called when the filter expression is changed.
Protected methodOnFilterPopupInitialized
Raises the FilterPopupInitialized event.
Protected methodOnFilterPopupRequired
Raises the FilterPopupRequired event.
Protected methodOnFontChanged (Inherited from RadControl.)
Protected methodOnForeColorChanged (Inherited from RadControl.)
Protected methodOnGesture (Inherited from RadControl.)
Protected methodOnGotFocus
Raises the GotFocus event.
(Overrides RadControlOnGotFocus(EventArgs).)
Protected methodOnGroupByChanged
Fires when grouping is changed.
Protected methodOnGroupByChanging
Fires when grouping is changing.
Protected methodOnGroupExpanded
Fires when the DataGroup is expanded or collapsed.
Protected methodOnGroupExpanding
Fires when the DataGroup is expanding or collapsing. This behavior is valid when grouping or hierarchy mode is applied.
Protected methodOnGroupSummaryEvaluate
Fires when evaluation of group summary is undergoing.
Protected methodOnHandleDestroyed (Inherited from RadControl.)
Protected methodOnHeaderCellToggleStateChanged
Fires when a toggle state changed of RadCheckBoxElement in header cell.
Protected methodOnHyperlinkOpened
Fires when a link from a GridViewHyperlinkColumn is opened.
Protected methodOnHyperlinkOpening
Called when the hyperlink is opening.
Protected methodOnInvalidated (Inherited from RadControl.)
Protected methodOnKeyDown
Raises the KeyDown event.
(Overrides RadControlOnKeyDown(KeyEventArgs).)
Protected methodOnKeyPress
Raises the [E:KeyPress] event.
(Overrides RadControlOnKeyPress(KeyPressEventArgs).)
Protected methodOnKeyUp
Raises the KeyUp event.
(Overrides RadControlOnKeyUp(KeyEventArgs).)
Protected methodOnLayout (Inherited from RadControl.)
Protected methodOnLayoutLoaded
Fires when the layout is loaded.
Protected methodOnLoad
Notifies that the control is about to be visualized.
(Overrides RadControlOnLoad(Size).)
Protected methodOnLocationChanged (Inherited from RadControl.)
Protected methodOnLostFocus
Raises the [E:LostFocus] event.
(Overrides RadControlOnLostFocus(EventArgs).)
Protected methodOnMouseCaptureChanged (Inherited from RadControl.)
Protected methodOnMouseClick
Raises the MouseClick event.
(Overrides ControlOnMouseClick(MouseEventArgs).)
Protected methodOnMouseDoubleClick
Raises the MouseDoubleClick event.
(Overrides ControlOnMouseDoubleClick(MouseEventArgs).)
Protected methodOnMouseDown
Raises the [E:MouseDown] event.
(Overrides RadControlOnMouseDown(MouseEventArgs).)
Protected methodOnMouseEnter
Raises the [E:MouseEnter] event.
(Overrides RadControlOnMouseEnter(EventArgs).)
Protected methodOnMouseHover (Inherited from RadControl.)
Protected methodOnMouseLeave
Raises the [E:MouseLeave] event.
(Overrides RadControlOnMouseLeave(EventArgs).)
Protected methodOnMouseMove
Raises the MouseMove event.
(Overrides RadControlOnMouseMove(MouseEventArgs).)
Protected methodOnMouseUp
Raises the MouseUp event.
(Overrides RadControlOnMouseUp(MouseEventArgs).)
Protected methodOnMouseWheel
Raises the MouseWheel event.
(Overrides RadControlOnMouseWheel(MouseEventArgs).)
Protected methodOnNewRowNeeded
Fires when the unbound cell requires a value for a cell in order to format and display the cell.
Protected methodOnNotifyPropertyChanged(PropertyChangedEventArgs) (Inherited from RadControl.)
Protected methodOnNotifyPropertyChanged(String) (Overrides RadControlOnNotifyPropertyChanged(String).)
Protected methodOnPaddingChanged (Inherited from RadControl.)
Protected methodOnPageChanged
Fires when the current page is changed.
Protected methodOnPageChanging
Fires when the current page is changing.
Protected methodOnPaint (Inherited from RadControl.)
Protected methodOnPanGesture
Fires the PanGesture event.
(Inherited from RadControl.)
Protected methodOnParentChanged (Inherited from RadControl.)
Protected methodOnPasting
Occurs when the RadGridView is ready to paste data.
Protected methodOnPastingCellClipboardContent
Occurs when the RadGridView is ready to paste data to individual cells.
Protected methodOnPressAndTapGesture
Fires the PressAndTapGesture event.
(Inherited from RadControl.)
Protected methodOnPreviewKeyDown (Inherited from RadControl.)
Protected methodOnPrintCellFormatting
Raises the PrintCellFormatting event
Protected methodOnPrintCellPaint
Raises the PrintCellPaint event
Protected methodOnResize
Raises the Resize event.
(Overrides ControlOnResize(EventArgs).)
Protected methodOnRightToLeftChanged (Inherited from RadControl.)
Protected methodOnRotateGesture
Fires the RotateGesture event.
(Inherited from RadControl.)
Protected methodOnRowDirtyStateNeeded
Fires when an unbound cell requires a value for a cell in order to format and display the cell.
Protected methodOnRowFormatting
Raises the RowFormatting event.
Protected methodOnRowHeightChanged
Fires after the height of a row changes.
Protected methodOnRowHeightChanging
Fires before the height of a row changes.
Protected methodOnRowMouseMove
Raises the RowMouseMove event.
Protected methodOnRowPaint
Raises the RowPaint event.
Protected methodOnRowsChanged
Fires when the Rows collection of a GridViewTemplate changes.
Protected methodOnRowsChanging
Fires before the Rows collection of a GridViewTemplate changes.
Protected methodOnRowSourceNeeded
Fires the RowSourceNeeded event.
Protected methodOnRowValidated
Raises the RowValidated event.
Protected methodOnRowValidating
Raises the RowValidating event.
Protected methodOnScreenTipNeeded (Inherited from RadControl.)
Protected methodOnSelectionChanged
Fires when the current selection changes.
Protected methodOnSelectionChanging
Fires when the current selection is changing.
Protected methodOnSortChanged
Fires when sorting is changed.
Protected methodOnSortChanging
Fires when sorting is changing.
Protected methodOnThemeChanged (Inherited from RadControl.)
Protected methodOnThemeNameChanged (Inherited from RadControl.)
Protected methodOnToolTipTextNeeded (Inherited from RadControl.)
Protected methodOnTwoFingerTapGesture
Fires the TwoFingerTapGesture event.
(Inherited from RadControl.)
Protected methodOnUserAddedRow
Occurs when the user has finished adding a row to the RadGridView.
Protected methodOnUserAddingRow
Occurs when the user adding new row to the RadGridView.
Protected methodOnUserDeletedRow
Occurs when the user has finished deleting a row from the RadGridView.
Protected methodOnUserDeletingRow
Occurs when the user deletes a row from the RadGridView.
Protected methodOnValidated
Raises the Validated event.
(Overrides ControlOnValidated(EventArgs).)
Protected methodOnValidating
Raises the Validating event.
(Overrides ControlOnValidating(CancelEventArgs).)
Protected methodOnValueChanged
Fires when the value of a cell changes.
Protected methodOnValueChanging
Fires before the value in a cell is changing.
Protected methodOnViewCellFormatting
Raises the ViewCellFormatting event
Protected methodOnViewRowFormatting
Raises the ViewRowFormatting event.
Protected methodOnZoomGesture
Fires the ZoomGesture event.
(Inherited from RadControl.)
Public methodPaste
Paste the contents of the System.Windows.Forms.Clipboard to the current view.
Public methodPrint
Directly prints the RadGridView to the default printer.
Public methodPrint(Boolean)
Directly prints the RadGridView to the default printer or shows printer settings and then prints the RadGridView.
Public methodPrint(Boolean, RadPrintDocument)
Directly prints the RadGridView to the default printer or shows printer settings and then prints the RadGridView.
Public methodPrintPreview
Shows a RadPrintPreviewDialog for editing the RadGridView print settings.
Public methodPrintPreview(RadPrintDocument)
Shows a RadPrintPreviewDialog for editing the RadGridView print settings.
Protected methodProcessAutoSizeChanged (Inherited from RadControl.)
Protected methodProcessCaptureChangeRequested
Processes a capture request from the specified element.
(Inherited from RadControl.)
Protected methodProcessCodedUIMessage
Processes the coded UI message.
(Overrides RadControlProcessCodedUIMessage(IPCMessage).)
Protected methodProcessDialogKey
Processes a dialog key.
(Overrides ControlProcessDialogKey(Keys).)
Protected methodProcessFocusRequested
Processes a focus request from the specified element.
(Inherited from RadControl.)
Protected methodProcessGesture (Inherited from RadControl.)
Protected methodProcessMnemonic (Inherited from RadControl.)
Public methodRefresh (Inherited from RadControl.)
Public methodRegisterHostedControl (Inherited from RadControl.)
Protected methodResetBackColorThemeOverrides (Inherited from RadControl.)
Protected methodResetForeColorThemeOverrides (Inherited from RadControl.)
Public methodResolveStyleGroupForElement
Replaces the default style group for specific element.
(Inherited from RadControl.)
Public methodResumeUpdate (Inherited from RadControl.)
Public methodResumeUpdate(Boolean) (Inherited from RadControl.)
Public methodSaveLayout(Stream)
Stores to a stream RadGridView properties, sub-objects and their properties in XML format, using the serialization information provided by the XmlSerializationInfo property
Public methodSaveLayout(String)
Stores to a file RadGridView properties, sub-objects and their properties in XML format, using the serialization information provided by the XmlSerializationInfo property
Public methodSaveLayout(XmlWriter)
Stores RadGridView properties, sub-objects and their properties in XML format, using the serialization information provided by the XmlSerializationInfo property
Protected methodScaleControl (Inherited from RadControl.)
Public methodSelectAll
Select all cells (rows) in RadGriView
Protected methodSetBackColorThemeOverrides (Inherited from RadControl.)
Protected methodSetBoundsCore (Inherited from RadControl.)
Protected methodSetForeColorThemeOverrides (Inherited from RadControl.)
Public methodSetIsInitializing
This method is used internally!
(Inherited from RadControl.)
Public methodShouldSerializeBackColor
Determines whether the BackColor property should be serialized.
(Inherited from RadControl.)
Public methodShouldSerializeFont
Determines whether the ForeColor property should be serialized.
(Inherited from RadControl.)
Public methodShouldSerializeForeColor
Determines whether the ForeColor property should be serialized.
(Inherited from RadControl.)
Protected methodShouldSerializeProperty
Determines whether the specified RadProperty should be serialized.
(Inherited from RadControl.)
Public methodShowColumnChooser
Shows the GridViewColumnChooser for the columns of the master view template.
Public methodShowColumnChooser(GridViewTemplate)
Public methodSuspendUpdate (Inherited from RadControl.)
Public methodUnregisterHostedControl (Inherited from RadControl.)
Protected methodUnWireEvents
Unsubscribe from the handled events.
Protected methodWireEvents
Subscribe to events handling the basic features in RadGridView.
Protected methodWndProc
Processes Windows messages.
(Overrides RadControlWndProc(Message).)
Top
See Also