In This Article

AutoHideTabItem Class

Represents a tab item the provides access to a dockable window in auto-hide mode.

[TemplateVisualState(Name = "Normal", GroupName = "CommonStates")]
[TemplateVisualState(Name = "PointerOver", GroupName = "CommonStates")]
[TemplateVisualState(Name = "PopupOpen", GroupName = "CommonStates")]
[TemplateVisualState(Name = "PopupOpenPointerOver", GroupName = "CommonStates")]
[TemplateVisualState(Name = "TabStripBottom", GroupName = "TabStripPlacementStates")]
[TemplateVisualState(Name = "TabStripLeft", GroupName = "TabStripPlacementStates")]
[TemplateVisualState(Name = "TabStripRight", GroupName = "TabStripPlacementStates")]
[TemplateVisualState(Name = "TabStripTop", GroupName = "TabStripPlacementStates")]
public class AutoHideTabItem : ContentControl
Inheritance:
object Visual UIElement FrameworkElement Control ContentControl object

Constructors

AutoHideTabItem()

Initializes an instance of the class.

public AutoHideTabItem()

Properties

CornerRadius

The corner radius of the tab border, relative to a top-facing tab.

public CornerRadius CornerRadius { get; set; }

Property Value

CornerRadius

IsAutoHidePopupOpen

Indicates whether the related auto-hide popup is currently visible.

public bool IsAutoHidePopupOpen { get; set; }

Property Value

bool:

The default value is false.

IsImageVisible

Indicates whether the embedded image is visible.

public bool IsImageVisible { get; }

Property Value

bool:

true if the embedded image is visible; otherwise, false. The default value is false.

Placement

The dock side upon which the tabstrip is placed.

public Side Placement { get; set; }

Property Value

Side:

The default value is Top.

Methods

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().

public override void OnApplyTemplate()

OnCreateAutomationPeer()

Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.

protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer:

The type-specific AutomationPeer implementation.

OnDragEnter(DragEventArgs)

Invoked when an unhandled System.Windows.DragDrop.DragEnter attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

protected override void OnDragEnter(DragEventArgs e)
Parameter Type Description
e DragEventArgs

The DragEventArgs that contains the event data.

OnDragLeave(DragEventArgs)

Invoked when an unhandled System.Windows.DragDrop.DragLeave attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

protected override void OnDragLeave(DragEventArgs e)
Parameter Type Description
e DragEventArgs

The DragEventArgs that contains the event data.

Fields

CornerRadiusProperty

Defines the CornerRadius property.

public static readonly DependencyProperty CornerRadiusProperty

IsAutoHidePopupOpenProperty

Defines the IsAutoHidePopupOpen property.

public static readonly DependencyProperty IsAutoHidePopupOpenProperty

IsImageVisibleProperty

Defines the IsImageVisible property.

public static readonly DependencyProperty IsImageVisibleProperty

PlacementProperty

Defines the Placement property.

public static readonly DependencyProperty PlacementProperty

Extension Methods