Back to Devexpress

CellValueChangedEventArgs.ChangedByUser Property

windowsforms-devexpress-dot-xtratreelist-dot-cellvaluechangedeventargs-0236e250.md

latest2.3 KB
Original Source

CellValueChangedEventArgs.ChangedByUser Property

Gets whether the user changed the value in an editor, or the value is changed in code.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList

Declaration

csharp
public bool ChangedByUser { get; }
vb
Public ReadOnly Property ChangedByUser As Boolean

Property Value

TypeDescription
Boolean

true , if the user changed the value in an editor; false , if the value is changed in code.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ChangedByUser property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

xaf-win-enable-inplace-editing-in-tree-list-view/CS/EFCore/TreeListInplaceEF/TreeListInplaceEF.Win/Controllers/TreeListInplaceEditViewController.cs#L75

csharp
private void treeList_CellValueChanged(object sender, CellValueChangedEventArgs e) {
    if (!e.ChangedByUser)
        return;

See Also

CellValueChangedEventArgs Class

CellValueChangedEventArgs Members

DevExpress.XtraTreeList Namespace