TabPanel
Hosts the content for a tab and stores tab presentation data such as its image and tooltip.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class TabPanel : ContainerControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl, INotifyPropertyChanged
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlContainerControlTabPanel...
Derived Classes:
Implements:
Constructors
Initializes a tab content panel with double-buffered, user-painted, and transparent-background styles.
public TabPanel()
Properties
Gets or sets the panel border style and refreshes the native window styles when it changes.
public BorderStyle BorderStyle { get; set; }
The value is not a supported BorderStyle.
Gets the initial size used when the panel is created.
protected override Size DefaultSize { get; }
Overrides:
Gets or sets the SvgImage associated with the panel.
public RadSvgImage SvgImage { get; set; }
Gets the tab-strip panel that directly contains this panel, or null when it has no such parent.
[Browsable(false)]
public TabStripPanel TabStrip { get; }
Gets or sets the tab item associated with this panel. Replacing it removes and disposes the previous item, and applies this panel's current tooltip to the new item.
[Browsable(false)]
public TabStripItem TabStripItem { get; set; }
Gets or sets the tooltip to be displayed when the mouse hovers the tabitem of this panel.
public string ToolTipText { get; set; }
Methods
Gets the direct parent tab-strip panel when it is assignable to T.
public T GetTabStrip<T>() where T : TabStripPanel
T
The parent tab-strip panel cast to T, or null if it is not of that type.
Notifies for a change in the Image and SvgImage members of this panel.
Raises PropertyChanged with the name of the changed property.
protected virtual void OnPropertyChanged(string propertyName)
The name of the property that changed.
Updates the associated tab item's tooltip after this panel's tooltip changes.
protected virtual void OnToolTipTextChanged(EventArgs e)
Event data for the tooltip change.
Events
Occurs when a derived panel reports a property change through OnPropertyChanged(string).
public event PropertyChangedEventHandler PropertyChanged
Implements:
[Browsable(true)]
public event EventHandler TextChanged