    

 ## On this page

  

 

 # Constructor VariableEditorView

 Last update: 19.06.2026 

Namespace: [Phoenix.ComponentPlugInSDK.Views](Phoenix.ComponentPlugInSDK.Views.md)  
Assembly: Phoenix.ComponentPlugInSDK.dll

## VariableEditorView(VariableEditorModel, Action&lt;Exception&gt;)

Creates a new instance of the view

```csharp
public VariableEditorView(VariableEditorModel variableModel, Action<Exception> showErrorDialog)


```

### Parameters

`variableModel` [VariableEditorModel](Phoenix.ComponentPlugInSDK.Models.VariableEditorModel.md)

The scriptVariableModel to display

`showErrorDialog` [Action](https://learn.microsoft.com/dotnet/api/system.action-1)&lt;[Exception](https://learn.microsoft.com/dotnet/api/system.exception)&gt;

An action that displays an error dialog