Class TabNavigationControl
Represents the class for tab navigation of the control.
Inheritance
System.Object
TabNavigationControl
Implements
System.IDisposable
Assembly: Syncfusion.Tools.Wpf.dll
[SkinType(SkinVisualStyle = Skin.Office2007Blue, Type = typeof(TabNavigationControl), XamlResource = "/Syncfusion.Tools.WPF.Classic;component/Controls/TabNavigationControl/Themes/Office2007BlueStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Office2007Black, Type = typeof(TabNavigationControl), XamlResource = "/Syncfusion.Tools.WPF.Classic;component/Controls/TabNavigationControl/Themes/Office2007BlackStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Office2007Silver, Type = typeof(TabNavigationControl), XamlResource = "/Syncfusion.Tools.WPF.Classic;component/Controls/TabNavigationControl/Themes/Office2007SilverStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Office2010Blue, Type = typeof(TabNavigationControl), XamlResource = "/Syncfusion.Tools.WPF.Classic;component/Controls/TabNavigationControl/Themes/Office2010BlueStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Office2010Black, Type = typeof(TabNavigationControl), XamlResource = "/Syncfusion.Tools.WPF.Classic;component/Controls/TabNavigationControl/Themes/Office2010BlackStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Office2010Silver, Type = typeof(TabNavigationControl), XamlResource = "/Syncfusion.Tools.WPF.Classic;component/Controls/TabNavigationControl/Themes/Office2010SilverStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Blend, Type = typeof(TabNavigationControl), XamlResource = "/Syncfusion.Tools.WPF.Classic;component/Controls/TabNavigationControl/Themes/BlendStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Default, Type = typeof(TabNavigationControl), XamlResource = "/Syncfusion.Tools.WPF;component/Controls/TabNavigationControl/Themes/Generic.xaml")]
[SkinType(SkinVisualStyle = Skin.VS2010, Type = typeof(TabNavigationControl), XamlResource = "/Syncfusion.Tools.WPF.Classic;component/Controls/TabNavigationControl/Themes/VS2010Style.xaml")]
[SkinType(SkinVisualStyle = Skin.ShinyBlue, Type = typeof(TabNavigationControl), XamlResource = "/Syncfusion.Tools.WPF.Classic;component/Controls/TabNavigationControl/Themes/ShinyBlueStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.ShinyRed, Type = typeof(TabNavigationControl), XamlResource = "/Syncfusion.Tools.WPF.Classic;component/Controls/TabNavigationControl/Themes/ShinyRedStyle.xaml")]
public class TabNavigationControl : ItemsControl, IDisposable
Constructors
Declaration
public TabNavigationControl()
Fields
Declaration
public static readonly DependencyProperty CornerRadiusProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public static readonly DependencyProperty EnableTouchProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public static readonly DependencyProperty HeaderVisibilityProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public static readonly DependencyProperty IsKeyboardNavigationProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
[Obsolete("No longer in use. Use TabStripVisibility instead.")]
public static readonly DependencyProperty IsTabStripVisibleProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public static readonly DependencyProperty NavigationButtonVisibilityProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public static readonly DependencyProperty SelectedIndexProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public static readonly DependencyProperty SelectedItemProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public static readonly DependencyProperty SelectedTabItemProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public static readonly DependencyProperty TabStripPositionProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public static readonly DependencyProperty TabStripVisibilityProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public static readonly DependencyProperty TouchThresholdProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public static readonly DependencyProperty TransitionEffectProperty
Field Value
Type |
System.Windows.DependencyProperty |
Properties
Declaration
public Thickness CornerRadius { get; set; }
Property Value
Type |
System.Windows.Thickness |
Declaration
public bool EnableTouch { get; set; }
Property Value
Declaration
public Visibility HeaderVisibility { get; set; }
Property Value
Type |
System.Windows.Visibility |
Declaration
public bool IsKeyboardNavigation { get; set; }
Property Value
Declaration
public Visibility NavigationButtonVisibility { get; set; }
Property Value
Type |
System.Windows.Visibility |
Declaration
public NavigationCommand NextCommand { get; }
Property Value
Declaration
public NavigationCommand PreviousCommand { get; }
Property Value
Declaration
public int SelectedIndex { get; set; }
Property Value
Declaration
public object SelectedItem { get; set; }
Property Value
Declaration
public TabNavigationItem SelectedTabItem { get; set; }
Property Value
Gets or sets the position of the tab strip in the tab navigation control.
Declaration
public StripPosition TabStripPosition { get; set; }
Property Value
Type |
Description |
StripPosition |
The position of the tab strip, which determines whether the tab strips are displayed at the top or bottom of the control.
The default value is TabStripPosition.Top.
|
Declaration
public Visibility TabStripVisibility { get; set; }
Property Value
Type |
System.Windows.Visibility |
Declaration
public double TouchThreshold { get; set; }
Property Value
Declaration
public TransitionEffects TransitionEffect { get; set; }
Property Value
Methods
Invoked when cleaer the item from container
Declaration
protected override void ClearContainerForItemOverride(DependencyObject element, object item)
Parameters
Type |
Name |
Description |
System.Windows.DependencyObject |
element |
Container generated item
|
System.Object |
item |
container item
|
Performs application-defined tasks associated with freeing,
releasing, or resetting unmanaged resources.
Declaration
Declaration
protected override DependencyObject GetContainerForItemOverride()
Returns
Type |
System.Windows.DependencyObject |
Declaration
protected override bool IsItemItsOwnContainerOverride(object item)
Parameters
Type |
Name |
Description |
System.Object |
item |
|
Returns
Declaration
public override void OnApplyTemplate()
Declaration
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
Parameters
Type |
Name |
Description |
System.Collections.Specialized.NotifyCollectionChangedEventArgs |
e |
|
Declaration
protected override void OnKeyDown(KeyEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Input.KeyEventArgs |
e |
|
Declaration
protected override void OnManipulationCompleted(ManipulationCompletedEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Input.ManipulationCompletedEventArgs |
e |
|
Declaration
protected override void OnManipulationDelta(ManipulationDeltaEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Input.ManipulationDeltaEventArgs |
e |
|
Declaration
protected override void OnManipulationStarted(ManipulationStartedEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Input.ManipulationStartedEventArgs |
e |
|
Declaration
protected override void OnMouseDown(MouseButtonEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Input.MouseButtonEventArgs |
e |
|
Declaration
protected override void OnPropertyChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.DependencyPropertyChangedEventArgs |
e |
|
Declaration
public virtual void OnSelectedChanged(TabSelectionChangedEventArgs e)
Parameters
Declaration
public virtual void OnSelectionChanging(TabSelectionChangingEventArgs e)
Parameters
Declaration
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameters
Type |
Name |
Description |
System.Windows.DependencyObject |
element |
|
System.Object |
item |
|
Declaration
public void TranslateItemForTouch(double ManipulationOriginValue, double ActutalValue, double CumulativeX, double CumulativeY, double StatingManipulationValue)
Parameters
Type |
Name |
Description |
System.Double |
ManipulationOriginValue |
|
System.Double |
ActutalValue |
|
System.Double |
CumulativeX |
|
System.Double |
CumulativeY |
|
System.Double |
StatingManipulationValue |
|
Events
Occurs when the SelectionChanged.
Declaration
public event TabNavigationControl.SelectionChangedEventHandler SelectionChanged
Event Type
Occurs when the SelectionChanged.
Declaration
public event TabNavigationControl.SelectionChangingEventHandler SelectionChanging
Event Type
Implements
System.IDisposable