| |
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.
|
10 Articles match "Element","WPF"
| Related DevelopMentor Courses | MORE | | 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 Guerrilla.NET (US) Training WPF/SL : Develop cutting-edge UIs with Windows Presentation Foundation and Silverlight including coverage of Silverlight 5.0 MVVM : Learn advanced WPF / Silverlight design patterns and techniques including MVVM (Model-View-ViewModel). iOS : Build multi-touch enabled applications on platforms such as WPF, Silverlight, and Apple's iPhone / iPad. WPF/SL : Develop cutting-edge UIs with Windows Presentation Foundation and Silverlight including coverage of Silverlight 5.0 Main Topic Day 1 Introduction to WPF and Silverlight (version 4.0 dynamic typing from C# 4.0, DevelopMentor Courses - Tuesday, March 1, 2011 Essential Windows Presentation Foundation - WPF Training Use new technologies such as LINQ and XLINQ with WPF. Utilize your existing controls, forms and resources from Windows Forms with WPF. Come and get familiar with the dynamic and creative application development that WPF enables. Learn how to best utilize WPF for both new projects as well as porting existing Windows Forms, MFC or traditional Win32 application over to this new platform. You'll get answers to these questions: What are the main building blocks of a WPF application and how do I use them? What are the new features in WPF 3.5 to WPF 4.0 DevelopMentor Courses - Wednesday, February 22, 2012 |
39 Articles match "Element","WPF"
| The Latest from DevelopMentor | MORE | | 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 versus MVVM Light Toolkit Both Simple MVVM and MVVM Light toolkits support WPF, Silverlight and Windows Phone clients. One is an assortment of small samples, each illustrating a particular feature or aspect of the toolkit: Property Association, Enums, Async, Dependency Injection, Messaging, Navigation, and RIA Services, as well as Getting Started samples for Silverlight, WPF and Windows Phone. prefer to use commands mainly when you need to pass a parameter to a ViewModel method, which is rare because View elements are generally bound to ViewModel properties. Platforms. Support. Usability. That’s it. Tony and Zuzana's World - Saturday, April 23, 2011 Replacing Services in MVVM Helpers ll start with a brand-new WPF application and add MVVMHelpers through NuGet – a new service from Microsoft for adding dependencies easily: Next, let’s add a single button and a TextBlock to the window, in two equally spaced rows – binding the first to a command called “CalculatePi” and the second to some text “PiText”. IDisposable BeginWait( string title, string message); } You call BeginWait to start a notification – it returns an IDisposable element, once you are done waiting, you dispose that object and the notification is destroyed. NET Code MVVM WPFHappy Coding! Mark's Blog of Random Thoughts - Wednesday, March 9, 2011 | -
| 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 -. - 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. 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. Tags: NET;WPF but all is not lost! - WPF Data Providers
One of the nifty new features of the WPF platform is the pluggable data providers. This property allows you to identify which element(s) you want to load from the XML data source. Here is a XAML file which will present the above UI complete with sorting by the age element. 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 XmlDataProvider: loads an XML data source and makes it available as a binding source. State, Age, Income. Until then. 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. 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. Tags: NET WPF 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, you can always determine which element has logical focus in your application through the FocusManager.GetFocusedElement method -- pass it the window in question and it will return which element has logical focus in that window. First, there is a Keyboard class in WPF which exposes several methods and properties. Continue. 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, you can always determine which element has logical focus in your application through the FocusManager.GetFocusedElement method -- pass it the window in question and it will return which element has logical focus in that window. First, there is a Keyboard class in WPF which exposes several methods and properties. Continue. Mark's Blog of Random Thoughts - Thursday, September 4, 2008 - MVVM: Views and ViewModels
Views are the UI presentation of data - in the case of a WPF/Silverlight application this is most commonly the XAML and XAML code behind files (they are considered a single element together). We want to have UI-specific code and designer elements present in these files. Generally we prefer to place business logic and testable elements into the ViewModel area. That way, my ViewModel sticks with base (non-WPF) types. This is necessary under WPF 3.5 There is one element ( MarkerFile ) that I want you to ignore for a moment – we’ll get to it in a second. %>
| | |