Back to Devexpress

RepositoryItemDateTimeOffsetEdit.CloseUp Event

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemdatetimeoffsetedit-e443a342.md

latest2.4 KB
Original Source

RepositoryItemDateTimeOffsetEdit.CloseUp Event

Fires when the editor drop-down menu is closing and allows you to decide whether changes made by a user should be accepted. See the PopupBaseEdit.CloseUp event for an example.

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(true)]
[EditorBrowsable(EditorBrowsableState.Always)]
public override event CloseUpEventHandler CloseUp
vb
<Browsable(True)>
<EditorBrowsable(EditorBrowsableState.Always)>
Public Overrides Event CloseUp As CloseUpEventHandler

Event Data

The CloseUp event's data class is CloseUpEventArgs. The following properties provide information specific to this event:

PropertyDescription
AcceptValueGets or sets a value indicating whether CloseUpEventArgs.Value should be accepted or discarded.
CloseModeGets a value indicating how the popup editor’s dropdown window was closed.
PressedButtonReturns which popup button has been pressed by an end-user.
ValueGets or sets a value to assign to the editor’s edit value.

See Also

RepositoryItemDateTimeOffsetEdit Class

RepositoryItemDateTimeOffsetEdit Members

DevExpress.XtraEditors.Repository Namespace