Back to Devexpress

CloseUpEventArgs.Value Property

windowsforms-devexpress-dot-xtraeditors-dot-controls-dot-closeupeventargs-81c2f32f.md

latest2.3 KB
Original Source

CloseUpEventArgs.Value Property

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

Namespace : DevExpress.XtraEditors.Controls

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDescription
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

AcceptValue

EditValue

CloseUp

CloseUpEventArgs Class

CloseUpEventArgs Members

DevExpress.XtraEditors.Controls Namespace