ClipboardNodePastingEventArgs Members
Provides data for the TreeList.ClipboardNodePasting event.Constructors
Name | Description |
---|---|
ClipboardNodePastingEventArgs(TreeListPasteNodeValues, IEnumerable<TreeListColumn>, Object[], TreeListNode, Int32, Int32) | Initializes a new ClipboardNodePastingEventArgs class instance. |
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 needs to 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). |
TreeListNode | Depending on the paste mode, returns the parent node relative to which the data is appended, or the updated node. |
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. |
IsKeyFieldValueValid() | Returns whether the key of the processed node is unique. |
IsNodeValid() | Returns whether pasted values can be accepted by target columns. Both the pasted values and target columns are specified by the ClipboardNodePastingEventArgs.Values dictionary. |
IsValueValid(TreeListColumn, 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