Skip to main content
A newer version of this page is available. .

RepositoryItem.EditValueChangedFiringMode Property

Gets or sets the RepositoryItem.EditValueChanged event’s firing mode.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

[DXCategory("Behavior")]
[DefaultValue(EditValueChangedFiringMode.Default)]
public virtual EditValueChangedFiringMode EditValueChangedFiringMode { get; set; }

Property Value

Type Default Description
EditValueChangedFiringMode **Default**

An EditValueChangedFiringMode enumeration member which specifies when the editor’s RepositoryItem.EditValueChanged event should occur.

Available values:

Name Description
Default

The RepositoryItem.EditValueChanged event fires immediately after the editor’s value has been changed by an end-user. For the DateEdit, TimeEdit and TimeSpanEdit controls, the event fires after you move focus between date/time placeholders.

Buffered

The RepositoryItem.EditValueChanged event fires after an end-user has stopped editing (typing text) and a specified amount of time (RepositoryItem.EditValueChangedFiringDelay/RepositoryItem.EditValueChangedDelay) has passed.

Remarks

You can set the EditValueChangedFiringMode property to one of the following values:

Default

The RepositoryItem.EditValueChanged event fires immediately after the editor’s value has been changed by an end-user. For the DateEdit, TimeEdit and TimeSpanEdit controls, the event fires after you move focus between date/time placeholders.

Buffered

The RepositoryItem.EditValueChanged event fires after an end-user has stopped editing (typing text) and a specified amount of time (RepositoryItem.EditValueChangedFiringDelay/RepositoryItem.EditValueChangedDelay) has passed.

Note

The EditValueChangedFiringMode property is ignored for lookup editors during an incremental search while their popup windows are open. If the editor’s edit value changes during an incremental search, the RepositoryItem.EditValueChanged event fires immediately.

The code sample below illustrates how to deley the RepositoryItem.EditValueChanged event.

textEdit1.Properties.EditValueChangedFiringMode = EditValueChangedFiringMode.Buffered;
textEdit1.Properties.EditValueChangedDelay = 300;   // 300 msec delay

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the EditValueChangedFiringMode 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.

See Also