ClipboardNodePastingEventArgs.IsValueValid(TreeListColumn, Object, out Exception) Method
Returns whether the specified value can be pasted to the specified column cell.
Namespace: DevExpress.XtraTreeList
Assembly: DevExpress.XtraTreeList.v24.1.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList
Declaration
Parameters
Name | Type | Description |
---|---|---|
treeListColumn | TreeListColumn | The column to be tested. |
value | Object | The value to be tested. |
e | Exception | The exception that specifies the error description. null if no error occurs. |
Returns
Type | Description |
---|---|
Boolean | true if the specified value can be pasted to the specified column’s cell; otherwise, false. In case of failure, read the e output parameter to get details. |
Remarks
A value can be pasted to a column cell if the data types match or if they are compatible. If a value cannot be accepted by a column, the IsValueValid method returns false, and you can read the e output parameter to identify the error.