TabControl which provides additional 'Add Tabs' button and hosts the tabs in RadBrowserPanel which simulates the tabs behavior of modern browsers. Also it provides 'AdditionalLeftContent' which serves for adding UI elements on left of the tabs.
Definition
Namespace:Telerik.Windows.Controls.TabbedWindow
Assembly:Telerik.Windows.Controls.Navigation.dll
Syntax:
public class TabbedWindowTabControl : RadTabControl
Inheritance: objectRadTabControlBaseRadTabControlTabbedWindowTabControl
Inherited Members
Constructors
public TabbedWindowTabControl()
Fields
AddButtonStyleProperty
DependencyProperty
Registers the AddButtonStyle property.
public static readonly DependencyProperty AddButtonStyleProperty
AddButtonVisibilityProperty
DependencyProperty
Registers the AddButtonVisibility property.
public static readonly DependencyProperty AddButtonVisibilityProperty
AddingNewTabEvent
RoutedEvent
Registers the AddingNewTab routed event.
public static readonly RoutedEvent AddingNewTabEvent
AdditionalLeftContentProperty
DependencyProperty
Registers the AdditionalLeftContent property.
public static readonly DependencyProperty AdditionalLeftContentProperty
ItemMinWidthProperty
DependencyProperty
Registers the ItemMinWidth property.
public static readonly DependencyProperty ItemMinWidthProperty
ItemWidthProperty
DependencyProperty
Registers the ItemWidth property.
public static readonly DependencyProperty ItemWidthProperty
Properties
AddButtonStyle
Style
Gets or sets the style of the add tabs button.
public Style AddButtonStyle { get; set; }
AddButtonVisibility
Visibility
Gets or sets the AddButtonVisibility.
public Visibility AddButtonVisibility { get; set; }
Gets or sets the AdditionalLeftContent.
public object AdditionalLeftContent { get; set; }
Gets or sets the minimum width of the tab items.
public double ItemMinWidth { get; set; }
Methods
Determines of user has no bindings to SelectedIndex or SelectedItem properties.
protected virtual bool OnAddingNewItem(AddingNewTabEventArgs args)
Invoked whenever application-specific logic is required for the template.
public override void OnApplyTemplate()
Overrides:
Raises the event and sets from the active theme.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.
Overrides:
Invoked when the property changes.
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
Information about the change.
Overrides:
Invoked when scroll buttons visibility changes.
protected override void OnScrollButtonsVisibilityChanged()
Overrides:
Events
Occurs when a RadTabItem is about to be created via the Add button.
public event EventHandler<AddingNewTabEventArgs> AddingNewTab
Occurs when items are changed (reset, added, removed).
public event EventHandler<NotifyCollectionChangedEventArgs> ItemsChanged