Back to Devexpress

ClipboardRowPastingEventArgs Members

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-clipboardrowpastingeventargs-dot-underscore-members.md

latest5.9 KB
Original Source

ClipboardRowPastingEventArgs Members

Provides data for the GridView.ClipboardRowPasting event.

Constructors

NameDescription
ClipboardRowPastingEventArgs(GridPasteRowValues, IEnumerable<GridColumn>, Object[], Int32, Int32, Int32)Initializes a new instance of the ClipboardRowPastingEventArgs class.

Fields

NameDescription
Empty staticProvides a value to use with events that do not have event data. Inherited from EventArgs.

Properties

NameDescription
CancelGets or sets whether the current operation should be canceled.
DataRowCountGets the count of rows that contain data to process (without column and band header rows).
OriginalValuesReturns a read-only collection of individual pasted values.
PasteModeGets or sets whether only valid rows or all rows are pasted to the control.
RowCountGets the total count of rows to process (with column and band header rows).
RowHandleReturns the unique identifier (handle) of the currently processed row.
ValuesReturns a dictionary that contains “target column - pasted value” pairs. You can modify pasted values in this dictionary to perform custom pasting.

Methods

NameDescription
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetInvalidValues()Returns a dictionary that contains invalid column-value pairs. Invalid pairs identify values that cannot be accepted by corresponding columns.
GetType()Gets the Type of the current instance. Inherited from Object.
GetValidValues()Returns a dictionary that contains valid column-value pairs. Valid pairs identify values that can be accepted by corresponding columns.
IsRowValid()Returns whether pasted values can be accepted by target columns. Both the pasted values and target columns are specified by the ClipboardRowPastingEventArgs.Values dictionary.
IsValueValid(GridColumn, Object, out Exception)Returns whether the specified value can be pasted to the specified column cell.
IsValueValid(String, Object, out Exception)Returns whether the specified value can be pasted to the column with the specified field name.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
ToString()Returns a string that represents the current object. Inherited from Object.

See Also

ClipboardRowPastingEventArgs Class

DevExpress.XtraGrid.Views.Grid Namespace