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, DUCE.IResource, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IHaveResources, IQueryAmbient, IAddChild
- Inheritance:
- System.Object System.Windows.Threading.DispatcherObject System.Windows.DependencyObject System.Windows.Media.Visual System.Windows.UIElement System.Windows.FrameworkElement System.Windows.Controls.Control System.Windows.Controls.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
- System.Windows.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
- System.Boolean:
true
if the related auto-hide popup is currently visible; otherwise,false
. The default value isfalse
.
IsImageVisible
Gets whether the embedded image is visible.
public bool IsImageVisible { get; }
Property Value
- System.Boolean:
true
if the embedded image is visible; otherwise,false
. The default value isfalse
.
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 System.Windows.Automation.Peers.AutomationPeer object for this control instance.
protected override AutomationPeer OnCreateAutomationPeer()
Returns
- System.Windows.Automation.Peers.AutomationPeer:
An System.Windows.Automation.Peers.AutomationPeer instance.
OnDragEnter(DragEventArgs)
Occurs when a drag operation moves over the control.
protected override void OnDragEnter(DragEventArgs e)
Parameter | Type | Description |
---|---|---|
e | System.Windows.DragEventArgs | The System.Windows.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 | System.Windows.DragEventArgs | The System.Windows.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
Inherited Members
- System.Object.ToString()
- System.Object.Equals(System.Object)
- System.Object.Equals(System.Object, System.Object)
- System.Object.ReferenceEquals(System.Object, System.Object)
- System.Object.GetHashCode()
- System.Object.GetType()
- System.Object.MemberwiseClone()
Extension Methods
- FrameworkElementExtensions.AnimateDoubleProperty(String, Double, Double, Double, Nullable<Double>, Nullable<Double>)
- FrameworkElementExtensions.BindToProperty(DependencyProperty, Object, String, BindingMode, IValueConverter, Object)
- FrameworkElementExtensions.BindToProperty(DependencyProperty, Object, DependencyProperty, BindingMode, IValueConverter, Object)
- FrameworkElementExtensions.GetCurrentSize()