CarouselView.VisibleViews Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the collection of views currently visible in the carousel.
public:
property System::Collections::ObjectModel::ObservableCollection<Microsoft::Maui::Controls::View ^> ^ VisibleViews { System::Collections::ObjectModel::ObservableCollection<Microsoft::Maui::Controls::View ^> ^ get(); };
public System.Collections.ObjectModel.ObservableCollection<Microsoft.Maui.Controls.View> VisibleViews { get; }
member this.VisibleViews : System.Collections.ObjectModel.ObservableCollection<Microsoft.Maui.Controls.View>
Public ReadOnly Property VisibleViews As ObservableCollection(Of View)
Property Value
An ObservableCollection<T> of View objects that are currently visible.
Remarks
This collection is automatically updated as the user scrolls through the carousel. It includes the current item and any partially visible adjacent items based on PeekAreaInsets.