Browse by Tags

  • ItemsSource for XamDockManager Elements

    A number of people have asked about binding the ItemsSource of a TabGroupPane to their collection. This is not supported by the TabGroupPane so I thought I would explain why and provide an alternative approach. If you’re looking to bind the DocumentContentHost...
  • Hosting WPF Controls in a XamDataGrid Cell

    By default, the elements used to display and edit values in a XamDataGrid cell are based on the ValueEditor associated with that Field. The EditorType and/or EditorStyle is used to determine which ValueEditor derived class (e.g. XamTextEditor, XamMaskedEditor...
  • BitmapEffects

    BitmapEffects should be used sparingly since currently 1 they are software rendered but judicious limited usage of them can provide some nice effects for your application. In some cases, their usage is necessary to duplicate a particular look and feel...
  • MousePanning in WPF

    Many applications such as Microsoft Office and web browsers provide the ability to scroll by pressing down the middle mouse button and dragging in the direction that you want to scroll. This feature is often referred to as mouse panning. When you press...
  • Disabled Images in WPF

    I think most developers and end users have come to expect that when a menu item or button is disabled that the image and text within that item are displayed as grayed out. This provides a visual indication that the item is not available for use. I can...