TabControl
Wisej.Web.TabControl
Last updated
Wisej.Web.TabControl
Last updated
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Manages a related set of TabPage pages.
Initializes a new instance of the TabControl class.
Initializes a new instance of the TabControl class with the specified initial settings.
onSelectedIndexChanged
An Action delegate to handle the SelectedIndexChanged event.
Initializes a new instance of the TabControl class with the specified initial settings.
onSelectedIndexChanged
An Action delegate to handle the SelectedIndexChanged event.
Initializes a new instance of the TabControl class with the specified initial settings.
onSelectedIndexChanged
An Action delegate to handle the SelectedIndexChanged event.
Initializes a new instance of the TabControl class with the specified initial settings.
onSelectedIndexChanged
An Action delegate to handle the SelectedIndexChanged event.
TabAlignment: Returns or sets the area of the control (for example, along the top) where the tabs are aligned.
Boolean: Returns or sets whether the user can change the position of a tab button by dragging it. (Default: False
)
Boolean: Returns or sets the option to automatically activate the first focusable control of the TabPage when the SelectedTab is changed. Since 3.5.4 (Default: False
)
BorderStyle: Indicates the border style for the control. (Default: Solid
)
Display: Returns or sets the Display mode of the control to determine whether to display the icon, the text or both. (Default: Both
)
Rectangle: Returns the display area of the control's tab pages.
ImageList: Returns or sets the images to display on the control's tabs. (Default: null
)
Size: Returns or sets the fixed size of the tab buttons. The default value is Empty to use the itemSize set in the current theme or auto sizing.
When set to Empty (default) it uses the itemSize set in the theme. You can also set only the width or the height and leave the other value set to 0 to use the value in the current theme or auto sizing. The width (or height when Alignment is Left or Right) is applied when the value SizeMode is Fixed or Center. The height (or width when Alignment is Top or Bottom) is applied always.
Orientation: Returns or sets a value indicating the horizontal or vertical orientation of the TabControl tabs.
Int32: Returns the number of rows that are currently being displayed in the control's tab strip.
Int32: Returns or sets the number of pixels to scroll when the scroll buttons are pressed. (Default: 15
)
Throws:
ArgumentOutOfRangeException The value is less than 1 or greater than 500.
Int32: Returns or sets the index of the currently selected tab page. (Default: -1
)
Throws:
ArgumentOutOfRangeException The value is less than -1.
TabPage: Returns or sets the currently selected tab page.
Boolean: Returns or sets whether a tab's ToolTip is shown when the mouse passes over the tab. (Default: False
)
Boolean: Returns or sets whether the tab visibility menu button is visible. (Default: False
)
TabSizeMode: Returns or sets whether the tab buttons should fill the control's size, or placed in the center, or use the size set in ItemSize.
Int32: Gets the number of tabs in the tab strip.
TabPageCollection: Returns the collection of tab pages in this tab control.
Makes the tab following the tab with the specified index the current tab.
Throws:
ArgumentOutOfRangeException index is less than 0 or greater than the number of TabPage controls in the TabPages collection minus 1.
Makes the tab following the specified TabPage the current tab.
Throws:
ArgumentNullException tabPage is null.
Makes the tab following the tab with the specified name the current tab.
Throws:
ArgumentNullException tabPageName is null; or tabPageName does not match the Name property of any TabPage in the TabPages collection.
Returns the TabPage control at the specified location.
Returns: Control. The TabPage at the specified location.
Throws:
ArgumentOutOfRangeException index is less than 0 or greater than the number of TabPage controls in the TabPages collection minus 1.
Returns the bounding rectangle for the tab button of the TabPage at the specified index in this TabControl control.