# HiddenBehavior

- Kind: `enum`
- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Version: `13.5.3`
- Namespace: `Aspire.Hosting.ApplicationModel`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/b5f143315ffb6968ea939a9978797a5b20e4c688/src/Aspire.Hosting/ApplicationModel/HiddenBehavior.cs)

Specifies when a hidden resource should be omitted from default resource lists.

## Definition

```csharp
namespace Aspire.Hosting.ApplicationModel;

public enum HiddenBehavior
```

## Enum Members

| Name | Value | Description |
| --- | --- | --- |
| Always | 0 | Always hide the resource from default resource lists. |
| OnCompletion | 1 | Hide the resource from default resource lists only after it completes successfully. |
