PipsPagerButtonVisibility Enum

Definition

Defines constants that specify how the navigation buttons of the PipsPager are displayed.

public enum class PipsPagerButtonVisibility
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 65536)]
enum class PipsPagerButtonVisibility
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 65536)]
public enum PipsPagerButtonVisibility
Public Enum PipsPagerButtonVisibility
Inheritance
PipsPagerButtonVisibility
Attributes

Fields

Collapsed 2

The button is not visible and does not take up layout space.

Visible 0

The navigation button is visible and enabled, but hidden when content is at one or the other extent. For example, the Previous button is hidden when the current page is the first page, and the Next button is hidden when the current page is the last page.

VisibleOnPointerOver 1

The button behavior is the same as Visible except the button is visible only when the pointer cursor is over the pager, or keyboard focus is inside the pager or on a navigation button.

Examples

Tip

For more info, design guidance, and code examples, see PipsPager.

The WinUI 3 Gallery app includes interactive examples of most WinUI 3 controls, features, and functionality. Get the app from the Microsoft Store or get the source code on GitHub.

Applies to

See also