In This Article

NewTabButton Class

Represents a new tab button.

public class NewTabButton : Button, DUCE.IResource, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IHaveResources, IQueryAmbient, IAddChild, ICommandSource
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 System.Windows.Controls.Primitives.ButtonBase System.Windows.Controls.Button Object

Constructors

NewTabButton()

Initializes an instance of the NewTabButton class.

public NewTabButton()

Properties

CornerRadius

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

public CornerRadius CornerRadius { get; set; }

Property Value

System.Windows.CornerRadius:

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

IsContentHorizontal

Gets or sets whether the content layout is in a horizontal orientation.

public bool IsContentHorizontal { get; set; }

Property Value

System.Boolean:

true if the content layout is in a horizontal orientation; otherwise, false. The default value is true.

TabStripPlacement

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

public Dock TabStripPlacement { get; set; }

Property Value

System.Windows.Controls.Dock:

The side upon which the tabstrip is placed.

Fields

CornerRadiusProperty

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

public static readonly DependencyProperty CornerRadiusProperty

IsContentHorizontalProperty

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

public static readonly DependencyProperty IsContentHorizontalProperty

TabStripPlacementProperty

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

public static readonly DependencyProperty TabStripPlacementProperty

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