Supplies information about a CanChange event that is being raised.
Object
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
public class TabsCanChangeEventArgsSupplies information about a CanChange event that is being raised.
public TabsCanChangeEventArgs()Has the tab change been prevented from occuring.
public bool IsDefaultPrevented { get; }
| Type | Description |
|---|---|
| bool | Has the tab change been prevented from occuring. |
Index of the tab the user is switching to.
public int NewIndex { get; set; }
| Type | Description |
|---|---|
| int | Index of the tab the user is switching to. |
Index of the currently selected tab.
public int SelectedIndex { get; set; }
| Type | Description |
|---|---|
| int | Index of the currently selected tab. |
Prevent the change of the tab.
public void PreventDefault()