PipsPager.SelectedPageIndex Proprietà

Definizione

Ottiene o imposta l'indice basato 0 del pip attualmente selezionato in PipsPager. Viene sempre selezionato un pip.

Questa documentazione si applica a WinUI 2 per UWP (per WinUI nella SDK per app di Windows, vedere gli spazi dei nomi SDK per app di Windows).

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

Valore della proprietà

Int32

int

Indice basato su 0 del pip attualmente selezionato in PipsPager. Il valore predefinito è 0.

Attributi
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Si applica a

Vedi anche