Class TabbedWindowTabControl
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.
Inherited Members
Namespace: Telerik.Windows.Controls.TabbedWindow
Assembly: Telerik.Windows.Controls.Navigation.dll
Syntax
public class TabbedWindowTabControl : RadTabControl, IThemable
Constructors
TabbedWindowTabControl()
Declaration
public TabbedWindowTabControl()
Fields
AddButtonStyleProperty
Registers the AddButtonStyle property.
Declaration
public static readonly DependencyProperty AddButtonStyleProperty
Field Value
System.Windows.DependencyProperty
|
AddButtonVisibilityProperty
Registers the AddButtonVisibility property.
Declaration
public static readonly DependencyProperty AddButtonVisibilityProperty
Field Value
System.Windows.DependencyProperty
|
AddingNewTabEvent
Registers the AddingNewTab routed event.
Declaration
public static readonly RoutedEvent AddingNewTabEvent
Field Value
System.Windows.RoutedEvent
|
AdditionalLeftContentProperty
Registers the AdditionalLeftContent property.
Declaration
public static readonly DependencyProperty AdditionalLeftContentProperty
Field Value
System.Windows.DependencyProperty
|
ItemMinWidthProperty
Registers the ItemMinWidth property.
Declaration
public static readonly DependencyProperty ItemMinWidthProperty
Field Value
System.Windows.DependencyProperty
|
ItemWidthProperty
Registers the ItemWidth property.
Declaration
public static readonly DependencyProperty ItemWidthProperty
Field Value
System.Windows.DependencyProperty
|
Properties
AddButtonStyle
Gets or sets the style of the add tabs button.
Declaration
public Style AddButtonStyle { get; set; }
Property Value
System.Windows.Style
|
AddButtonVisibility
Gets or sets the AddButtonVisibility.
Declaration
public Visibility AddButtonVisibility { get; set; }
Property Value
System.Windows.Visibility
|
AdditionalLeftContent
Gets or sets the AdditionalLeftContent.
Declaration
public object AdditionalLeftContent { get; set; }
Property Value
System.Object
|
ItemMinWidth
Gets or sets the minimum width of the tab items.
Declaration
public double ItemMinWidth { get; set; }
Property Value
System.Double
|
ItemWidth
Gets or sets the default width of the tab items.
Declaration
public double ItemWidth { get; set; }
Property Value
System.Double
|
Methods
IsSelectionNonBoundAtClientSide()
Determines of user has no bindings to SelectedIndex or SelectedItem properties.
Declaration
protected override bool IsSelectionNonBoundAtClientSide()
Returns
System.Boolean
|
Overrides
OnAddingNewItem(AddingNewTabEventArgs)
Declaration
protected virtual bool OnAddingNewItem(AddingNewTabEventArgs args)
Parameters
AddingNewTabEventArgs
args
|
Returns
System.Boolean
|
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call System.Windows.Controls.Control.ApplyTemplate.
Declaration
public override void OnApplyTemplate()
Overrides
OnInitialized(EventArgs)
Raises the System.Windows.FrameworkElement.Initialized event and sets System.Windows.FrameworkElement.DefaultStyleKey from the active theme.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs
e
The System.Windows.RoutedEventArgs that contains the event data. |
Overrides
OnItemsChanged(NotifyCollectionChangedEventArgs)
Invoked when the System.Windows.Controls.ItemsControl.Items property changes.
Declaration
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
Parameters
System.Collections.Specialized.NotifyCollectionChangedEventArgs
e
Information about the change. |
Overrides
OnScrollButtonsVisibilityChanged()
Invoked when scroll buttons visibility changes.
Declaration
protected override void OnScrollButtonsVisibilityChanged()
Overrides
Events
AddingNewTab
Occurs when a RadTabItem is about to be created via the Add button.
Declaration
public event EventHandler<AddingNewTabEventArgs> AddingNewTab
Event Type
System.EventHandler<AddingNewTabEventArgs>
|
ItemsChanged
Occurs when items are changed (reset, added, removed).
Declaration
public event EventHandler<NotifyCollectionChangedEventArgs> ItemsChanged
Event Type
System.EventHandler<System.Collections.Specialized.NotifyCollectionChangedEventArgs>
|