PipsPager.MaxVisiblePips Properti

Definisi

Jumlah maksimum pip yang ditampilkan di PipsPager pada satu waktu.

Dokumentasi ini berlaku untuk WinUI 2 untuk UWP (untuk WinUI di SDK Aplikasi Windows, lihat namespace SDK Aplikasi Windows).

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

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

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

Nilai Properti

Int32

int

Jumlah maksimum pip yang ditampilkan di PipsPager pada satu waktu. Nilai defaultnya adalah 5.

Jika memungkinkan, PipsPager selalu berpusat pada pip yang dipilih.

MaxVisiblePips harus diatur ke angka positif. Jika diatur ke 0, tidak ada halaman yang akan terlihat oleh pengguna.

Atribut
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Berlaku untuk

Lihat juga