Class SfTabItem
Represents an item in the SfTabControl that extends the standard TabItem with support for drag-and-drop, pinning, and tear-off functionality.
Inheritance
System.Object
SfTabItem
Namespace: Syncfusion.Windows.Controls
Assembly: Syncfusion.SfChromelessWindow.Wpf.dll
Syntax
public class SfTabItem : TabItem
Constructors
SfTabItem()
Initializes a new instance of the SfTabItem class.
Declaration
public SfTabItem()
Fields
CloseButtonVisibilityProperty
Identifies the CloseButtonVisibility dependency property.
Declaration
public static readonly DependencyProperty CloseButtonVisibilityProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
Properties
CloseButtonVisibility
Gets or sets the visibility of the close button for this tab item.
Declaration
public Visibility CloseButtonVisibility { get; set; }
Property Value
| Type |
|---|
| System.Windows.Visibility |
Methods
OnApplyTemplate()
Called when the template is applied to the control; hooks up template parts.
Declaration
public override void OnApplyTemplate()
OnTabDragCompleted(DragCompletedEventArgs)
Raises the TabDragCompleted event.
Declaration
protected void OnTabDragCompleted(DragCompletedEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Controls.Primitives.DragCompletedEventArgs | e | The drag completed event data. |