Missing documentation for Prism 7 WPF - wpf

When I visit https://prismlibrary.com/docs/wpf/ most of the topics in the left hand navigation menu have no content. Is there something wrong with the site or is there somewhere else I should be looking. I am trying desperately to work through converting an older Prism 6 app to Prism 7 and there are so many breaking changes that I am unable to find any documentation to explain what the new approach should be. Most of the WPF samples on GitHub, also use Prism 6 not 7.
enter image description here

Brian Lagunas, who owns Prism had started working on the docs for Prism 7 on his twitch stream. But they never got completed, which is why you only see sections defined and no content added
Check out his youtube channel (https://www.youtube.com/brianlagunas), there are videos on Prism. He also streams tuesdays and thursdays on twitch.

Related

page transition animation

I started studying windows phone develop. I am now versed with page transitions. I looked through the standard library for animation transitions, such as Silverlight Toolkit for windows phone, but did not find anything like it. Tell me, how can I do the transition from page to page on the event, Flick, and that the first page went up, and the second followed immediately behind it without breaking.
image what be should:
http://dl.dropbox.com/u/65664856/pagetransition_question.png
Read this tutorial. It explains exactly how to use transitions in Windows Phone 7. However, the easiest is to use the toolkit (as explained in the tutorial)
You can also look towards this toolkit (Bewise Controls)

WPF Prism and Ribbon samples/tutorials

I'm looking for a WPF prism with ribbon application samples and tutorials. I have found many that cover prism or ribbon but only a few sources provide any information about implementating those two together in one application. No course code usually in available tough. An example with a few simple modules and a classical ribbon tab control would be perfect for me to start.
Thanks for any help.
Regards,
Enzo.
Edit:
I should add that by combining the two I want to be able to load different modules depending on the ribbon tab selected by user.
You can find some info on a customized region adapter for the WPF Ribbon Preview here.
Regarding the loading of modules on demand in Prism, here is another link to MSDN, covering the topic.
David Veeneman wrote a nice article about Ribbon & Prism on CodeProject
http://www.codeproject.com/KB/WPF/ViewSwitchingAppsPrism4.aspx
It includes RegionAdapter for Ribbon .
There is "Southridge Hands-On Labs" on Codeplex (download on WPF futures page). It is quite extensive, but documentation and source code are not in sync (it looks they updated labs source, but not accompanying documentation), so it can be a pain sometimes to get what is going on.
It is based on Microsoft's WPF Ribbon Preview library.
Edit:
I am not aware about any tutorial that covers both. You can check series of videos on Prism and Silverlight by Mike Taulty. There is also source code for application made in last video.
Then you can combine knowledge from Southridge labs and this Prism tutorial.
I ran into a similar problem this weekend and after much reading and searching came up with this code that I posted for review
https://codereview.stackexchange.com/questions/429/mvvm-wpf-ribbon-v4-with-prism

Silverlight 4 NewBie Question

I am watching a video from Silverlight.net website about DataForm. There is no source code download, so I am typing in the code as I watch the video. Unfortunately I can't replicate what is shown in the video. there are several issues. I am going to list out only the first 2
1) The presenter shows a simple class inside DataForm that has a icon at the very top of the data form that upon clicking it makes the DataForm editable and a save button appears at the
bottom. I did'nt get the same thing when I ran my code against Silverlight 4 or Silverlight 3
2) Than he goes on to show that if you mark your class [Bindable(false)] you shouldn't see anything in your page. I did that but my form still shows all the properties
I stopped after these 2 issues. If the features being talked about in this video were deprecated in the final release than this video should have been taken off the site.
can anyone help me with this??
There are differences in Silverlight 4 from previous version with the DataForm. If you are using SL4 then perhaps I can help:
Add CommandButtonsVisibility="All" to your DataForm XAML. Explore CommandButtonsVisibility for other options.
I have this same problem. Perhaps someone can shed light on this?

Windows Phone 7 Charting/Graphing Controls

We're working on a Windows Phone 7 prototype application and we need a Graphing/Charting control to work with. We looked at the Silverlight Toolkit, which has some controls that look like they would work great. However, we can't get that to work. Whenever we add a control to the XAML from that toolkit, it will throw an exception when trying to load the XAML at runtime, even though it appears to work in the designer. I think that it's because there's some dependencies that the phone doesn't actually support.
Does anyone know how to fix the problem or know of charting software that works on Windows Phone 7?
Here's an example of code that doesn't work. We downloaded and installed the 4.0 beta of Silverlight Toolkit. Added the DLL as a reference. Added this to import the namespace:
xmlns:c="clr-namespace:System.Windows.Controls.DataVisualization.Charting;assembly=System.Windows.Controls.DataVisualization.Toolkit"`
then added this to make a chart:
<c:Chart>
<c:PieSeries>
<c:PieSeries.ItemsSource>
<l:IntList>
<sys:Int32>23</sys:Int32>
<sys:Int32>2</sys:Int32>
<sys:Int32>1</sys:Int32>
<sys:Int32>34</sys:Int32>
</l:IntList>
</c:PieSeries.ItemsSource>
</c:PieSeries>
</c:Chart>
the designer shows the pie perfectly, however when I try to compile and deploy it throws an exception saying that it can't find the MainPage.xaml. Which leads me to believe that MainPage.xaml isn't compilign correctly (not sure, as I'm still a newbie at Silverlight)
Here's the exception:
System.Windows.Markup.XamlParseException occurred
Message=2255 An error has occurred. [Line: 36 Position: 2]
LineNumber=36
LinePosition=2
StackTrace:
...
on this line:
System.Windows.Application.LoadComponent(this, new System.Uri("/Twitpic;component/MainPage.xaml", System.UriKind.Relative));
You can probably reuse some of the things provided by the silverlight toolkit, which is open source:
http://silverlight.codeplex.com/Wikipage
You might have to recompile some stuff against the win phone APIs, but it should work :-)
It looks like someone else has had the same issue as you and solved it by using the Silverlight Toolkit version 3
http://silverlightfeeds.com/post/2502/Windows_Phone_7_RTM_charting_using_the_Silverlight_Control_Toolkit.aspx
Just found these free WP7 charts: amCharts for Windows Phone 7
If you are looking for great charting on WP7, I suggest Visifire. Note that its a commercial offering. Has gesture support too! I've seen very less charting vendors who've optimized charting for mobile-form-factor like these guys do.
You can try MS Toolkit, if you are looking for free basic charts.
Playing around more, I was actually able to get Visifire to work. Just had to browse and add the reference to System.Windows.Browser. I don't know if this is the best way to make it work. But it'll do until the Silverlight Toolkit gets updated.
Macadamian team developed and gives for free a Chart Control. You can pick it up at http://themobileexperience.macadamian.com/2010/05/chart-control-for-windows-phone-7.html
Ani
Just a quick plug for my own graph control I recently released to open source:
Check it out, it scales to hundreds of thousands of points and responds to pinch,zoom,translate and tap gestures:
http://touchgraphwp7.codeplex.com/
A couple of options worth a look.
David Anson's blog and thread posting on charting.
Chart Control for Phone
Why didn't I think of that in the first place? [Windows Phone 7 Charting example updated to include reusable, platform-consistent Style and Templates] - Delay's Blog
And a commercial offering.
Silverlight, WPF & WP7 Chart Controls
This one too
http://www.visiblox.com/examples

Good WPF or silverlight windows gadget examples

Does anyone have a good example of a WPF or silverlight windows gadget?
norlando02,
Hello, I've come across a few sidebar gadget demos and tutorials online. I'll list them here for your review. Hopefully some of them catch your eye, and help you in your endeavorers.
WPF:
http://www.codeproject.com/KB/WPF/3d-gadget-WPF.aspx
http://www.codeproject.com/KB/WPF/WPFGadget.aspx
Part 1: http://blogs.msdn.com/karstenj/default.aspx
Part 2: http://blogs.msdn.com/karstenj/archive/2006/10/09/activex-wpf-gadget.aspx
This one was removed from the source site, but it still has some nice (cached) information: http://docs.google.com/viewer?a=v&q=cache:2G8BDYIxUnMJ:www.stoyanoff.info/code/wss/A%2520Guide%2520to%2520Writing%2520WPF%2520Gadgets.pdf+A+Guide+to+Developing+Windows+Presentation+Foundation+Gadgets+for+Windows+Sidebar&hl=en&gl=us&pid=bl&srcid=ADGEESiddo987Inzj03id5U2_bYiYiIvdoRbI9H6R74GF7BXFTJHVDwrxYexKwLQprAsHELSA6EG3aQKdfgii0Q2EqkOJwzk2_qa2n1pAdweTRRt4mTE1n4-LDhdpRnbvRCmjSA5Dvkt&sig=AHIEtbRvXs8b4Z5iUYwIds1yQhkg-1L-mw (No longer cached)
Silverlight:
http://www.lazarciuc.ro/ioan/2008/08/02/creating-a-vista-sidebar-gadget-using-microsoft-silverlight/
http://blog.benhall.me.uk/2007/05/vista-sidebar-gadget-using-silverlight.html
Stack Overflow: Silverlight 2 Sidebar Gadget
Detailed Video: http://channel9.msdn.com/posts/Charles_Sterling/Building-a-Windows-Side-Bar-gadget-for-tracking-traffic/
I hope thses references help,
Thanks!

Resources