Class TabItemBase
Represents a selectable item inside Syncfusion.UI.Xaml.Controls.Navigation.TabControlBase.
Implements
Namespace: Syncfusion.UI.Xaml.Controls.Layout
Assembly: Syncfusion.SfDockingManager.UWP.dll
Syntax
[ClassReference(IsReviewed = false)]
public class TabItemBase : ContentControl, IDisposable
Remarks
TabItemBase is a Windows.UI.Xaml.Controls.ContentControl..
Constructors
TabItemBase()
Initializes a new instance of the Syncfusion.UI.Xaml.Controls.Navigation.TabItemBase class.
Declaration
[ClassReference(IsReviewed = false)]
public TabItemBase()
See Also
Fields
HeaderProperty
Using a DependencyProperty as the backing store for Header. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty HeaderProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
IconProperty
Using a DependencyProperty as the backing store for Icon. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty IconProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
IsSelectedProperty
Using a DependencyProperty as the backing store for IsSelected. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty IsSelectedProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
SelectedBackgroundProperty
Using a DependencyProperty as the backing store for AccentBrush. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty SelectedBackgroundProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
SelectedFontSizeProperty
Identifies DocumentTabItemSelectedFontSize dependency property of the DockTabItem.
Declaration
public static readonly DependencyProperty SelectedFontSizeProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
SelectedForegroundProperty
Using a DependencyProperty as the backing store for SelectedForeground. This enables animation, styling, binding, etc...
Declaration
[ClassReference(IsReviewed = false)]
public static readonly DependencyProperty SelectedForegroundProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Properties
Header
Gets or sets a value indicating whether the data used asĀ header for Syncfusion.UI.Xaml.Controls.Navigation.TabItemBase.
Declaration
[ClassReference(IsReviewed = false)]
public object Header { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default isĀ null. |
See Also
Icon
Gets or sets a value indicating whether the icon in TabItem
Declaration
[ClassReference(IsReviewed = false)]
public object Icon { get; set; }
Property Value
Type |
---|
System.Object |
IsSelected
Gets or sets a value indicating whether a value indicating whether this instance is selected.
Declaration
[ClassReference(IsReviewed = false)]
public bool IsSelected { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
See Also
SelectedBackground
Gets or sets a value indicating whether the selected background for Syncfusion.UI.Xaml.Controls.Navigation.TabItemBase.
Declaration
[ClassReference(IsReviewed = false)]
public Brush SelectedBackground { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Media.Brush |
See Also
SelectedFontSize
Gets or sets a value indicating whether the tab item font size selected.
Declaration
[ClassReference(IsReviewed = false)]
public double SelectedFontSize { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The tab item font size selected. |
SelectedForeground
Gets or sets a value indicating whether the selected foreground for Syncfusion.UI.Xaml.Controls.Navigation.TabItemBase.
Declaration
[ClassReference(IsReviewed = false)]
public Brush SelectedForeground { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Media.Brush |
See Also
Methods
Dispose()
Disposes the control while unloading.
Declaration
[ClassReference(IsReviewed = false)]
public void Dispose()
Dispose(Boolean)
Dispose the all instances which is used in TabItemBase class
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | boolean value |
OnApplyTemplate()
Initializes the Syncfusion.UI.Xaml.Controls.Navigation.TabItemBase control.
Declaration
protected override void OnApplyTemplate()
OnContentChanged(Object, Object)
Defines the Selected content when the content is changed.
Declaration
protected override void OnContentChanged(object oldContent, object newContent)
Parameters
Type | Name | Description |
---|---|---|
System.Object | oldContent | |
System.Object | newContent |
OnPointerExited(PointerRoutedEventArgs)
Occurs when the pointer leaves the tab items
Declaration
protected override void OnPointerExited(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e |
OnPointerMoved(PointerRoutedEventArgs)
Occurs when the pointer is over the tab items
Declaration
protected override void OnPointerMoved(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e |
OnPointerPressed(PointerRoutedEventArgs)
Invoked when the pointer is pressed
Declaration
protected override void OnPointerPressed(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e |
OnPointerReleased(PointerRoutedEventArgs)
Invoked when the pointer is released
Declaration
protected override void OnPointerReleased(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e |