CloseUpEventArgs.Value Property

Gets or sets a value to assign to the editor's edit value.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

public object Value { get; set; }
Public Property Value As Object

Property Value

Type Description
Object

The value to assign to the editor's BaseEdit.EditValue property.

Remarks

The Value property specifies the value to assign to the editor's BaseEdit.EditValue property. If the user accepted his/her choice (the CloseUpEventArgs.AcceptValue property is true), the Value property stores the selected value. If the user canceled his/her choice (the CloseUpEventArgs.AcceptValue property is false), the Value denotes the old value provided by the editor before opening the dropdown.

You can change Value in order to override the user's choice. Refer to the RepositoryItemPopupBase.CloseUp topic for more information.

See Also