Forum > Coding >

Resize Border With Animation

BugsBunny

Me likes chicken nuggits!

Posts: 145

Threads: 20

Joined: May, 2021

Reputation: 1

Posted

*plays USSR anthem*

Hello, it's your fellow slav!

I'm making a ui in wpf and I need an example of how to animate the border resize (not the resize that the user does, the resize from code!)

Yeah... that's it!

Stay Slav :)

  • 0

Added

@OrbitRBX Yes! Exactly!

  • 0

"The UI doesn't matter, only the execution matters" - iCyphy

Download Cat-Ware NOW: (download down)

Coding Is Pog!

Posts: 673

Threads: 30

Joined: Aug, 2020

Reputation: 6

Replied

https://docs.microsoft.com/en-us/dotnet/desktop/wpf/graphics-multimedia/animation-overview?view=netframeworkdesktop-4.8

 

If you want C# Animation then you want DoubleAnimation. if you want XML Animation look for Storyboard.

 

Pro Tip: Don't use Storyboard on DoubleAnimation from C# Side.

  • 0

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )