chore: 升级avalonia到最新版并替换Xaml.Behaviors包

This commit is contained in:
yaobiao131
2025-03-31 10:49:45 +08:00
parent f73684bc9b
commit 97a030aef3
2 changed files with 1 additions and 5 deletions

View File

@@ -5,8 +5,6 @@
xmlns:vmp="clr-namespace:DownKyi.ViewModels.PageViewModels"
xmlns:custom="clr-namespace:DownKyi.CustomControl"
x:DataType="vmf:ViewFollowerViewModel"
xmlns:i="using:Avalonia.Xaml.Interactivity"
xmlns:iac="clr-namespace:Avalonia.Xaml.Interactions.Custom;assembly=Avalonia.Xaml.Interactions.Custom"
xmlns:asyncImageLoader="clr-namespace:DownKyi.CustomControl.AsyncImageLoader">
<UserControl.Resources>
<ControlTheme x:Key="ContentListStyle" TargetType="{x:Type ListBoxItem}" x:DataType="vmp:FriendInfo">
@@ -22,8 +20,7 @@
<Interaction.Behaviors>
<ExecuteCommandOnPointerReleasedBehavior
Command="{Binding UserCommand}"
CommandParameter="{ReflectionBinding DataContext.PageName, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=UserControl}}">
</ExecuteCommandOnPointerReleasedBehavior>
CommandParameter="{ReflectionBinding DataContext.PageName, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=UserControl}}" />
</Interaction.Behaviors>
<Image

View File

@@ -2,7 +2,6 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="DownKyi.Views.ViewSeasonsSeries"
xmlns:custom="clr-namespace:DownKyi.CustomControl"
xmlns:iac="clr-namespace:Avalonia.Xaml.Interactions.Custom;assembly=Avalonia.Xaml.Interactions.Custom"
xmlns:vm="clr-namespace:DownKyi.ViewModels"
xmlns:vmp="clr-namespace:DownKyi.ViewModels.PageViewModels"
xmlns:asyncImageLoader="clr-namespace:DownKyi.CustomControl.AsyncImageLoader"