Back to Devexpress

SwipeContainer Class

maui-devexpress-dot-maui-dot-collectionview-08453bd4.md

latest4.3 KB
Original Source

SwipeContainer Class

Contains appearance and behavior settings for data items that users can swipe.

Namespace : DevExpress.Maui.CollectionView

Assembly : DevExpress.Maui.CollectionView.dll

NuGet Package : DevExpress.Maui.CollectionView

Declaration

csharp
[DXLicenseMAUI]
public class SwipeContainer :
    DXViewBase,
    ISwipeContainer

Remarks

You can enable users to swipe items in a CollectionView to perform custom actions (for example, modify, reorder, or delete data). To do this, assign a data template with a SwipeContainer object to the DXCollectionView.ItemTemplate property and specify the following properties of this container:

  1. ItemView - defines the appearance of CollectionView items.

  2. StartSwipeItems / EndSwipeItems - store collections of swipe items. A swipe item is a visual element that appears on the left or right side of a data item on a swipe gesture and performs a custom action on tap. If the CollectionView is horizontally oriented, it displays swipe items on the top or bottom of data items. Swipe items can be of the following types:

  3. FullSwipeMode - specifies whether the CollectionView should perform the first action from the StartSwipeItems collection and the last action from EndSwipeItems in response to a full swipe across a data item.

Read Tutorial

Implements

Show 14 items

INotifyPropertyChanged

IAnimatable

Microsoft.Maui.Controls.ITabStopElement

IViewController

IVisualElementController

IElementController

IGestureController

IGestureRecognizers

IPropertyMapperView

IHotReloadableView

IView

Microsoft.Maui.IFrameworkElement

ITransform

IReplaceableView

Inheritance

System.Object BindableObject Element NavigableElement VisualElement View DevExpress.Maui.Core.Internal.DXViewElement DevExpress.Maui.Core.Internal.DXViewBaseCore DXViewBase SwipeContainer

Extension Methods

Yield<SwipeContainer>()

YieldIfNotNull<SwipeContainer>()

See Also

SwipeContainer Members

DevExpress.Maui.CollectionView Namespace