Langage

TabView.IsAddTabButtonVisible Propriété

Définition

Obtient ou définit une valeur qui indique si le bouton Ajouter un onglet (+) est 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

Valeur de propriété

Boolean

bool

true si le bouton Ajouter un onglet (+) est visible ; sinon, false. La valeur par défaut est true.

Attributs
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Remarques

Pour plus d’informations, des conseils de conception et des exemples de code, consultez l’affichage Onglet.

S’applique à

Voir aussi