ExtendedControls.ExtCollectionView.XForms 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package ExtendedControls.ExtCollectionView.XForms --version 1.0.0
NuGet\Install-Package ExtendedControls.ExtCollectionView.XForms -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ExtendedControls.ExtCollectionView.XForms" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ExtendedControls.ExtCollectionView.XForms --version 1.0.0
#r "nuget: ExtendedControls.ExtCollectionView.XForms, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install ExtendedControls.ExtCollectionView.XForms as a Cake Addin
#addin nuget:?package=ExtendedControls.ExtCollectionView.XForms&version=1.0.0

// Install ExtendedControls.ExtCollectionView.XForms as a Cake Tool
#tool nuget:?package=ExtendedControls.ExtCollectionView.XForms&version=1.0.0

KEY FEATURES:

• Single Item Selection • Multiple Items Selection • Vertical, Horizontal and GridLayout Items orientation • Vertical Drag And Drop • Horizontal Drag And Drop • ItemTemplate, SelectedItemTemplate • Default SelectedItemColor • Cancel Drag and Drop • OnHover DragColor • OnHoverCancel DragColor • Exhaustive EventArgs

GETTING STARTED:

Follow below instructions for a proper use of custom control.

You can find a sample at: https://github.com/Giacomo-dev-78/ExtendedSample.git You can find some preview at https://giacomoenna.wixsite.com/xamarin/post/extendedcollectionview (site under construction)

In order to make if work you have to get the proper Nuget packages.

For netstandard project search for ExtendedControls.ExtCollectionView.XForms.1.0.0.nupkg in Visual Studio Nuget Manager and install it.

For Android project search for ExtendedControls.ExtCollectionView.XForms.Android.1.0.0.nupkg package in Visual Studio Nuget Manager and install it.

For UWPproject search for ExtendedControls.ExtCollectionView.XForms.UWP.1.0.0.nupkg package in Visual Studio Nuget Manager and install it.

Now you should be ready to work with ExtendedCollectionView.

SelectionMode

Single: Allows you to select an item of the ExtendedCollectionView.

Multiple: Allows you to select more than one item of the ExtendedCollectionView.

Items Orientation

Horizontal: Items are placed horizontally.

Vertical: Items are stacked vertically.

GridLayout: Items are placed as in grid.

You can decide how many items per row just by using SpanCount property

You can also decide how much space between items just by using ItemsSpacing property

To get selectedItem(s) you can bind your property to CurrentItem property.

It will return the selecteditem in CollectionView.

Selection infos are also reported in SelectionChanging and SelectionChanged events.

With SelectedItemsChangingEventArgs you can:

Get previous selected item (PreviousElement) Get current Selected Item (CurrentElement) Cancel selection If Cancel is set to true, selection is aborted. Clicked item will be NOT selected.

With SelectedItemsChanged you can:

Get previous selected item (PreviousElement) Get current Selected Item (CurrentElement) Get a list of selected Items (only in Multiple Selection Mode, otherwise there’ll be only one item)

Drag and Drop allows you to move one item of the CollectionView to a different position. It works in Vertical and Horizontal layouts. (GridLayout is unavailable at the time being)

To enable Drag and Drop you have to set DragNDropEnabled property to True .

You can highlight intersected item while dragging, by setting OnHoverItemColor property. When the dragged item meets another item in list, last one will be colored and half matt.

You can also highlight hovered item by setting OnHoverCancelColor property. When drag and drop operation is intentionally aborted, hovered item will be colored and half matt.

In order to abort drag and drop operation you can exploit ItemIntersecting event.

IntersectionEventArgs returns:

IntersectingColumn: is the column where the hovered item resides (Horizontal Layout Mode) IntersectingRow: is the row where the hovered item resides (Vertical Layout Mode) IntersectingWith: is the item that has been hovered while dragging TranslationX: dragged item translation distance over X axis (Horizontal Layout Mode) TranslationY: dragged item translation distance over Y axis (Vertical Layout Mode) Cancel: if set to True, drag over intersecting item is aborted (dragged item is set back to it’s starting position when drag is released)

ItemDragStarted event is fired when drag operation is started.

DragStartedEventArgs returns:

StartColumn: is the column where drag operation starts (Horizontal Layout Mode) StartRow: is the row where drag operation starts (Vertical Layout Mode) X: item drag start postion over X axis (Horizontal Layout Mode) Y: item drag start postion over Y axis (Vertical Layout Mode)

ItemDropped event is fired once drag operation is relased.

DropEventArgs returns:

DropColumn: the column where the item is released (Horizontal Layout Mode) DropRow: the row where the item is released (Vertical Layout Mode) DropPointX: the point in X axis where the item is placed after drag release (Horizontal Layout Mode) DropPointY: the point in Y axis where the item is placed after drag release (Vertical Layout Mode)

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.21 3,582 3/18/2021
1.0.20 932 3/17/2021
1.0.19 900 3/16/2021
1.0.18 919 3/14/2021
1.0.17 963 2/13/2021
1.0.16 1,619 1/28/2021
1.0.15 942 1/26/2021
1.0.14 929 1/24/2021
1.0.13 1,009 1/24/2021
1.0.12 923 1/9/2021
1.0.10 980 12/31/2020
1.0.9 1,101 12/31/2020
1.0.8 1,036 10/12/2020
1.0.7 1,110 7/11/2020
1.0.6 1,120 7/8/2020
1.0.5 1,042 7/7/2020
1.0.4 1,035 7/4/2020
1.0.2 1,103 6/20/2020
1.0.0 1,043 6/14/2020

Platforms:  Android - UWP