語言

PipsPager.MaxVisiblePips 屬性

定義

PipsPager 同時顯示的最大點數。

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; }
var int32 = pipsPager.maxVisiblePips;
pipsPager.maxVisiblePips = int32;
Public Property MaxVisiblePips As Integer

屬性值

Int32

int

PipsPager 同時顯示的最大點數。 預設值是 5。

在可能的情況下,PipsPager 總是以所選的 pip 為中心。

MaxVisiblePips 應該設為正數值。 若設為 0,使用者將無法看到任何頁面。

屬性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

適用於

另請參閱