Class DocumentTabItem
Represents a selectable item inside Syncfusion.UI.Xaml.Controls.Navigation.DocumentTabControl.
Inheritance
Implements
Namespace: Syncfusion.UI.Xaml.Controls.Layout
Assembly: Syncfusion.SfDockingManager.UWP.dll
Syntax
[ClassReference(IsReviewed = false)]
public class DocumentTabItem : ContentControl, IDisposable
Remarks
DocumentTabItem is a Windows.UI.Xaml.Controls.ContentControl..
Constructors
DocumentTabItem()
Initializes a new instance of the Syncfusion.UI.Xaml.Controls.Navigation.DocumentTabItem class.
Declaration
[ClassReference(IsReviewed = false)]
public DocumentTabItem()
See Also
Fields
CanCloseProperty
Using a DependencyProperty as the backing store for CanClose. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty CanCloseProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
CloseAllButThisCommandProperty
Using a DependencyProperty as the backing store for CloseCommand. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty CloseAllButThisCommandProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
CloseAllCommandProperty
Using a DependencyProperty as the backing store for CloseCommand. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty CloseAllCommandProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
CloseCommandProperty
Using a DependencyProperty as the backing store for CloseCommand. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty CloseCommandProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
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 |
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 |
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 |
ShowCloseAllButThisMenuItemProperty
Using a DependencyProperty as the backing store for MyProperty. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty ShowCloseAllButThisMenuItemProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
ShowCloseAllMenuItemProperty
Using a DependencyProperty as the backing store for MyProperty. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty ShowCloseAllMenuItemProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
ShowCloseMenuItemProperty
Using a DependencyProperty as the backing store for MyProperty. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty ShowCloseMenuItemProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
ShowPinnableButtonProperty
Using a DependencyProperty as the backing store for ShowPinButton. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty ShowPinnableButtonProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Properties
CanClose
Gets or sets a value indicating whether a value to determine if the tab item can be closed or not.
Declaration
public bool CanClose { get; set; }
Property Value
Type |
---|
System.Boolean |
CloseAllButThisCommand
Gets or sets a value indicating whether the CloseAllButThisCommand
Declaration
[ClassReference(IsReviewed = false)]
public ICommand CloseAllButThisCommand { get; }
Property Value
Type |
---|
System.Windows.Input.ICommand |
CloseAllCommand
Gets or sets a value indicating whether the CloseAllCommand
Declaration
[ClassReference(IsReviewed = false)]
public ICommand CloseAllCommand { get; }
Property Value
Type |
---|
System.Windows.Input.ICommand |
CloseCommand
Gets or sets a value indicating whether the CloseCommand
Declaration
[ClassReference(IsReviewed = false)]
public ICommand CloseCommand { get; }
Property Value
Type |
---|
System.Windows.Input.ICommand |
Header
Gets or sets a value indicating whether the data used asĀ header for Syncfusion.UI.Xaml.Controls.Navigation.DocumentTabItem.
Declaration
[ClassReference(IsReviewed = false)]
public object Header { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default isĀ null. |
See Also
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.DocumentTabItem.
Declaration
[ClassReference(IsReviewed = false)]
public Brush SelectedBackground { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Media.Brush |
See Also
SelectedForeground
Gets or sets a value indicating whether the selected foreground for Syncfusion.UI.Xaml.Controls.Navigation.DocumentTabItem.
Declaration
[ClassReference(IsReviewed = false)]
public Brush SelectedForeground { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Media.Brush |
See Also
ShowCloseAllButThisMenuItem
Gets or sets a value indicating whether the visibility of ShowCloseAllButThisMenuItem
Declaration
public bool ShowCloseAllButThisMenuItem { get; set; }
Property Value
Type |
---|
System.Boolean |
ShowCloseAllMenuItem
Gets or sets a value indicating whether the Visibility of ShowCloseAllMenuItem
Declaration
public bool ShowCloseAllMenuItem { get; set; }
Property Value
Type |
---|
System.Boolean |
ShowCloseMenuItem
Gets or sets a value indicating whether the Visibility of ShowCloseMenuItem
Declaration
[ClassReference(IsReviewed = false)]
public bool ShowCloseMenuItem { get; set; }
Property Value
Type |
---|
System.Boolean |
ShowPinnableButton
Gets or sets a value indicating whether a value to determine if the tab item can be pinned or not.
Declaration
public bool ShowPinnableButton { get; set; }
Property Value
Type |
---|
System.Boolean |
Methods
Dispose()
Disposes the control while unloading.
Declaration
public void Dispose()
Dispose(Boolean)
Dispose all the instances which is used in this class.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | disposing is boolean value always true |
OnApplyTemplate()
Initializes the Syncfusion.UI.Xaml.Controls.Navigation.DocumentTabItem 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 |