March 24th, 2009 03:50 PM
After a bit more searching, I've found a solution:
// Handler must be added once the window is loaded
void Main_Loaded(object sender, RoutedEventArgs e)
March 24th, 2009 03:22 PM
I have a WPF app that I want to be able to handle certain Windows Messages that other apps send to it. In Windows Forms, I could overload the OnNotifyMessage method in my form and handle arbitrary...
March 18th, 2009 03:11 PM
The solution is to simply add the controls to the DockPanel in the reverse order. Using the previous example, it would be like this:
March 18th, 2009 02:18 PM
I have a DockPanel with two items in it, one docked to the left, and one docked to the right. By default, when the DockPanel is resized, the item on the right resizes to fill the space, whereas the...
March 16th, 2009 10:57 AM
I want to implement a generic interval class that stores two IComparable objects corresponding to the bottom and top of the interval. However, I want to be able to pool different types of Intervals...