And yet in the solution I posted above - "MarqueeControl - Custom", the marquee was working exactly as it was supposed to. The code I used was the same in both instances... :S
Printable View
And yet in the solution I posted above - "MarqueeControl - Custom", the marquee was working exactly as it was supposed to. The code I used was the same in both instances... :S
No I meant I used the first one and just compiled the Marquee control class (and the rectangle converter bit) into a DLL. I've now added a reference to that into a new WPF project and created an instance of it on my window using pretty much the exact same XAML as in your project, and then copied the code that sets the text and width etc into the Window_Loaded event but it just doesnt show anything when I run it. No errors or anything, just a blank window :S
Ok I am definitely going to commit suicide... I've had headaches for two days over this silly thing, only to find out that instead the MarqueeContent property, I've been using the Content property, both via code and via XAML... XC
I'm really sorry for the confusion this has caused... The code now works fine... Thank you for your patience =)
lol im glad you got it working but I WAS using the MarqueeContent property and still couldnt get it to work! :)
That's weird :S On my pc it works just fine now...