Share via


CarouselView.PeekAreaInsets Property

Definition

Gets or sets the amount of space to reserve on each side of the current item to show a peek of adjacent items.

public:
 property Microsoft::Maui::Thickness PeekAreaInsets { Microsoft::Maui::Thickness get(); void set(Microsoft::Maui::Thickness value); };
public Microsoft.Maui.Thickness PeekAreaInsets { get; set; }
member this.PeekAreaInsets : Microsoft.Maui.Thickness with get, set
Public Property PeekAreaInsets As Thickness

Property Value

A Thickness value defining the peek area insets. The default is 0 on all sides.

Remarks

Use this property to show a preview of adjacent items on either side of the current item. This helps users understand that more items are available by swiping.

Applies to