ClipboardRowPastingEventArgs Members
Provides data for the GridView.ClipboardRowPasting event.Constructors
Name | Description |
---|---|
ClipboardRowPastingEventArgs(GridPasteRowValues, IEnumerable<GridColumn>, Object[], Int32, Int32, Int32) | Initializes a new instance of the ClipboardRowPastingEventArgs class. |
Fields
Name | Description |
---|---|
Empty static | Provides a value to use with events that do not have event data. Inherited from EventArgs. |
Properties
Name | Description |
---|---|
Cancel | Gets or sets whether the current operation should be canceled. |
DataRowCount | Gets the count of rows that contain data to process (without column and band header rows). |
OriginalValues | Returns a read-only collection of individual pasted values. |
PasteMode | Gets or sets whether only valid rows or all rows are pasted to the control. |
RowCount | Gets the total count of rows to process (with column and band header rows). |
RowHandle | Returns the unique identifier (handle) of the currently processed row. |
Values | Returns a dictionary that contains “target column - pasted value” pairs. You can modify pasted values in this dictionary to perform custom pasting. |
Methods
Name | Description |
---|---|
Equals(Object, Object) static | Determines 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() protected | Creates a shallow copy of the current Object. Inherited from Object. |
ReferenceEquals(Object, Object) static | Determines 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