C
C#ā€¢3d ago
Greya

How to make a sliding panel animation on Avalonia>?

Hi, im working on a avalonia project , but its similar to wpf i have a login panel, (username password etc) but id like to add a sliding animation to that to make it look more professional, how would i do this?
54 Replies
Buddy
Buddyā€¢3d ago
Mind showing your code? the (A)XAML that is
Greya
Greyaā€¢3d ago
ok so thats the simpe login page xaml with a login button @Buddy, Citizen of Pluto šŸ”±
Greya
Greyaā€¢3d ago
and this is the second apge with just images what i want is when the second page is shown, to have a little animation like it sliding from the right
Buddy
Buddyā€¢3d ago
What are you making? the app that is šŸ˜„
Greya
Greyaā€¢3d ago
No description
No description
Greya
Greyaā€¢3d ago
just a simple photo app to hold my ingame screenshots
Buddy
Buddyā€¢3d ago
Cool
Greya
Greyaā€¢3d ago
since i kidna lose it all in the default photo apps i just want a page sliding animation it seems so simple yet so hard
Buddy
Buddyā€¢3d ago
Please, do not use Margin as your layout
Greya
Greyaā€¢3d ago
i use grid
Buddy
Buddyā€¢3d ago
Margin is the spacing between elements
Greya
Greyaā€¢3d ago
ohhh ok
Buddy
Buddyā€¢3d ago
<Image Source="../Assets/user.png" Height=" 20" Margin="0,-200,225,0" ZIndex="0" />
<Image Source="../Assets/Password.png" Height="20" Margin="0,-75,225,0" ZIndex="0"/>
<Image Source="../Assets/user.png" Height=" 20" Margin="0,-200,225,0" ZIndex="0" />
<Image Source="../Assets/Password.png" Height="20" Margin="0,-75,225,0" ZIndex="0"/>
Please prefer layouting controls such as Grid, DockPanel, StackPanel, etc. And do not have margin higher than 50
Want results from more Discord servers?
Add your server