more animation work
This commit is contained in:
@@ -10,5 +10,10 @@
|
|||||||
<StackPanel Orientation="Horizontal" Spacing="8" />
|
<StackPanel Orientation="Horizontal" Spacing="8" />
|
||||||
</ItemsPanelTemplate>
|
</ItemsPanelTemplate>
|
||||||
</ItemsControl.ItemsPanel>
|
</ItemsControl.ItemsPanel>
|
||||||
|
<ItemsControl.ItemContainerTransitions>
|
||||||
|
<TransitionCollection>
|
||||||
|
<AddDeleteThemeTransition />
|
||||||
|
</TransitionCollection>
|
||||||
|
</ItemsControl.ItemContainerTransitions>
|
||||||
</ItemsControl>
|
</ItemsControl>
|
||||||
</UserControl>
|
</UserControl>
|
||||||
@@ -6,11 +6,4 @@ public record Created<TValue>(TValue Value, object Target) : INotification
|
|||||||
{
|
{
|
||||||
return new Created<TValue>(value, typeof(TTarget).Name);
|
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