如何在代码中创建 Windows Phone 8.1 中的 Pivot 和 Pivot Items?
How to create Pivot and Pivot Items in Windows Phone 8.1 in code?
如何在 Windows Phone 8.1 代码中创建 Pivot 和 Pivot Items?
不在 XAML 中,但有代码。
或者给我一些我忽略的 msdn 页面。
我认为您无法通过代码创建 Pivot
,但您可以动态创建 Pivot Items
。
PivotItem p = new PivotItem();use the object p to add content
样本:Programmatically add Pivot Items
如何在 Windows Phone 8.1 代码中创建 Pivot 和 Pivot Items?
不在 XAML 中,但有代码。
或者给我一些我忽略的 msdn 页面。
我认为您无法通过代码创建 Pivot
,但您可以动态创建 Pivot Items
。
PivotItem p = new PivotItem();use the object p to add content
样本:Programmatically add Pivot Items