v1.8
版本发布时间: 2020-11-18 22:29:57
roubachof/Sharpnado.CollectionView最新发布版本:v3.1.2(2024-01-26 16:30:20)
Version 1.8 breaking change
Namespace changed from Sharpnado.Presentation.Forms.HorizontalListView
to Sharpnado.HorizontalListView
.
HorizontalListView
, like MaterialFrame
, Tabs
and Shadows
, now uses the same xml namespace: http://sharpnado.com.
Because of how works xaml compilation, you need to add code in your App.xaml.cs
referencing the sharpnado assembly:
public App()
{
InitializeComponent();
Sharpnado.HorizontalListView.Initializer.Initialize(true, false);
...
}
Reveal animations
Contributor: original idea from @jmmortega.
You can set custom animations on cells that will be triggered when a cell appears for the first time.
Properties for reveal animations
public Func<ViewCell, Task> PreRevealAnimationAsync { get; set; }
public Func<ViewCell, Task> RevealAnimationAsync { get; set; }
public Func<ViewCell, Task> PostRevealAnimationAsync { get; set; }
see docs for example.
DragAndDropInfo
The DragAndDropStartCommand
and DragAndDropEndedCommand
commands will now pass as argument a DragAndDropInfo
object:
public class DragAndDropInfo
{
public int To { get; }
public int From { get; }
public object Content { get; }
}
Contributor: Implemented by @jmmortega.
1、 Sharpnado.Forms.HorizontalListView.1.8.0.nupkg 226.78KB