Udostępnij za pośrednictwem


TabView.IsAddTabButtonVisible Property

Definition

Gets or sets a value that indicates whether the add tab button (+) is visible.

public:
 property bool IsAddTabButtonVisible { bool get(); void set(bool value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
bool IsAddTabButtonVisible();

void IsAddTabButtonVisible(bool value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
bool IsAddTabButtonVisible();

void IsAddTabButtonVisible(bool value);
public bool IsAddTabButtonVisible { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
public bool IsAddTabButtonVisible { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] set; }
var boolean = tabView.isAddTabButtonVisible;
tabView.isAddTabButtonVisible = boolean;
Public Property IsAddTabButtonVisible As Boolean

Property Value

Boolean

bool

true if the add tab button (+) is visible; otherwise, false. The default is true.

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Remarks

For more info, design guidance, and code examples, see Tab view.

Applies to

See also