Class TabControlBase
Represents a control that contains multiple items that share the same space for content on the screen.
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.Controls.Layout
Assembly: Syncfusion.SfDockingManager.UWP.dll
Syntax
[ClassReference(IsReviewed = false)]
public class TabControlBase : Selector, IDisposable
Remarks
TabControl is a Selector which means it can contain a collection of objects of any type (such as string, image, or panel) and it is selectable.
Constructors
TabControlBase()
Initializes a new instance of the Syncfusion.UI.Xaml.Controls.Navigation.TabControl class.
Declaration
[ClassReference(IsReviewed = false)]
public TabControlBase()
See Also
Fields
SelectedContentProperty
Using a DependencyProperty as the backing store for SelectedContent. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty SelectedContentProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Methods
Dispose()
Disposes the control while unloading.
Declaration
public void Dispose()
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
GetContainerForItemOverride()
Checks if the item is a Syncfusion.UI.Xaml.Controls.Navigation.TabItem
Declaration
protected override DependencyObject GetContainerForItemOverride()
Returns
Type | Description |
---|---|
Windows.UI.Xaml.DependencyObject | Dependency Object |
IsItemItsOwnContainerOverride(Object)
Checks if the item is a Syncfusion.UI.Xaml.Controls.Navigation.TabItem
Declaration
protected override bool IsItemItsOwnContainerOverride(object item)
Parameters
Type | Name | Description |
---|---|---|
System.Object | item |
Returns
Type | Description |
---|---|
System.Boolean |
|
OnApplyTemplate()
Initializes all the child elements of the Syncfusion.UI.Xaml.Controls.Navigation.TabControl TabControl control.
Declaration
protected override void OnApplyTemplate()
Overrides
OnItemsChanged(Object)
Called whenever item is added or removed
Declaration
protected override void OnItemsChanged(object e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | e |
OnPointerPressed(PointerRoutedEventArgs)
Invoked when the pointer is pressed on the control
Declaration
protected override void OnPointerPressed(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e |
OnSelectionChanged(DependencyPropertyChangedEventArgs)
Occurs when the selected Tab item Syncfusion.UI.Xaml.Controls.Navigation.TabItem is changed.
Declaration
protected override void OnSelectionChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.DependencyPropertyChangedEventArgs | args |
Overrides
PrepareContainerForItemOverride(DependencyObject, Object)
Arranges the container for override items
Declaration
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.DependencyObject | element | |
System.Object | item |