|
I read the following from one news:http://infoworld.com/print/79216
Silverlight 3 applications can run in or out of the browser, online or offline.
If so, WPF will be thrown away? It seems not, but if Silverlight 3 can be run in or out of the browser,
why WPF will be chosen?
thanks
|
|
|
|
|
Already answered in the C# forum.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
hi,
Im having trouble figuring out on how to implement my Image List viewer with the following specs;
- The image viewer loads more than 1000 files but must take less memory. It is given that each files is atleast 1mb each.
Therefore loading 1000 image alone already takes 1GB of memory.
My current implementaion simply loads all images to a Listbox binded to a List of images, and this list box is inside a scrollviewer (vertical scroll). This implementation obvoiusly is using more memory since it loads all images.
My plan is to load image only if visible in the scrollviewer, if not visible then image is dereference or not loaded at all.
DO you have any idea on how to implement this type of requirement?
Thanks in advance,
|
|
|
|
|
If I were you, I'd look at using a virtualised ListBox then.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
I read the following from one news:http://infoworld.com/print/79216
Silverlight 3 applications can run in or out of the browser, online or offline.
If so, WPF will be throwed away? It seems not, but if Silverlight 3 can be run in or out of the browser,
why WPF will be chosen?
thanks
|
|
|
|
|
Please don't do this. Pick one place to post and stick with it.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
sorry, I do this mainly because such question will be interested by
all of these forums and moreover I really want to be clarified in considering
I want to learn Silverlight and/or WPF.
thanks agian for your comments.
|
|
|
|
|
Both Silverlight inbrowser or out-of-browser Application run on the sandbox. So, you can't access a lot of things (e.g. system tray, registry, user file system except Isolated Storage. ) You can't re-use old .NET class library that you wrote long time ago.
But with WPF, you can do a lot of things.
Please read the differences between Silverlight and WPF here[^]
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
Microsoft MVP (Silverlight), WPF/Silverlight Insiders
|
|
|
|
|
I've just discovered you can do this, which is cool:
slider.BeginAnimation(Slider.ValueProperty,
new DoubleAnimation(slider.Value, newValue, animationDuration, FillBehavior.Stop));
Just like Core Animation, I had no idea that was possible. The question is, when I do this, is there any way to make the animation more in a non linear way, so it starts slow and gets faster, or vice versa ?
Amusingly, I just found a class called AnimationTimeline. But, it doesn't seem to take To and From properties, and generally doesn't respond well to googling, so, still need help....
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
John - I've started to use Bling[^] to work with animations. You might find this useful. Alternatively, Blend allows you to specify easings by manipulating the keyframe spline.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
JOHN ???? :P
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
Sorry mate. I was reading his post below, and then replied to yours. From now on, I declare that all posters are to be referred to as John.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
I'd prefer Bruce....
And, the point is that I want to create this thing in code, not in XAML.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
Bruce is good. Bling is the puppy for you then.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Downloading now, thanks.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
There is AccelerationRatio and DecelerationRation but they are not that customisable, the next version of WPF and Silverlight support built-in and custom easing functions.
|
|
|
|
|
Hi All, I want to show one dialog box when user closes the browser.
I have added the code in Application_Exit :
HtmlPage.Window.Confirm("Do u want to save your data?");
So that It shows me the OK/Cancel box, which is fine for me. But I want the event for YES so that if user says YES then I could save the data and if he says NO then I do not save the data.
Can anybody have any idea????
|
|
|
|
|
|
I'm pleased that you got the solution to your problem, but could you please refrain from using Urgent in posts. These are volunteer only forums, and people will get to your problem when they have time.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
I'll provide a paid support contract
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Hi experts,
Is it possible to use silverlight in Windows Forms ?
|
|
|
|
|
|
Silverlight is a browser plugin. Put a browser control on your form and
hit a page that has a Silverlight control on it
But as mentioned, since Windows Forms is Windows-specific, you can use WPF.
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
You can use webbrowser controls in winform and WPF. then, you can show the Silverlight content on that browser control. but why...
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
Microsoft MVP (Silverlight), WPF/Silverlight Insiders
|
|
|
|
|
Do any of the current silverlight versions (1,2 and 3 beta) support Parallel and Multi-core Programming?
|
|
|
|