Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

CloseUpEventArgs.Value Property

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

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public object Value { get; set; }

#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