# SplashScreenViewModel.SetText method

Updates [`Progress`](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls.ApplicationServices/SplashScreenViewModel/Progress/index.md). Override it to react to the caption as well, or to localize the message.

**Namespace:** [`Eremex.AvaloniaUI.Controls.ApplicationServices`](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls.ApplicationServices/index.md)  
**Assembly:** `Eremex.Avalonia.Controls.ApplicationServices.dll`  
**NuGet Package:** [Eremex.Avalonia.Controls.ApplicationServices](https://www.nuget.org/packages/Eremex.Avalonia.Controls.ApplicationServices)

## Declaration

```csharp
public virtual void SetText(string? text, string? caption = null)
```

## Parameters

| name | type | description |
| --- | --- | --- |
| text | `string?` | The progress message. |
| caption | `string?` | An optional caption; unused by the base implementation. |

## See Also

* class [SplashScreenViewModel](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls.ApplicationServices/SplashScreenViewModel/index.md)
* namespace [Eremex.AvaloniaUI.Controls.ApplicationServices](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls.ApplicationServices/index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Avalonia.Controls.ApplicationServices.dll -->
