The requested page is not available for the requested platform. You are viewing the content for Default platform.

XRDesignPanel.SelectedTabIndex Property

Gets or sets the index of the tab currently selected in the Design Panel.

Namespace: DevExpress.XtraReports.UserDesigner

Assembly: DevExpress.XtraReports.v19.1.Extensions.dll

Declaration

[DefaultValue(0)]
[SRCategory(ReportStringId.CatAppearance)]
public int SelectedTabIndex { get; set; }
<DefaultValue(0)>
<SRCategory(ReportStringId.CatAppearance)>
Public Property SelectedTabIndex As Integer

Property Value

Type Default Description
Int32

0

An integer value which represents the index of the currently selected tab.

Remarks

Use the SelectedTabIndex property, to obtain the active tab, or switch tabs in an XRDesignPanel. By default, the Design Panel's tabs correspond to the following indexes.

0. Design tab. Displays the report's design surface.

1. Preview tab. Displays the report's Print Preview.

2. HTML View tab. Displays the report's HTML preview.

3. Scripts tab. Used to maintain the report's scripts.

Note

After modifying the SelectedTabIndex property, the XRDesignPanel.SelectedTabIndexChanged event is raised.

See Also