Back to Devexpress

ClipboardNodePastingEventArgs Members

windowsforms-devexpress-dot-xtratreelist-dot-clipboardnodepastingeventargs-dot-underscore-members.md

latest6.1 KB
Original Source

ClipboardNodePastingEventArgs Members

Provides data for the TreeList.ClipboardNodePasting event.

Constructors

NameDescription
ClipboardNodePastingEventArgs(TreeListPasteNodeValues, IEnumerable<TreeListColumn>, Object[], TreeListNode, Int32, Int32)Initializes a new ClipboardNodePastingEventArgs class instance.

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 needs to 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).
TreeListNodeDepending on the paste mode, returns the parent node relative to which the data is appended, or the updated node.
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.
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() 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

ClipboardNodePastingEventArgs Class

DevExpress.XtraTreeList Namespace