共用方式為


PagerControl.SelectedPageIndex 屬性

定義

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

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

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

屬性值

Int32

int

屬性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute ExperimentalAttribute

適用於