Back to Devexpress

SlideView.Items Property

maui-devexpress-dot-maui-dot-core-dot-slideview-c3615653.md

latest1.4 KB
Original Source

SlideView.Items Property

Returns the collection of SlideView items.

Namespace : DevExpress.Maui.Core

Assembly : DevExpress.Maui.Core.dll

NuGet Package : DevExpress.Maui.Core

Declaration

csharp
public ObservableCollection<VisualElement> Items { get; }

Property Value

TypeDescription
ObservableCollection<VisualElement>

A collection of VisualElement descendant objects.

|

Remarks

The following markup adds three slides with images to a SlideView:

xaml
<dx:SlideView AllowLooping="True" 
              AllowSwipe="True">
    <dx:SlideView.Items>
        <dx:DXImage Source="house1.jpg"/>
        <dx:DXImage Source="house2.jpg"/>
        <dx:DXImage Source="house3.jpg"/>
    </dx:SlideView.Items>
</dx:SlideView>

Use a SlideView’s ItemsSource property to populate it with items in the MVVM style.

See Also

SlideView Class

SlideView Members

DevExpress.Maui.Core Namespace