# FormClosedEventArgs

Namespace: **Wisej.Web**

Assembly: **Wisej.Framework** (4.0.0.0)

Provides data for the [FormClosed](https://docs.wisej.com/api/wisej.web/containers/form/..#formclosed) event.

{% tabs %}
{% tab title="C#" %}

```csharp
public class FormClosedEventArgs : EventArgs
```

{% endtab %}

{% tab title="VB.NET" %}

```visual-basic
Public Class FormClosedEventArgs
    Inherits EventArgs
```

{% endtab %}
{% endtabs %}

## Constructors

### ![](https://1075938901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HvlWXJQMV7DxhGzw7Y1%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media) FormClosedEventArgs(closeReason)

Initializes a new instance of the [FormClosedEventArgs](https://docs.wisej.com/api/wisej.web/containers/form/wisej.web.formclosedeventargs) class.

| Name            | Type                                                                                      | Description                                                                                                                                           |
| --------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
| **closeReason** | [CloseReason](https://docs.wisej.com/api/wisej.web/containers/form/wisej.web.closereason) | A [CloseReason](https://docs.wisej.com/api/wisej.web/containers/form/wisej.web.closereason) value that represents the reason why the form was closed. |

## Properties

### ![](https://1075938901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HvlWXJQMV7DxhGzw7Y1%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media) CloseReason

[CloseReason](https://docs.wisej.com/api/wisej.web/containers/form/wisej.web.closereason): Returns a value that indicates why the form was closed.

## Used By

| Name                                                                                                            | Description                                                                                                                  |
| --------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
| [FormClosedEventHandler](https://docs.wisej.com/api/wisej.web/containers/form/wisej.web.formclosedeventhandler) | Represents the method that handles a [FormClosed](https://docs.wisej.com/api/wisej.web/containers/form/..#formclosed) event. |
