NewTabButton Class
Represents a new tab button.
public class NewTabButton : Button
- Inheritance:
- object Visual UIElement FrameworkElement Control ContentControl ButtonBase 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
- 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
- bool:
true
if the content layout is in a horizontal orientation; otherwise,false
. The default value istrue
.
TabStripPlacement
Gets or sets the side upon which the tabstrip is placed.
public Dock TabStripPlacement { get; set; }
Property Value
- 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