Class
RadTabbedFormControl

Represents a tabbed form control that provides a collection of tabs painted in the non-client area with associated containers for hosting other controls. This control serves as the foundation for creating tabbed interfaces with integrated caption bars, system buttons, and draggable tab functionality.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
[TelerikToolboxCategory("Containers")]
public class RadTabbedFormControl : RadNCEnabledControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IAnalyticsProvider

Inheritance: objectMarshalByRefObjectComponentControlScrollableControlRadControlRadNonClientUIControlRadNCEnabledControlRadTabbedFormControl

Implements: IAnalyticsProviderIBindableComponentIComponentIComponentTreeHandlerIDisposableIDropTargetILayoutHandlerINotifyPropertyChangedISupportInitializeISupportInitializeNotificationISynchronizeInvokeIWin32Window

Inherited Members RadNCEnabledControl.WndProc(ref Message)RadNCEnabledControl.OnNCPaint(Graphics)RadNCEnabledControl.GetNCMetrics()RadNCEnabledControl.EnableNCPaintingRadNCEnabledControl.EnableNCModificationRadControl.isResizing2RadControl.isDisposing2RadControl.invalidResizeRectRadControl.isAccessibilityRequestedRadControl.CreateBehavior()RadControl.CreateRootElement()RadControl.LoadElementTree()RadControl.LoadElementTree(Size)RadControl.SetBackColorThemeOverrides()RadControl.ResetBackColorThemeOverrides()RadControl.SetForeColorThemeOverrides()RadControl.ResetForeColorThemeOverrides()RadControl.OnKeyUp(KeyEventArgs)RadControl.OnPreviewKeyDown(PreviewKeyDownEventArgs)RadControl.OnKeyPress(KeyPressEventArgs)RadControl.OnClick(EventArgs)RadControl.OnDoubleClick(EventArgs)RadControl.OnMouseDown(MouseEventArgs)RadControl.OnMouseUp(MouseEventArgs)RadControl.OnMouseEnter(EventArgs)RadControl.OnMouseLeave(EventArgs)RadControl.OnMouseMove(MouseEventArgs)RadControl.OnMouseHover(EventArgs)RadControl.OnMouseWheel(MouseEventArgs)RadControl.OnMouseCaptureChanged(EventArgs)RadControl.OnGotFocus(EventArgs)RadControl.OnLostFocus(EventArgs)RadControl.OnCreateControl()RadControl.OnHandleDestroyed(EventArgs)RadControl.OnVisibleChanged(EventArgs)RadControl.OnFontChanged(EventArgs)RadControl.OnForeColorChanged(EventArgs)RadControl.OnBackColorChanged(EventArgs)RadControl.OnEnabledChanged(EventArgs)RadControl.OnBindingContextChanged(EventArgs)RadControl.OnLocationChanged(EventArgs)RadControl.OnPaddingChanged(EventArgs)RadControl.OnPaint(PaintEventArgs)RadControl.OnLayout(LayoutEventArgs)RadControl.OnAutoSizeChanged(EventArgs)RadControl.OnInvalidated(RadElement)RadControl.OnLoad(Size)RadControl.OnCaptureLosing()RadControl.OnThemeChanged()RadControl.OnToolTipTextNeeded(object, ToolTipTextNeededEventArgs)RadControl.OnScreenTipNeeded(object, ScreenTipNeededEventArgs)RadControl.OnThemeNameChanged(ThemeNameChangedEventArgs)RadControl.ProcessMnemonic(char)RadControl.ProcessFocusRequested(RadElement)RadControl.ProcessCaptureChangeRequested(RadElement, bool)RadControl.ProcessAutoSizeChanged(bool)RadControl.IsInputKey(Keys)RadControl.GetInputElement()RadControl.BeginInit()RadControl.EndInit()RadControl.OnNotifyPropertyChanged(string)RadControl.OnNotifyPropertyChanged(PropertyChangedEventArgs)RadControl.GetPreferredSize(Size)RadControl.SetBoundsCore(int, int, int, int, BoundsSpecified)RadControl.GetRootElementDesiredSize(int, int, int, int)RadControl.OnZoomGesture(ZoomGestureEventArgs)RadControl.OnRotateGesture(RotateGestureEventArgs)RadControl.OnPanGesture(PanGestureEventArgs)RadControl.OnTwoFingerTapGesture(GestureEventArgs)RadControl.OnPressAndTapGesture(PressAndTapGestureEventArgs)RadControl.OnGesture(GestureEventArgs)RadControl.ProcessGesture(Message)RadControl.EnableGesture(GestureType)RadControl.DisableGesture(GestureType)RadControl.Refresh()RadControl.SuspendUpdate()RadControl.ResumeUpdate()RadControl.ResumeUpdate(bool)RadControl.InvokeLayoutCallback(LayoutCallback)RadControl.RegisterHostedControl(RadHostItem)RadControl.UnregisterHostedControl(RadHostItem, bool)RadControl.ResolveStyleGroupForElement(StyleGroup, RadObject)RadControl.GetPlainText()RadControl.ShouldSerializeProperty(RadProperty)RadControl.ShouldSerializeProperty(RadProperty, RadObject)RadControl.ResetProperty(RadProperty, RadObject)RadControl.CanEditElementAtDesignTime(RadElement)RadControl.FindPropertyInChildren(RadControl, IPCMessage)RadControl.ScaleControl(SizeF, BoundsSpecified)RadControl.PerformRadAutoScale(BoundsSpecified?)RadControl.GetMonitorDpiScaleFactor(Control)RadControl.SetRadAutoScale(bool)RadControl.EnableDpiScalingRadControl.EnableRadAutoScaleRadControl.EnableRadFormInitialDpiScalingRadControl.EnableImageDpiScalingRadControl.EnableSvgImagesRadControl.IsLoadedRadControl.ElementTreeRadControl.UseCompatibleTextRenderingDefaultValueRadControl.BehaviorRadControl.RootElementRadControl.PaddingRadControl.ThemeNameRadControl.EnableThemingRadControl.ImageListRadControl.ImageScalingSizeRadControl.UseCompatibleTextRenderingRadControl.AutoSizeRadControl.MaximumSizeRadControl.MinimumSizeRadControl.FocusableRadControl.SiteRadControl.IsInitializingRadControl.SmallImageScalingSizeRadControl.IsDesignModeRadControl.IsDisplayedRadControl.FocusedElementRadControl.AllowShowFocusCuesRadControl.ShowItemToolTipsRadControl.CommandBindingsRadControl.EnableKeyMapRadControl.BackColorRadControl.ForeColorRadControl.FontRadControl.ValidationCancelRadControl.EnableAnalyticsRadControl.AnalyticsNameRadControl.EnableRadAccessibilityObjectsRadControl.EnableCodedUITestsRadControl.EnableCodedUITestsDefaultValueRadControl.EnableUIAutomationRadControl.EnableUIAutomationDefaultValueRadControl.ElementInvalidatedRadControl.ToolTipTextNeededRadControl.ScreenTipNeededRadControl.ThemeNameChangedRadControl.InitializedRadControl.PropertyChangedRadControl.ZoomGestureRadControl.RotateGestureRadControl.PanGestureRadControl.TwoFingerTapGestureRadControl.PressAndTapGestureScrollableControl.ScrollStateAutoScrollingScrollableControl.ScrollStateHScrollVisibleScrollableControl.ScrollStateVScrollVisibleScrollableControl.ScrollStateUserHasScrolledScrollableControl.ScrollStateFullDragScrollableControl.AdjustFormScrollbars(bool)ScrollableControl.GetScrollState(int)ScrollableControl.OnPaintBackground(PaintEventArgs)ScrollableControl.SetDisplayRectLocation(int, int)ScrollableControl.ScrollControlIntoView(Control)ScrollableControl.ScrollToControl(Control)ScrollableControl.OnScroll(ScrollEventArgs)ScrollableControl.SetAutoScrollMargin(int, int)ScrollableControl.SetScrollState(int, bool)ScrollableControl.AutoScrollScrollableControl.AutoScrollMarginScrollableControl.AutoScrollPositionScrollableControl.AutoScrollMinSizeScrollableControl.CreateParamsScrollableControl.DisplayRectangleScrollableControl.HScrollScrollableControl.HorizontalScrollScrollableControl.VScrollScrollableControl.VerticalScrollScrollableControl.ScrollControl.GetAccessibilityObjectById(int)Control.SetAutoSizeMode(AutoSizeMode)Control.GetAutoSizeMode()Control.AccessibilityNotifyClients(AccessibleEvents, int)Control.AccessibilityNotifyClients(AccessibleEvents, int, int)Control.BeginInvoke(Delegate)Control.BeginInvoke(Delegate, params object[])Control.BringToFront()Control.Contains(Control)Control.CreateGraphics()Control.CreateHandle()Control.CreateControl()Control.DefWndProc(ref Message)Control.DestroyHandle()Control.DoDragDrop(object, DragDropEffects)Control.DrawToBitmap(Bitmap, Rectangle)Control.EndInvoke(IAsyncResult)Control.FindForm()Control.GetTopLevel()Control.RaiseKeyEvent(object, KeyEventArgs)Control.RaiseMouseEvent(object, MouseEventArgs)Control.Focus()Control.FromChildHandle(IntPtr)Control.FromHandle(IntPtr)Control.GetChildAtPoint(Point, GetChildAtPointSkip)Control.GetChildAtPoint(Point)Control.GetContainerControl()Control.GetScaledBounds(Rectangle, SizeF, BoundsSpecified)Control.GetNextControl(Control, bool)Control.GetStyle(ControlStyles)Control.Hide()Control.InitLayout()Control.Invalidate(Region)Control.Invalidate(Region, bool)Control.Invalidate()Control.Invalidate(bool)Control.Invalidate(Rectangle)Control.Invalidate(Rectangle, bool)Control.Invoke(Delegate)Control.Invoke(Delegate, params object[])Control.InvokePaint(Control, PaintEventArgs)Control.InvokePaintBackground(Control, PaintEventArgs)Control.IsKeyLocked(Keys)Control.IsInputChar(char)Control.IsMnemonic(char, string)Control.LogicalToDeviceUnits(int)Control.LogicalToDeviceUnits(Size)Control.ScaleBitmapLogicalToDevice(ref Bitmap)Control.NotifyInvalidate(Rectangle)Control.InvokeOnClick(Control, EventArgs)Control.OnBackgroundImageChanged(EventArgs)Control.OnBackgroundImageLayoutChanged(EventArgs)Control.OnCausesValidationChanged(EventArgs)Control.OnContextMenuChanged(EventArgs)Control.OnContextMenuStripChanged(EventArgs)Control.OnCursorChanged(EventArgs)Control.OnDockChanged(EventArgs)Control.OnNotifyMessage(Message)Control.OnParentBackColorChanged(EventArgs)Control.OnParentBackgroundImageChanged(EventArgs)Control.OnParentBindingContextChanged(EventArgs)Control.OnParentCursorChanged(EventArgs)Control.OnParentEnabledChanged(EventArgs)Control.OnParentFontChanged(EventArgs)Control.OnParentForeColorChanged(EventArgs)Control.OnParentRightToLeftChanged(EventArgs)Control.OnParentVisibleChanged(EventArgs)Control.OnPrint(PaintEventArgs)Control.OnTabIndexChanged(EventArgs)Control.OnTabStopChanged(EventArgs)Control.OnTextChanged(EventArgs)Control.OnClientSizeChanged(EventArgs)Control.OnControlAdded(ControlEventArgs)Control.OnControlRemoved(ControlEventArgs)Control.OnHandleCreated(EventArgs)Control.OnDragEnter(DragEventArgs)Control.OnDragOver(DragEventArgs)Control.OnDragLeave(EventArgs)Control.OnDragDrop(DragEventArgs)Control.OnGiveFeedback(GiveFeedbackEventArgs)Control.OnEnter(EventArgs)Control.InvokeGotFocus(Control, EventArgs)Control.OnHelpRequested(HelpEventArgs)Control.OnInvalidated(InvalidateEventArgs)Control.OnLeave(EventArgs)Control.InvokeLostFocus(Control, EventArgs)Control.OnMarginChanged(EventArgs)Control.OnMouseDoubleClick(MouseEventArgs)Control.OnMouseClick(MouseEventArgs)Control.OnDpiChangedBeforeParent(EventArgs)Control.OnDpiChangedAfterParent(EventArgs)Control.OnMove(EventArgs)Control.OnQueryContinueDrag(QueryContinueDragEventArgs)Control.OnRegionChanged(EventArgs)Control.OnResize(EventArgs)Control.OnSizeChanged(EventArgs)Control.OnChangeUICues(UICuesEventArgs)Control.OnStyleChanged(EventArgs)Control.OnSystemColorsChanged(EventArgs)Control.OnValidating(CancelEventArgs)Control.OnValidated(EventArgs)Control.RescaleConstantsForDpi(int, int)Control.PerformLayout()Control.PerformLayout(Control, string)Control.PointToClient(Point)Control.PointToScreen(Point)Control.PreProcessMessage(ref Message)Control.PreProcessControlMessage(ref Message)Control.ProcessCmdKey(ref Message, Keys)Control.ProcessDialogChar(char)Control.ProcessDialogKey(Keys)Control.ProcessKeyEventArgs(ref Message)Control.ProcessKeyMessage(ref Message)Control.ProcessKeyPreview(ref Message)Control.RaiseDragEvent(object, DragEventArgs)Control.RaisePaintEvent(object, PaintEventArgs)Control.RecreateHandle()Control.RectangleToClient(Rectangle)Control.RectangleToScreen(Rectangle)Control.ReflectMessage(IntPtr, ref Message)Control.ResetMouseEventArgs()Control.ResetText()Control.ResumeLayout()Control.ResumeLayout(bool)Control.Scale(SizeF)Control.Select()Control.Select(bool, bool)Control.SelectNextControl(Control, bool, bool, bool, bool)Control.SendToBack()Control.SetBounds(int, int, int, int)Control.SetBounds(int, int, int, int, BoundsSpecified)Control.SetClientSizeCore(int, int)Control.SizeFromClientSize(Size)Control.SetStyle(ControlStyles, bool)Control.SetTopLevel(bool)Control.SetVisibleCore(bool)Control.RtlTranslateAlignment(HorizontalAlignment)Control.RtlTranslateAlignment(LeftRightAlignment)Control.RtlTranslateAlignment(ContentAlignment)Control.RtlTranslateHorizontal(HorizontalAlignment)Control.RtlTranslateLeftRight(LeftRightAlignment)Control.RtlTranslateContent(ContentAlignment)Control.Show()Control.SuspendLayout()Control.Update()Control.UpdateBounds()Control.UpdateBounds(int, int, int, int)Control.UpdateBounds(int, int, int, int, int, int)Control.UpdateZOrder()Control.UpdateStyles()Control.OnImeModeChanged(EventArgs)Control.AccessibilityObjectControl.AccessibleDefaultActionDescriptionControl.AccessibleDescriptionControl.AccessibleNameControl.AccessibleRoleControl.AllowDropControl.AnchorControl.AutoScrollOffsetControl.LayoutEngineControl.BackgroundImageControl.BackgroundImageLayoutControl.BindingContextControl.BottomControl.BoundsControl.CanFocusControl.CanSelectControl.CaptureControl.CheckForIllegalCrossThreadCallsControl.ClientRectangleControl.ClientSizeControl.CompanyNameControl.ContainsFocusControl.ContextMenuControl.ContextMenuStripControl.ControlsControl.CreatedControl.CursorControl.DataBindingsControl.DefaultBackColorControl.DefaultCursorControl.DefaultFontControl.DefaultForeColorControl.DefaultMarginControl.DefaultMaximumSizeControl.DefaultMinimumSizeControl.DefaultPaddingControl.DeviceDpiControl.IsDisposedControl.DisposingControl.DockControl.DoubleBufferedControl.EnabledControl.FocusedControl.FontHeightControl.HandleControl.HasChildrenControl.HeightControl.IsHandleCreatedControl.InvokeRequiredControl.IsAccessibleControl.IsMirroredControl.LeftControl.LocationControl.MarginControl.ModifierKeysControl.MouseButtonsControl.MousePositionControl.NameControl.ParentControl.ProductNameControl.ProductVersionControl.RecreatingHandleControl.RegionControl.RenderRightToLeftControl.ResizeRedrawControl.RightControl.RightToLeftControl.ScaleChildrenControl.SizeControl.TabIndexControl.TabStopControl.TagControl.TopControl.TopLevelControlControl.ShowKeyboardCuesControl.ShowFocusCuesControl.UseWaitCursorControl.VisibleControl.WidthControl.PreferredSizeControl.CanEnableImeControl.DefaultImeModeControl.ImeModeControl.ImeModeBaseControl.PropagatingImeModeControl.BackColorChangedControl.BackgroundImageChangedControl.BackgroundImageLayoutChangedControl.BindingContextChangedControl.CausesValidationChangedControl.ClientSizeChangedControl.ContextMenuChangedControl.ContextMenuStripChangedControl.CursorChangedControl.DockChangedControl.EnabledChangedControl.FontChangedControl.ForeColorChangedControl.LocationChangedControl.MarginChangedControl.RegionChangedControl.RightToLeftChangedControl.SizeChangedControl.TabIndexChangedControl.TabStopChangedControl.TextChangedControl.VisibleChangedControl.ClickControl.ControlAddedControl.ControlRemovedControl.DragDropControl.DragEnterControl.DragOverControl.DragLeaveControl.GiveFeedbackControl.HandleCreatedControl.HandleDestroyedControl.HelpRequestedControl.InvalidatedControl.PaddingChangedControl.PaintControl.QueryContinueDragControl.QueryAccessibilityHelpControl.DoubleClickControl.EnterControl.GotFocusControl.KeyDownControl.KeyPressControl.KeyUpControl.LayoutControl.LeaveControl.LostFocusControl.MouseClickControl.MouseDoubleClickControl.MouseCaptureChangedControl.MouseDownControl.MouseEnterControl.MouseLeaveControl.DpiChangedBeforeParentControl.DpiChangedAfterParentControl.MouseHoverControl.MouseMoveControl.MouseUpControl.MouseWheelControl.MoveControl.PreviewKeyDownControl.ResizeControl.ChangeUICuesControl.StyleChangedControl.SystemColorsChangedControl.ValidatingControl.ValidatedControl.ParentChangedControl.ImeModeChangedComponent.Dispose()Component.GetService(Type)Component.ToString()Component.EventsComponent.ContainerComponent.DesignModeComponent.DisposedMarshalByRefObject.MemberwiseClone(bool)MarshalByRefObject.GetLifetimeService()MarshalByRefObject.InitializeLifetimeService()MarshalByRefObject.CreateObjRef(Type)

Constructors

RadTabbedFormControl()

Initializes a new instance of the RadTabbedFormControl class with default settings for tabbed form functionality.

Declaration

cs-api-definition
public RadTabbedFormControl()

Properties

CanRaiseEvents

Gets a value indicating whether event raising is currently enabled for this control, taking into account the suspend events counter.

Declaration

cs-api-definition
protected override bool CanRaiseEvents { get; }

Property Value

bool

Overrides Control.CanRaiseEvents

CaptionHeight

Gets or sets the height of the extended title bar area that contains the tabs and caption elements.

Declaration

cs-api-definition
public virtual int CaptionHeight { get; set; }

Property Value

int

CausesValidation

Gets or sets a value indicating whether the control causes validation to be performed on any controls that require validation when it receives focus.

Declaration

cs-api-definition
[Browsable(false)]
public bool CausesValidation { get; set; }

Property Value

bool

CloseButton

Gets or sets a value indicating whether the tabbed form displays a close button in its caption area.

Declaration

cs-api-definition
public bool CloseButton { get; set; }

Property Value

bool

DefaultSize

Gets the default size of the tabbed form control when no explicit size is specified.

Declaration

cs-api-definition
protected override Size DefaultSize { get; }

Property Value

Size

Overrides Control.DefaultSize

HelpButtonElement

Gets the help button element from the form's caption area, providing access to context-sensitive help functionality.

Declaration

cs-api-definition
public override RadItem HelpButtonElement { get; }

Property Value

RadItem

Overrides RadNCEnabledControl.HelpButtonElement

IconCaptionElement

Gets the icon caption element that represents the form's icon in the title bar area of the tabbed form control.

Declaration

cs-api-definition
public override ImagePrimitive IconCaptionElement { get; }

Property Value

ImagePrimitive

Overrides RadNCEnabledControl.IconCaptionElement

ItemDragMode

Gets or sets the drag mode for tabs, determining when and how tab drag operations are initiated by the user.

Declaration

cs-api-definition
public TabItemDragMode ItemDragMode { get; set; }

Property Value

TabItemDragMode

LeftItems

Gets the collection of items displayed on the left side of the tabbed form control's caption area, providing quick access functionality.

Declaration

cs-api-definition
[Browsable(true)]
[RadEditItemsAction]
[RadNewItem("Type here", true, false)]
public virtual RadItemOwnerCollection LeftItems { get; }

Property Value

RadItemOwnerCollection

LeftItemsContainer

Gets the left items container element that hosts quick access items on the left side of the tabbed form control's caption area.

Declaration

cs-api-definition
[Browsable(true)]
public RadQuickAccessToolBar LeftItemsContainer { get; }

Property Value

RadQuickAccessToolBar

MaximizeButton

Gets or sets a value indicating whether the tabbed form displays a maximize button in its caption area.

Declaration

cs-api-definition
public bool MaximizeButton { get; set; }

Property Value

bool

MaximizeButtonElement

Gets the maximize button element from the form's caption area, providing access to the system maximize/restore functionality.

Declaration

cs-api-definition
public override RadItem MaximizeButtonElement { get; }

Property Value

RadItem

Overrides RadNCEnabledControl.MaximizeButtonElement

MinimizeButton

Gets or sets a value indicating whether the tabbed form displays a minimize button in its caption area.

Declaration

cs-api-definition
public bool MinimizeButton { get; set; }

Property Value

bool

MinimizeButtonElement

Gets the minimize button element from the form's caption area, providing access to the system minimize functionality.

Declaration

cs-api-definition
public override RadItem MinimizeButtonElement { get; }

Property Value

RadItem

Overrides RadNCEnabledControl.MinimizeButtonElement

MinimumTabWidth

Gets or sets the minimum width that tabs can be resized to, ensuring tabs remain readable and functional.

Declaration

cs-api-definition
public virtual int MinimumTabWidth { get; set; }

Property Value

int

PinnedItemsPosition

Gets or sets the position where pinned tabs will be displayed relative to regular tabs in the title bar area.

Declaration

cs-api-definition
public virtual PinnedItemsPosition PinnedItemsPosition { get; set; }

Property Value

PinnedItemsPosition

RightItems

Gets the collection of items displayed on the right side of the tabbed form control's caption area, providing additional quick access functionality.

Declaration

cs-api-definition
[Browsable(true)]
[RadEditItemsAction]
[RadNewItem("Type here", true, false)]
public virtual RadItemOwnerCollection RightItems { get; }

Property Value

RadItemOwnerCollection

RightItemsContainer

Gets the right items container element that hosts quick access items on the right side of the tabbed form control's caption area.

Declaration

cs-api-definition
[Browsable(true)]
public RadQuickAccessToolBar RightItemsContainer { get; }

Property Value

RadQuickAccessToolBar

SelectedTab

Gets or sets the RadTabbedFormControlTab instance that is currently selected and active in the tabbed form control.

Declaration

cs-api-definition
[Browsable(false)]
public RadTabbedFormControlTab SelectedTab { get; set; }

Property Value

RadTabbedFormControlTab

ShowIcon

Gets or sets a value indicating whether the form icon is displayed in the caption bar area of the tabbed form control.

Declaration

cs-api-definition
public virtual bool ShowIcon { get; set; }

Property Value

bool

ShowNewTabButton

Gets or sets a value indicating whether the new tab button is visible, allowing users to create new tabs through the UI.

Declaration

cs-api-definition
public virtual bool ShowNewTabButton { get; set; }

Property Value

bool

ShowTabCloseButton

Gets or sets a value indicating whether close buttons are displayed on individual tabs, allowing users to close tabs directly.

Declaration

cs-api-definition
public virtual bool ShowTabCloseButton { get; set; }

Property Value

bool

ShowTabPinButton

Gets or sets a value indicating whether pin buttons are displayed on individual tabs, allowing users to pin tabs for persistent visibility.

Declaration

cs-api-definition
public virtual bool ShowTabPinButton { get; set; }

Property Value

bool

ShowText

Gets or sets a value indicating whether the element holding the form title text is visible in the caption area.

Declaration

cs-api-definition
public virtual bool ShowText { get; set; }

Property Value

bool

SmallImageList

Gets or sets the collection of small images used throughout the tabbed form control for icons and visual elements.

Declaration

cs-api-definition
[Browsable(true)]
public override ImageList SmallImageList { get; set; }

Property Value

ImageList

Overrides RadControl.SmallImageList

SystemButtonsElement

Gets the system buttons element container from the form's caption area, which houses the minimize, maximize, and close buttons.

Declaration

cs-api-definition
public override RadItem SystemButtonsElement { get; }

Property Value

RadItem

Overrides RadNCEnabledControl.SystemButtonsElement

TabHeight

Gets or sets the default height for all tabs in the tabbed form control, affecting the overall appearance of the tab strip.

Declaration

cs-api-definition
public virtual int TabHeight { get; set; }

Property Value

int

TabSpacing

Gets or sets the spacing between individual tabs in the tab strip, controlling the visual separation between tabs.

Declaration

cs-api-definition
public virtual int TabSpacing { get; set; }

Property Value

int

TabWidth

Gets or sets the default width for all tabs in the tabbed form control, determining the initial size of new tabs.

Declaration

cs-api-definition
public virtual int TabWidth { get; set; }

Property Value

int

TabbedFormControlElement

Gets the instance of RadTabbedFormControlElement wrapped by this control. The RadTabbedFormControlElement is the main element in the hierarchy tree and encapsulates the actual functionality of the RadTabbedFormControl.

Declaration

cs-api-definition
[Browsable(false)]
public RadTabbedFormControlElement TabbedFormControlElement { get; }

Property Value

RadTabbedFormControlElement

TabbedFormControlTabsElement

Gets the RadTabbedFormControlTabsElement element that manages the display and layout of tabs within the tabbed form control.

Declaration

cs-api-definition
[Browsable(true)]
public RadTabbedFormControlTabsElement TabbedFormControlTabsElement { get; }

Property Value

RadTabbedFormControlTabsElement

Tabs

Gets the collection of tabs managed by this tabbed form control, providing access to add, remove, and manipulate individual tabs.

Declaration

cs-api-definition
public RadTabbedFormControlTabCollection Tabs { get; }

Property Value

RadTabbedFormControlTabCollection

Text

Gets or sets the text displayed in the caption area of the tabbed form control, typically representing the form title.

Declaration

cs-api-definition
public override string Text { get; set; }

Property Value

string

Overrides RadControl.Text

TextCaptionElement

Gets the text caption element that displays the form's title text in the caption area of the tabbed form control.

Declaration

cs-api-definition
public override RadElement TextCaptionElement { get; }

Property Value

RadElement

Overrides RadNCEnabledControl.TextCaptionElement

ThemeClassName

Gets the theme class name for the control, which is used by the theming system to apply appropriate visual styles.

Declaration

cs-api-definition
public override string ThemeClassName { get; }

Property Value

string

Overrides RadControl.ThemeClassName

Methods

Construct()

Constructs the control by initializing its default settings and creating the tabs collection that will hold all tabbed form control tabs.

Declaration

cs-api-definition
protected override void Construct()

Overrides RadControl.Construct()

CreateAccessibilityInstance()

Creates a new accessibility object for the control to support screen readers and automation tools.

Declaration

cs-api-definition
protected override AccessibleObject CreateAccessibilityInstance()

Returns

AccessibleObject

A new RadTabbedFormControlAccessibilityObject if accessibility objects are enabled; otherwise, the base accessibility object.

Overrides Control.CreateAccessibilityInstance()

CreateChildItems(RadElement)

Creates the child elements of the control, including the main tabbed form control element that provides the core tabbed interface functionality.

Declaration

cs-api-definition
protected override void CreateChildItems(RadElement parent)

Parameters

parent

RadElement

The parent element to which child elements will be added in the element hierarchy.

Overrides RadControl.CreateChildItems(RadElement)

CreateControlsInstance()

Creates a new instance of the control collection specifically designed for this tabbed form control.

Declaration

cs-api-definition
protected override Control.ControlCollection CreateControlsInstance()

Returns

Control.ControlCollection

A new RadTabbedFormControlCollection instance that manages child controls.

Overrides Control.CreateControlsInstance()

CreateTabbedFormControlElement()

Creates the main tabbed form control element that provides the core functionality for tab management, caption handling, and user interaction.

Declaration

cs-api-definition
protected virtual RadTabbedFormControlElement CreateTabbedFormControlElement()

Returns

RadTabbedFormControlElement

A new instance of RadTabbedFormControlElement configured for this control.

CreateTabsInstance()

Creates a new instance of the tabs collection that will manage all tabs within this tabbed form control.

Declaration

cs-api-definition
protected virtual RadTabbedFormControlTabCollection CreateTabsInstance()

Returns

RadTabbedFormControlTabCollection

A new RadTabbedFormControlTabCollection instance configured for this control.

Dispose(bool)

Releases the unmanaged resources used by the RadTabbedFormControl and optionally releases the managed resources, including cleanup of parent form event handlers.

Declaration

cs-api-definition
protected override void Dispose(bool disposing)

Parameters

disposing

bool

true to release both managed and unmanaged resources; false to release only unmanaged resources.

Overrides RadControl.Dispose(bool)

InitializeRootElement(RootRadElement)

Initializes the root element of the control and performs any additional setup required for the tabbed form control element hierarchy.

Declaration

cs-api-definition
protected override void InitializeRootElement(RootRadElement rootElement)

Parameters

rootElement

RootRadElement

The root element to initialize with tabbed form specific configuration.

Overrides RadControl.InitializeRootElement(RootRadElement)

OnKeyDown(KeyEventArgs)

Raises the KeyDown event and processes keyboard shortcuts and navigation for the tabbed form control.

Declaration

cs-api-definition
protected override void OnKeyDown(KeyEventArgs e)

Parameters

e

KeyEventArgs

A KeyEventArgs that contains the event data.

Overrides RadControl.OnKeyDown(KeyEventArgs)

OnNewTabRequested(RadTabbedFormControlNewTabRequestedEventArgs)

Raises the NewTabRequested event when the user requests a new tab through the user interface.

Declaration

cs-api-definition
protected virtual void OnNewTabRequested(RadTabbedFormControlNewTabRequestedEventArgs e)

Parameters

e

RadTabbedFormControlNewTabRequestedEventArgs

A RadTabbedFormControlNewTabRequestedEventArgs that contains the event data.

OnParentChanged(EventArgs)

Raises the ParentChanged event and handles parent form text synchronization setup.

Declaration

cs-api-definition
protected override void OnParentChanged(EventArgs e)

Parameters

e

EventArgs

An EventArgs that contains the event data.

Overrides RadControl.OnParentChanged(EventArgs)

OnRightToLeftChanged(EventArgs)

Raises the RightToLeftChanged event and updates the layout to reflect right-to-left reading order changes.

Declaration

cs-api-definition
protected override void OnRightToLeftChanged(EventArgs e)

Parameters

e

EventArgs

An EventArgs that contains the event data.

Overrides RadControl.OnRightToLeftChanged(EventArgs)

OnSelectedTabChanged(EventArgs)

Raises the SelectedTabChanged event and performs analytics tracking for the tab selection change.

Declaration

cs-api-definition
protected virtual void OnSelectedTabChanged(EventArgs e)

Parameters

e

EventArgs

An EventArgs that contains the event data.

OnSelectedTabChanging(RadTabbedFormControlCancelEventArgs)

Raises the SelectedTabChanging event, allowing subscribers to validate or cancel the tab selection change.

Declaration

cs-api-definition
protected virtual void OnSelectedTabChanging(RadTabbedFormControlCancelEventArgs e)

Parameters

e

RadTabbedFormControlCancelEventArgs

A RadTabbedFormControlCancelEventArgs that contains the event data and allows cancellation.

OnTabAdded(RadTabbedFormControlEventArgs)

Raises the TabAdded event after a tab has been successfully added to the control.

Declaration

cs-api-definition
protected virtual void OnTabAdded(RadTabbedFormControlEventArgs e)

Parameters

e

RadTabbedFormControlEventArgs

A RadTabbedFormControlEventArgs that contains the event data for the added tab.

OnTabAdding(RadTabbedFormControlCancelEventArgs)

Raises the TabAdding event before a tab is added to the control, allowing validation and cancellation.

Declaration

cs-api-definition
protected virtual void OnTabAdding(RadTabbedFormControlCancelEventArgs e)

Parameters

e

RadTabbedFormControlCancelEventArgs

A RadTabbedFormControlCancelEventArgs that contains the event data and allows cancellation.

OnTabIndexChanged(RadTabbedFormControlIndexChangedEventArgs)

Raises the TabItemIndexChanged event after a tab's index position has been successfully changed.

Declaration

cs-api-definition
protected virtual void OnTabIndexChanged(RadTabbedFormControlIndexChangedEventArgs e)

Parameters

e

RadTabbedFormControlIndexChangedEventArgs

A RadTabbedFormControlIndexChangedEventArgs that contains the event data for the index change.

OnTabIndexChanging(RadTabbedFormControlIndexChangingEventArgs)

Raises the TabItemIndexChanging event before a tab's index position changes, allowing validation and cancellation.

Declaration

cs-api-definition
protected virtual void OnTabIndexChanging(RadTabbedFormControlIndexChangingEventArgs e)

Parameters

e

RadTabbedFormControlIndexChangingEventArgs

A RadTabbedFormControlIndexChangingEventArgs that contains the event data and allows cancellation.

OnTabRemoved(RadTabbedFormControlEventArgs)

Raises the TabRemoved event after a tab has been successfully removed from the control, and handles automatic form closure when no tabs remain.

Declaration

cs-api-definition
protected virtual void OnTabRemoved(RadTabbedFormControlEventArgs e)

Parameters

e

RadTabbedFormControlEventArgs

A RadTabbedFormControlEventArgs that contains the event data for the removed tab.

OnTabRemoving(RadTabbedFormControlCancelEventArgs)

Raises the TabRemoving event before a tab is removed from the control, allowing validation and cancellation.

Declaration

cs-api-definition
protected virtual void OnTabRemoving(RadTabbedFormControlCancelEventArgs e)

Parameters

e

RadTabbedFormControlCancelEventArgs

A RadTabbedFormControlCancelEventArgs that contains the event data and allows cancellation.

OnTabsCleared(EventArgs)

Raises the TabsCleared event after all tabs have been successfully removed from the control.

Declaration

cs-api-definition
protected virtual void OnTabsCleared(EventArgs e)

Parameters

e

EventArgs

An EventArgs that contains the event data.

OnTabsClearing(CancelEventArgs)

Raises the TabsClearing event before all tabs are removed from the control, allowing validation and cancellation.

Declaration

cs-api-definition
protected virtual void OnTabsClearing(CancelEventArgs e)

Parameters

e

CancelEventArgs

A CancelEventArgs that allows cancellation of the clear operation.

ProcessCodedUIMessage(ref IPCMessage)

Processes CodedUI messages for automation and testing purposes, handling tab selection, property retrieval, and other automation commands.

Declaration

cs-api-definition
protected override void ProcessCodedUIMessage(ref IPCMessage request)

Parameters

request

IPCMessage

The CodedUI message to process, containing the automation command and parameters.

Overrides RadControl.ProcessCodedUIMessage(ref IPCMessage)

ProcessParentNotifyMessage(ref Message)

Processes parent notification messages for the control, forwarding them to the window procedure for handling.

Declaration

cs-api-definition
protected virtual void ProcessParentNotifyMessage(ref Message m)

Parameters

m

Message

The Windows Message to process.

ResumeEvents()

Resumes event raising for tab-related events, previously suspended by a SuspendEvents() call. Events will be raised normally after this call.

Declaration

cs-api-definition
public void ResumeEvents()

SetSelectedTab(RadTabbedFormControlEventArgs)

Sets the selected tab and performs the necessary layout operations to reflect the change in the user interface.

Declaration

cs-api-definition
protected virtual void SetSelectedTab(RadTabbedFormControlEventArgs e)

Parameters

e

RadTabbedFormControlEventArgs

A RadTabbedFormControlEventArgs that contains the event data for the tab selection.

SuspendEvents()

Temporarily suspends event raising for all tab-related events to improve performance during bulk operations.

Declaration

cs-api-definition
public void SuspendEvents()

WmNCHitTest(ref Message)

Processes Windows messages for hit testing in the non-client area, handling special cases for tabbed form behavior and composition.

Declaration

cs-api-definition
protected override bool WmNCHitTest(ref Message msg)

Parameters

msg

Message

The Windows Message to process.

Returns

bool

true if the message was processed by this method; otherwise, false.

Overrides RadNCEnabledControl.WmNCHitTest(ref Message)

Events

ContextMenuOpening

Occurs when the context menu is about to be opened for a tab item, providing an opportunity to customize the context menu contents or cancel the operation.

Declaration

cs-api-definition
public event EventHandler<RadTabbedFormControlItemConextMenuOpeningEventArgs> ContextMenuOpening

Event Value

EventHandler<RadTabbedFormControlItemConextMenuOpeningEventArgs>

ItemCreating

Occurs when a new tab item is about to be created, allowing customization of the tab creation process and initial properties.

Declaration

cs-api-definition
public event EventHandler<RadTabbedFormControlItemCreatingEventArgs> ItemCreating

Event Value

EventHandler<RadTabbedFormControlItemCreatingEventArgs>

ItemDropped

Occurs when a tab item has been successfully dropped over another item, completing the drag and drop operation. This event provides notification of the completed drop action.

Declaration

cs-api-definition
public event EventHandler<RadTabbedFormControlItemDroppedEventArgs> ItemDropped

Event Value

EventHandler<RadTabbedFormControlItemDroppedEventArgs>

ItemDropping

Occurs when a tab item is about to be dropped over another item during a drag and drop operation. This event allows customization of the drop behavior.

Declaration

cs-api-definition
public event EventHandler<RadTabbedFormControlItemDroppingEventArgs> ItemDropping

Event Value

EventHandler<RadTabbedFormControlItemDroppingEventArgs>

NewTabRequested

Occurs when a new tab is requested by the user, typically through clicking a new tab button or similar UI element.

Declaration

cs-api-definition
public event EventHandler<RadTabbedFormControlNewTabRequestedEventArgs> NewTabRequested

Event Value

EventHandler<RadTabbedFormControlNewTabRequestedEventArgs>

SelectedTabChanged

Occurs when the currently selected tab has changed, providing notification that a new tab is now active and selected.

Declaration

cs-api-definition
public event EventHandler SelectedTabChanged

Event Value

EventHandler

SelectedTabChanging

Occurs when the currently selected tab is about to change. This event is cancelable and allows validation or cleanup before the selection changes.

Declaration

cs-api-definition
public event EventHandler<RadTabbedFormControlCancelEventArgs> SelectedTabChanging

Event Value

EventHandler<RadTabbedFormControlCancelEventArgs>

TabAdded

Occurs when a new tab has been successfully added to the control, providing notification that the addition operation completed successfully.

Declaration

cs-api-definition
public event EventHandler<RadTabbedFormControlEventArgs> TabAdded

Event Value

EventHandler<RadTabbedFormControlEventArgs>

TabAdding

Occurs when a new tab is about to be added to the control. This event is cancelable and allows validation or modification before the tab is added.

Declaration

cs-api-definition
public event EventHandler<RadTabbedFormControlCancelEventArgs> TabAdding

Event Value

EventHandler<RadTabbedFormControlCancelEventArgs>

TabItemIndexChanged

Occurs when a tab's index position has been successfully changed within the tab collection, providing notification of the completed index change operation.

Declaration

cs-api-definition
public event EventHandler<RadTabbedFormControlIndexChangedEventArgs> TabItemIndexChanged

Event Value

EventHandler<RadTabbedFormControlIndexChangedEventArgs>

TabItemIndexChanging

Occurs when a tab is about to change its index position within the tab collection. This event is cancelable and allows validation of the index change.

Declaration

cs-api-definition
public event EventHandler<RadTabbedFormControlIndexChangingEventArgs> TabItemIndexChanging

Event Value

EventHandler<RadTabbedFormControlIndexChangingEventArgs>

TabRemoved

Occurs when a tab has been successfully removed from the control, providing notification that the removal operation completed successfully.

Declaration

cs-api-definition
public event EventHandler<RadTabbedFormControlEventArgs> TabRemoved

Event Value

EventHandler<RadTabbedFormControlEventArgs>

TabRemoving

Occurs when a tab is about to be removed from the control. This event is cancelable and allows validation or cleanup operations before removal.

Declaration

cs-api-definition
public event EventHandler<RadTabbedFormControlCancelEventArgs> TabRemoving

Event Value

EventHandler<RadTabbedFormControlCancelEventArgs>

TabsCleared

Occurs when all tabs have been successfully removed from the control, providing notification that the clear operation completed successfully.

Declaration

cs-api-definition
public event EventHandler TabsCleared

Event Value

EventHandler

TabsClearing

Occurs when all tabs are about to be removed from the control. This event is cancelable and allows validation or bulk cleanup operations before clearing.

Declaration

cs-api-definition
public event CancelEventHandler TabsClearing

Event Value

CancelEventHandler

In this article
DefinitionConstructorsRadTabbedFormControl()PropertiesCanRaiseEventsCaptionHeightCausesValidationCloseButtonDefaultSizeHelpButtonElementIconCaptionElementItemDragModeLeftItemsLeftItemsContainerMaximizeButtonMaximizeButtonElementMinimizeButtonMinimizeButtonElementMinimumTabWidthPinnedItemsPositionRightItemsRightItemsContainerSelectedTabShowIconShowNewTabButtonShowTabCloseButtonShowTabPinButtonShowTextSmallImageListSystemButtonsElementTabHeightTabSpacingTabWidthTabbedFormControlElementTabbedFormControlTabsElementTabsTextTextCaptionElementThemeClassNameMethodsConstruct()CreateAccessibilityInstance()CreateChildItems(RadElement)CreateControlsInstance()CreateTabbedFormControlElement()CreateTabsInstance()Dispose(bool)InitializeRootElement(RootRadElement)OnKeyDown(KeyEventArgs)OnNewTabRequested(RadTabbedFormControlNewTabRequestedEventArgs)OnParentChanged(EventArgs)OnRightToLeftChanged(EventArgs)OnSelectedTabChanged(EventArgs)OnSelectedTabChanging(RadTabbedFormControlCancelEventArgs)OnTabAdded(RadTabbedFormControlEventArgs)OnTabAdding(RadTabbedFormControlCancelEventArgs)OnTabIndexChanged(RadTabbedFormControlIndexChangedEventArgs)OnTabIndexChanging(RadTabbedFormControlIndexChangingEventArgs)OnTabRemoved(RadTabbedFormControlEventArgs)OnTabRemoving(RadTabbedFormControlCancelEventArgs)OnTabsCleared(EventArgs)OnTabsClearing(CancelEventArgs)ProcessCodedUIMessage(ref IPCMessage)ProcessParentNotifyMessage(ref Message)ResumeEvents()SetSelectedTab(RadTabbedFormControlEventArgs)SuspendEvents()WmNCHitTest(ref Message)EventsContextMenuOpeningItemCreatingItemDroppedItemDroppingNewTabRequestedSelectedTabChangedSelectedTabChangingTabAddedTabAddingTabItemIndexChangedTabItemIndexChangingTabRemovedTabRemovingTabsClearedTabsClearing
Not finding the help you need?
Contact Support