# DeviceNavigation

Namespace: **Wisej.Hybrid**

Assembly: **Wisej.Hybrid** (3.5.0.0)

Provides methods for handling navigation and page transitions within the app.

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

```csharp
public class DeviceNavigation
```

{% endtab %}

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

```visual-basic
Public Class DeviceNavigation
```

{% endtab %}
{% endtabs %}

Access this class through the [Device](https://docs.wisej.com/hybrid/start/api/general/wisej.hybrid.device) singleton.

## Constructors

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

Initializes a new instance of [DeviceNavigation](https://docs.wisej.com/hybrid/start/api/navigation/wisej.hybrid.devicenavigation).

## Methods

### ![](https://1168517704-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKLgWHTlbcMvpwVT7mLBW%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)ShowDialog(fullyQualifiedName, animated, args)

Pushes a modal page with the specified fully qualified page name and optional arguments.

| Parameter                                                                                                                                                                                                                  | Type                                                              | Description                                                                          |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------- | ------------------------------------------------------------------------------------ |
| **fullyQualifiedName**                                                                                                                                                                                                     | [String](https://docs.microsoft.com/dotnet/api/system.string)     | The fully qualified name of the page to push (e.g., "Namespace.PageName, Assembly"). |
| **animated** ![](https://1168517704-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKLgWHTlbcMvpwVT7mLBW%2Fuploads%2Fgit-blob-723b640963c6cd781ff8c5ce5b24149fa0af7b9c%2Fbadge-optional.svg?alt=media) | [Boolean](https://docs.microsoft.com/dotnet/api/system.boolean)   | Specifies whether the page transition should be animated (default is true).          |
| **args**                                                                                                                                                                                                                   | [Object\[\]](https://docs.microsoft.com/dotnet/api/system.object) | Optional arguments to pass to the pushed page.                                       |

**Returns:** [Object](https://docs.microsoft.com/dotnet/api/system.object). The result of the navigation operation.
