Class FastTabControl
[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
HeaderPanelStyleProperty
public static readonly DependencyProperty HeaderPanelStyleProperty
Field Value
Properties
FallbackItem
public object FallbackItem { get; set; }
Property Value
HeaderPanelStyle
public Style HeaderPanelStyle { get; set; }
Property Value
Methods
CreateChildContentPresenter(object?)
public ContentPresenter? CreateChildContentPresenter(object? item)
Parameters
itemobject
Returns
GetSelectedTabItem()
protected TabItem? GetSelectedTabItem()
Returns
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
eEventArgsProvides 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
OnSelectionChanged(SelectionChangedEventArgs)
Raises the SelectionChanged routed event.
protected override void OnSelectionChanged(SelectionChangedEventArgs e)
Parameters
eSelectionChangedEventArgsProvides data for SelectionChangedEventArgs.