PipsPager.SelectedPageIndex 屬性

定義

取得或設定 PipsPager中目前選取 pip 的 0 索引。 一律會選取 pip。

本檔適用于 Windows 應用程式 SDK 中適用于 WinUI 的 WinUI 2 for UWP (,請參閱Windows 應用程式 SDK命名空間) 。

public:
 property int SelectedPageIndex { int get(); void set(int value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="0")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="0")]
int SelectedPageIndex();

void SelectedPageIndex(int value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="0")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="0")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="0")]
int SelectedPageIndex();

void SelectedPageIndex(int value);
public int SelectedPageIndex { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="0")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="0")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="0")]
public int SelectedPageIndex { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="0")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="0")] set; }
Public Property SelectedPageIndex As Integer

屬性值

Int32

int

PipsPager中目前選取 pip 的 0 索引。 預設值為 0。

屬性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

適用於

另請參閱