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.v21.2.dll

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

Declaration

[DefaultValue(EditValueChangedFiringMode.Default)]
[DXCategory("Behavior")]
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
See Also