> ## Documentation Index
> Fetch the complete documentation index at: https://easyaf.nimbleapps.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# EditContext

> Extension methods for EditContext from Microsoft.AspNetCore.Components.Forms

## Definition

**Assembly:** Microsoft.AspNetCore.Components.Forms.dll

**Namespace:** Microsoft.AspNetCore.Components.Forms

## Syntax

```csharp theme={"dark"}
Microsoft.AspNetCore.Components.Forms.EditContext
```

## Summary

This type is defined in Microsoft.AspNetCore.Components.Forms.

## Remarks

See [Microsoft documentation](https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.components.forms.editcontext) for more information about the rest of the API.

## Methods

### &#x20;NotifyFieldChanged Extension

> [!NOTE]
>
> Extension method from `Microsoft.AspNetCore.Components.Forms.EditContextExtensions`

#### Syntax

```csharp theme={"dark"}
public static void NotifyFieldChanged(Microsoft.AspNetCore.Components.Forms.EditContext editContext, string field)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `editContext` | `Microsoft.AspNetCore.Components.Forms.EditContext` | - |
| `field` | `string` | The field name that was changed in the process, typically specified using "nameof(YourObject.YourProperty"). |

### &#x20;NotifyFieldsChanged Extension

> [!NOTE]
>
> Extension method from `Microsoft.AspNetCore.Components.Forms.EditContextExtensions`

#### Syntax

```csharp theme={"dark"}
public static void NotifyFieldsChanged(Microsoft.AspNetCore.Components.Forms.EditContext editContext, params string[] fields)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `editContext` | `Microsoft.AspNetCore.Components.Forms.EditContext` | - |
| `fields` | `string[]` | An inline list of fields that were changed in the process, typically specified using "nameof(YourObject.YourProperty"). |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.