Browse by Tags

All Tags » WPF   (RSS)
Building custom controls in WPF can provide you with lots of flexibility.  It allows you to entirely separate the behavior of the control from the look of the control.  This is the premise behind most of what WPF offers.  In this post I Read More...
Keith encountered some interesting behavior while trying to build a Custom Task Pane hosting a WPF control in VSTO to use in Excel. (See my post on " Using WPF With VSTO & Office 2007 "). "I click the search textbox and it appears to have focus... Read More...
At first glance binding a control (such as a ListBox) to a DataSet in XAML may not be apparent. However all you need to remember is that the column names in a DataSet work very similar to the property names on plain CLR objects. The trick is where you Read More...
Hosting Windows Forms controls in Office 2007 Custom Task Pane's is pretty simple, as shown in this MSDN article . I created a simple addin to display a list of image files in a given folder so that the user can double-click on the file name (in a ListBox) Read More...
When you want to change the default selection style on a ListBox it's fairly straight forward. All you need to do is create a control template and use triggers to set values when IsSelected is true. < Style TargetType = " ListBoxItem " > < Setter Read More...
Mike Hillberg has an excellent post on how XML namespaces work in XAML. It's a good refresher if it's been awhile since you've had to think about XML namespaces and covers such things as how Attached Properties are interpreted (which is they resolve to Read More...
More Posts Next page »