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 AutoHideTabItem class.

public AutoHideTabItem()

Properties

CornerRadius

Gets or sets the corner radius of the tab border, relative to a top-facing tab.

public CornerRadius CornerRadius { get; set; }

Property Value

CornerRadius:

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

IsAutoHidePopupOpen

Gets or sets whether the related auto-hide popup is currently visible.

public bool IsAutoHidePopupOpen { get; set; }

Property Value

bool:

true if the related auto-hide popup is currently visible; otherwise, false. The default value is false.

IsImageVisible

Gets 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

Gets or sets the side upon which the tabstrip is placed.

public Side Placement { get; set; }

Property Value

Side:

The side upon which the tabstrip is placed.

Methods

OnApplyTemplate()

Invoked whenever application code or internal processes call ApplyTemplate.

public override void OnApplyTemplate()

OnCreateAutomationPeer()

Returns an AutomationPeer object for this control instance.

protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer:

An AutomationPeer instance.

OnDragEnter(DragEventArgs)

Occurs when a drag operation moves over the control.

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

The DragEventArgs that contains the event data.

OnDragLeave(DragEventArgs)

Occurs when a drag operation leaves the control.

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

The DragEventArgs that contains the event data.

Fields

CornerRadiusProperty

Identifies the CornerRadius dependency property. This field is read-only.

public static readonly DependencyProperty CornerRadiusProperty

IsAutoHidePopupOpenProperty

Identifies the IsAutoHidePopupOpen dependency property. This field is read-only.

public static readonly DependencyProperty IsAutoHidePopupOpenProperty

IsImageVisibleProperty

Identifies the IsImageVisible dependency property. This field is read-only.

public static readonly DependencyProperty IsImageVisibleProperty

PlacementProperty

Identifies the Placement dependency property. This field is read-only.

public static readonly DependencyProperty PlacementProperty