# TabsCanChangeEventArgs Class

Supplies information about a CanChange event that is being raised.

Namespace: [Radzen.Blazor](https://blazor.radzen.com/docs/api/Radzen.Blazor.md)

Assembly: Radzen.Blazor.dll

## Inheritance

- Object
- TabsCanChangeEventArgs

## Syntax

```csharp
public class TabsCanChangeEventArgs
```

## Constructors

| Constructor | Description |
|-------------|-------------|
| `public TabsCanChangeEventArgs()` | Supplies information about a CanChange event that is being raised. |

## Properties

| Property | Type | Description |
|------|------|-------------|
| IsDefaultPrevented | `bool` | Has the tab change been prevented from occuring. |
| NewIndex | `int` | Index of the tab the user is switching to. |
| SelectedIndex | `int` | Index of the currently selected tab. |

## Methods

| Method | Returns | Description |
|------|---------|-------------|
| `PreventDefault()` | `void` | Prevent the change of the tab. |

