[Updated: @davidfowl suggested using the FrameworkName rather than parsing myself. Thanks!] I’m working on the Caliburn.Micro Nuget package and one of the things that we need is to add a default Bootstrapper, ShellView, and ShellViewModel to your project. One awesome thing Rob Eisenberg has done is provide WPF, Silverlight and WP7 versions of Caliburn.Micro. Unfortunately, [...]
Archive for category WPF
I’ve never found a use for the XmlDataProvider natively in Xaml for a shipping app, but today a @malevy had a situation that sounded interesting. He has an Xml document structured as follows: <Owners> <Owner name=”’”> <Pet name=”” /> <Pet name=”” /> <Owner name=””> … </Owners> He wanted to be [...]
I had a great time in Frankfort, KY yesterday. We had a great turnout for the Expression SketchFlow: From Concept to Production session. It is incredibly encouraging to see so many interested in building great, well designed apps for all industries and clients (even your LOB apps!). Thanks again for those who made it. You [...]
Along with a great cast of MS partners, evangelists, specialists and more I will be bringing Sketchflow to the Frankfort, KY area Thursday, April 15th. This will be Session I with Session II scheduled for April 22nd. You can learn about everything from Forefront Suite to Silverlight to Windows Phone 7 and, of-course, Sketchflow. You [...]
Lots of people struggle with grouping data and when they do, the brut force method normally takes over and we start creating some crazy super structure to organize data and then do something like put a List inside of a List or a Grid inside of a list. Just think of how many times you [...]
I’ve had this nagging issue for some time now with WPF views that are registered for an interface. The Views themselves are WPF UserControls: namespace SomeApp.Views { public partial class SearchView : UserControl, ISearchView { public SearchView() { InitializeComponent(); } private void InitializeComponent() { throw new NotImplementedException(); } } } I would love to [...]
Undo/Redo support is one of those golden features that really differentiate a client app from many web apps. There have been a number of methods/techniques to provide this support that I’ve run across from brute force, to the memento pattern, but none that lit any fire for me. Here’s my answer to the problem using [...]
Another part of the overall solution we were trying to come up with in conjunction my previous post on Scrolling Multiple Content Areas, we also needed to come up with a way to only show X number of items in the visible region of an ItemsControl wrapped in a ScrollViewer. This was more tricky than [...]
I struggled to solve a UI dilemma while at my current client. For various reasons, we came across a situation in which we needed to scroll two areas of the view based on a single Scrollbar. You can see what we were attempting and finally achieved here. The end result is smooth, yet not quite [...]
The WPF Mindset
Nov 3
WPF is awesome, but it requires the developer to make a pretty big shift in their thinking of UI. I’ve had a hard time explaining this to people, but last week, I had an opportunity to work through an example with Steve Gentile. That’s the basis of this walkthrough. The Scenerio Steve has an [...]