Table of Contents

Class FastTabControl

Namespace
The.WPF.Controls
Assembly
Instagile.WPF.dll
[TemplatePart(Name = "PART_ItemsHolder", Type = typeof(Panel))]
public class FastTabControl : TabControl, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IContainItemStorage, IAddChild
Inheritance
FastTabControl
Implements
Inherited Members

Fields

FallbackItemProperty

public static readonly DependencyProperty FallbackItemProperty

Field Value

DependencyProperty

HeaderPanelStyleProperty

public static readonly DependencyProperty HeaderPanelStyleProperty

Field Value

DependencyProperty

Properties

FallbackItem

public object FallbackItem { get; set; }

Property Value

object

HeaderPanelStyle

public Style HeaderPanelStyle { get; set; }

Property Value

Style

Methods

CreateChildContentPresenter(object?)

public ContentPresenter? CreateChildContentPresenter(object? item)

Parameters

item object

Returns

ContentPresenter

GetSelectedTabItem()

protected TabItem? GetSelectedTabItem()

Returns

TabItem

OnApplyTemplate()

Get the ItemsHolder and generate any children

public override void OnApplyTemplate()

OnInitialized(EventArgs)

Called when IsInitialized is set to true.

protected override void OnInitialized(EventArgs e)

Parameters

e EventArgs

Provides data for the Initialized event.

OnItemsChanged(NotifyCollectionChangedEventArgs)

When the items change we remove any generated panel children and add any new ones as necessary

protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)

Parameters

e NotifyCollectionChangedEventArgs

OnSelectionChanged(SelectionChangedEventArgs)

Raises the SelectionChanged routed event.

protected override void OnSelectionChanged(SelectionChangedEventArgs e)

Parameters

e SelectionChangedEventArgs

Provides data for SelectionChangedEventArgs.