| |
browse.develop.com
Browse.develop.com is a community that was established to collect and
organize valuable web information. Our technical staff have selected and
indexed information and courses that they feel will help you stay
current on best practices across the SDLC.
|
132 Articles match "WPF"
See all articles with
"WPF"
| The Latest from DevelopMentor | MORE | | Join Me at Guerrilla.NET in November Model-View-ViewModel for WPF and Metro. Just a quick announcement for an developer upcoming event I’ll be participating in… Early November I’ll be co-teaching DevelopMentor’s biggest.NET developer event of the year in Los Angeles: Guerrilla.NET. If you haven’t been to Guerrilla.NET, it’s a very unique and memorable event – it’s unlike almost any other training class you’ve seen. We’ve just updated the outline with the most important current and upcoming technologies (see below). hope to see you there! mkennedy. Guerrilla.NET. Michael C. Kennedy's Weblog - Tuesday, September 25, 2012 What’s new in ApprovalTests.Net v.20? To test all the events on a form and its immediate children, simply call code as shown below: WinFormsApprovals.VerifyEventsFor( new DemoForm()); WPF support for Controls It’s always been possible to test WPF windows with a simple: WpfApprovals.Verify(window); This would render the window to a.png image and verify against.approved file. ASP routing support As community contributor, Krzysztof Ko?mic This can be particularly troublesome when changing an existing, unfamiliar piece of code. For example, it it easy to accidentally remove a button-click event. Happy testing. DevelopMentor Courses - Thursday, August 9, 2012 Simple MVVM Toolkit for Silverlight 5.0, Windows Phone 7.1 To get those, install the NuGet package manager from the Extensions Manager command under the Tools menu, then search for “SimpleMvvm” and select a package to install, depending on the type of project you have: WPF, Windows Phone, Silverlight 4 or Silverlight 5. I’ve just upgraded my Simple MVVM Toolki t to support Silverlight 5.0 and Windows Phone 7.1 ! You can download the latest version here and take it for a spin – or get it from the Visual Studio Extensions Gallery by opening Visual Studio and selecting Extensions Manager from the Tools menu. Enjoy DevelopMentor Courses - Friday, March 2, 2012 | -
| The Best from DevelopMentor | MORE | - WPF MVVM Helper Library (WPF + MVVM = testability)
There's been a lot of talk about the Model-View-ViewModel pattern recently and it's usage around the WPF and Silverlight technology stack. When teaching WPF, I always introduce students to MVVM as part of the Essential WPF class, it's an incredibly useful pattern that really separates the UI from the code behind behavior. It's evolution owes a lot to various blog posts, WPF Disciples, and other WPF leaders; I certainly didn't invent anything radically new but borrowed heavily from all kinds of places as I built various classes I needed for my own work. file -. - WPF Data Providers
One of the nifty new features of the WPF platform is the pluggable data providers. Data binding in WPF is extremely powerful -- I am constantly amazed at how much procedural code you can dump in favor of markup with creative bindings. Tags: NET;Code;WPF It ships with two out of the box: ObjectDataProvider: allows you to execute binding expressions against an object and it's methods. XmlDataProvider: loads an XML data source and makes it available as a binding source. State, Age, Income. We can get the data loaded into a collection source through the XmlDataProvider. Mark's Blog of Random Thoughts - Wednesday, January 17, 2007 - Part 3: Shifting focus to the first available element in WPF
We've seen how to programatically control focus and that's all great stuff, but one thing I like to do with WPF is see how much of the repetitive or UI-specific code I can move into the XAML and keep out of the code behind. Tags: NET;WPF We can use the FocusManager.FocusedElement property to shift focus in XAML but it only works when the element exists in the main XAML file. If you use UserControls it turns out that the approach doesn't work because that element is loaded separately and not available when the initial focus is being determined. but all is not lost! - Part 2: Changing WPF focus in code
In the last post , I wrote about how focus is generally managed in WPF - we have focus scopes to track a single element within that scope for logical focus, and then one of those elements is given physical, or keyboard focus. First, there is a Keyboard class in WPF which exposes several methods and properties. However, the most common request is to set initial focus to a specific control - remember that WPF doesn't do that by default. However, a popular way to develop WPF applications is to separate out chunks of UI into separate UserControls. Tags: NET WPF Mark's Blog of Random Thoughts - Thursday, September 4, 2008 - Part 2: Changing WPF focus in code
In the last post , I wrote about how focus is generally managed in WPF - we have focus scopes to track a single element within that scope for logical focus, and then one of those elements is given physical, or keyboard focus. First, there is a Keyboard class in WPF which exposes several methods and properties. However, the most common request is to set initial focus to a specific control - remember that WPF doesn't do that by default. However, a popular way to develop WPF applications is to separate out chunks of UI into separate UserControls. Tags: NET;WPF Mark's Blog of Random Thoughts - Thursday, September 4, 2008 %>
| | |