Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

StackPanel not rendered correctly

$
0
0

Hi all,

I wonder why my stackpanel in the datagrid column header is displayed like this:

"System.Windows.Controls.StackPanel".

I know that this happens if there is no data template for poco classes, but the StackPanel is a WPF control and all it's childs, too.

Here is the XAML of the stackpanel:

<StackPanel
  Orientation="Horizontal"><ContentControl>Rule Name</ContentControl><Image
    Source="/DataGridContextMenuFilter;component/Images/filter.png" /></StackPanel>

Can anybody point me into the right direction?

Thank you


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>