Share via


PipsPager.MaxVisiblePips Property

Definition

The maximum number of pips shown in the PipsPager at one time.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

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

Property Value

Int32

int

The maximum number of pips shown in the PipsPager at one time. The default value is 5.

When possible, the PipsPager always centers itself on the selected pip.

MaxVisiblePips should be set to a positive number. If set to 0, no pages will be visible to the user.

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Applies to

See also