# PopupCloseMode enumeration

Specifies how the editor's popup is closed.

**Namespace:** [`Eremex.AvaloniaUI.Controls.Editors`](./index.md)  
**Assembly:** `Eremex.Avalonia.Controls.dll`  
**NuGet Package:** [Eremex.Avalonia.Controls](https://www.nuget.org/packages/Eremex.Avalonia.Controls)

## Declaration

```csharp
public enum PopupCloseMode
```

## Values

| name | value | description |
| --- | --- | --- |
| Apply | `0` | The popup is closed and the entered value is applied. |
| Cancel | `1` | The popup is closed and the entered value is discarded. |

## See Also

* namespace [Eremex.AvaloniaUI.Controls.Editors](./index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Avalonia.Controls.dll -->
