more animation work
This commit is contained in:
@@ -10,5 +10,10 @@
|
||||
<StackPanel Orientation="Horizontal" Spacing="8" />
|
||||
</ItemsPanelTemplate>
|
||||
</ItemsControl.ItemsPanel>
|
||||
<ItemsControl.ItemContainerTransitions>
|
||||
<TransitionCollection>
|
||||
<AddDeleteThemeTransition />
|
||||
</TransitionCollection>
|
||||
</ItemsControl.ItemContainerTransitions>
|
||||
</ItemsControl>
|
||||
</UserControl>
|
||||
@@ -6,11 +6,4 @@ public record Created<TValue>(TValue Value, object Target) : INotification
|
||||
{
|
||||
return new Created<TValue>(value, typeof(TTarget).Name);
|
||||
}
|
||||
}
|
||||
public record Inserted<TValue>(int Index, TValue Value, object Target) : INotification
|
||||
{
|
||||
public static Inserted<TValue> For<TTarget>(int index, TValue value)
|
||||
{
|
||||
return new Inserted<TValue>(index, value, typeof(TTarget).Name);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
namespace Hyperbar;
|
||||
|
||||
public record Inserted<TValue>(int Index, TValue Value, object Target) : INotification
|
||||
{
|
||||
public static Inserted<TValue> For<TTarget>(int index, TValue value)
|
||||
{
|
||||
return new Inserted<TValue>(index, value, typeof(TTarget).Name);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user