語言

TabView.IsAddTabButtonVisible 屬性

定義

取得或設定一個值,指示新增分頁按鈕(+)是否可見。

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

屬性值

Boolean

bool

true如果新增 Tab 鍵(+) 可見;否則,。 false 預設值為 true。

屬性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

備註

更多資訊、設計指導及程式碼範例,請參見 分頁檢視。

適用於

另請參閱