TabsCanChangeEventArgs Class

Supplies information about a CanChange event that is being raised.

Inheritance

Object

TabsCanChangeEventArgs

Namespace: Radzen.Blazor

Assembly: Radzen.Blazor.dll

Syntax

public class TabsCanChangeEventArgs

Constructors

TabsCanChangeEventArgsLink to this section

Supplies information about a CanChange event that is being raised.

Declaration
public TabsCanChangeEventArgs()

Properties

IsDefaultPreventedLink to this section

Has the tab change been prevented from occuring.

Declaration
public bool IsDefaultPrevented { get; }
Property Value
Type Description
boolHas the tab change been prevented from occuring.

NewIndexLink to this section

Index of the tab the user is switching to.

Declaration
public int NewIndex { get; set; }
Property Value
Type Description
intIndex of the tab the user is switching to.

SelectedIndexLink to this section

Index of the currently selected tab.

Declaration
public int SelectedIndex { get; set; }
Property Value
Type Description
intIndex of the currently selected tab.

Methods

PreventDefaultLink to this section

Prevent the change of the tab.

Declaration
public void PreventDefault()
An error has occurred. This app may no longer respond until reloaded. Reload 🗙