Welcome to Manicprogrammer Sign in | Join | Help

Rediscovering the Obvious

An occasional journey through one man's perspectives as he fumbles along in the footsteps of many great men.

Browse by Tags

All Tags » WPF   (RSS)
Inkubook is (briefly) hiring!
Effective _now_, we are hiring a single experienced individual into an architect or senior developer role. If you have a desire to work with an incredible team, have great .NET coding skills, and have a desire to see your work become a real product in Read More...

Posted Saturday, May 24, 2008 8:39 AM by willeke | 0 Comments

Filed under: , , ,

And now, the issues past, Silverlife is wonderful!
I've managed to get past the random issues that seem to plague me when adopting new technologies, and I'm digging into the meat of Silverlight 2.0 (Beta 1). This is GREAT! Blend is a great tool, and they've made using resources SO MUCH BETTER! The visual Read More...

Posted Friday, April 18, 2008 9:25 AM by willeke | 0 Comments

Filed under: , ,

Thanks, Mr. Petzold
A signed copy of his new book arrived in the post yesterday, I'm looking forward to digging into it. I'll shamelessly give plugs to good products on this blog, so long as they're good ;) As for the book itself, I read into the introduction a bit, and Read More...

Posted Tuesday, August 21, 2007 11:56 AM by willeke | 0 Comments

Filed under:

Warning: Unexpected WPF focus behavior
I've got a login screen with a TextBox, a PasswordBox, and a Button (yeah yeah, just like everybody else). Type login, hit tab, type password, hit tab, hit spacebar to click the button. (So far so good) I did it right, so my new Page opens within my Frame Read More...

Posted Thursday, August 09, 2007 3:29 PM by willeke | 0 Comments

Filed under: ,

Preventing F10 from opening an application's menus
Hopefully you don't need to do this often, but in our case we have a special hardware integration need to either handle or ignore the F10 key. However, F10 doesn't generate a KeyDown event with e.Key == Key.F10. Instead, do this: void Window_KeyDown(object Read More...

Posted Thursday, August 09, 2007 12:08 PM by willeke | 1 Comments

Filed under: ,

ListView + GridView - Selection == ItemsControl + GridViewHeaderRowPresenter + GridViewRowPresenter
This is neat. I've been annoyed for quite a while that I haven't figured out how to "enroll" things in a StackPanel into columns for alignment and consistency... I've wanted basic control layouts (no sorting, selection, etc) to have a roughly "Gridbased" Read More...

Posted Wednesday, August 08, 2007 9:47 AM by willeke | 0 Comments

Filed under: ,

Talking about trees
Sheva's Techspace is talking about trees at http://shevaspace.spaces.live.com/Blog/cns!FD9A0F1F8DD06954!581.entry I've added a comment with my "work around" to that specific problem, and I'm curious what other people have seen/done. Read More...

Posted Tuesday, August 07, 2007 8:32 AM by willeke | 0 Comments

Filed under: ,

Force a WPF DataBinding to Update
From: http://blogs.msdn.com/jaimer/archive/2007/07/04/forcing-a-wpf-binding-to-refresh.aspx Now I'll find it again, since it took me five minutes to find that link even after using it once. BindingOperations.GetBindingExpressionBase(_dependencyObjectWithBinding, Read More...

Posted Friday, August 03, 2007 12:35 PM by willeke | 0 Comments

Filed under: ,

InputBinding == flexibility
I was frustrated yesterday because I had 8 different buttons on a screen that were perfect for RoutedUICommand bindings with the CommandParameter set to a different value on each. However, they each also needed a different KeyGesture attached, and as Read More...

Posted Friday, August 03, 2007 9:11 AM by willeke | 0 Comments

Filed under: ,

Binding targets must be public?
It appears so! I had a nice informative binding working in my window's frame, did some refactoring, and it disappeared. My property accessors just weren't getting called. Here's the interesting code, which was bound using the notation that follows: // Read More...

Posted Wednesday, August 01, 2007 1:54 PM by willeke | 0 Comments

Filed under: ,

Update - Thanks MDizzy!
Ask and I shall receive! A few days ago I mentioned that I'd love to get in touch with people that use WPF daily like I do, and then mdizzy starts commenting on my blog! He posts over at his blog, Brownie Points , and based on the images does quite a Read More...

Posted Friday, July 27, 2007 11:33 AM by willeke | 0 Comments

Filed under:

Binding to local helper objects
"Hack" or "Good Thing" -- What do you all think? I wanted to factor out some minor calculations from one of my screen, things like updating a total based on the sum of some other balances. To support this, I created an object named BatchCalculator and Read More...

Posted Friday, July 27, 2007 9:02 AM by willeke | 0 Comments

Filed under: ,

Confused about DependencyProperties
I have a custom control that serves as a generic container for selecting a specific instance of one of a number of types of objects. This container handles the different types by swapping out other user controls as appropriate to what's being selected, Read More...

Posted Monday, July 23, 2007 1:47 PM by willeke | 4 Comments

Filed under: ,

Baby Blend Rant
Well not really a rant, more of a lamentation that Blend, like every other [web] designer before it, doesn't really understand the concept of dynamic layout. WPF finally offers a VERY dynamic layout system, but blend, when you move things around still Read More...

Posted Monday, July 23, 2007 9:23 AM by willeke | 0 Comments

Filed under: , ,

Anybody out there using WPF?
I realized I have a distinct lack of people on my IM list that I can throw out a quick question regarding WPF to... frustrating when every other tech on my used list has an expert within easy messaging distance... Don't suppose any other WPF experts (or, Read More...

Posted Thursday, July 19, 2007 11:59 AM by willeke | 0 Comments

Filed under:

Dependency Properties in WPF
I made my first one today... and it "just worked". I have a bunch of Page objects that need to push buttons into a shared space in the window's frame. How do I do this? Easy! I just define a dependency property on the root window of type IList< RoutedUICommand> Read More...

Posted Thursday, July 19, 2007 11:35 AM by willeke | 1 Comments

Filed under: ,

The joys of a designer!
and, I'm not talking about the type that plugs into an IDE and lets somebody play at being a prolific programmer by generating thousands of lines of code... I'm talking about the living, breathing, ARTISTIC types... the guys who talk about colors and Read More...

Posted Thursday, July 19, 2007 11:25 AM by willeke | 0 Comments

Filed under: , ,

Is this a good thing?
My understanding of the .NET design philosophy is that if you handle an event with an empty handler, it should behave essentially as if you had not handled the event at all. This may not be the case, but it seems to be in most things... if you handle Read More...

Posted Friday, June 08, 2007 8:38 AM by willeke | 0 Comments

Filed under: , ,

Next up - Infragistics
Well, having tried the free Xceed data grid for a while, and not being fully pleased, I'm going to give Infragistics control a try. They've released the XamDataGrid for free (link currently broken?), and also put out a promotional on their full suite Read More...

Posted Tuesday, May 22, 2007 9:22 AM by willeke | 0 Comments

Filed under: ,

Getting involved!
http://phacker.wordpress.com/2007/05/02/new-team-system-sig-in-indianapolis/ That's right - a special interest group, IN INDY, dedicated to team system (and by extension, team foundation) This could be very good. Way to go, Paul! Read More...

Posted Thursday, May 03, 2007 8:37 AM by willeke | 0 Comments

Filed under: ,

DataTriggers are VERY cool
I've been reading a lot about Triggers in WPF styles, but I didn't have much call to use them yet since we're still working on getting a UI out there and databound for a decent slice of the app... we haven't really started looking at nifty UI behavioral Read More...

Posted Wednesday, April 25, 2007 9:52 AM by willeke | 0 Comments

Filed under: ,

Automatically expanding a WPF grid
Took me a while to figure it out, so here it is. <TreeView Name="_orgSelectionTree" > <TreeView.ItemContainerStyle> <Style> <Setter Property="TreeViewItem.IsExpanded" Value="True"/> </Style> </TreeView.ItemContainerStyle> Read More...

Posted Monday, April 23, 2007 3:51 PM by willeke | 0 Comments

Filed under: ,

Pack Notation for style merging
Just so I remember (Company.Product.Module is the naming convention we use for both namespaces and assemblies) <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="pack://application:,,,/Company.Product.Module;component/AppStyles.xaml"/> Read More...

Posted Tuesday, April 03, 2007 4:06 PM by willeke | 0 Comments

Filed under: