Hello ,
I have Xamdatagrid and there is a context Menu which i have to display when any Header is right click , My context Menu item is not showing the text of menu items when the menu display on the mouse right click in the Header.Below is the code which im using .Pls correct my code if there is any error.
<ContextMenu x:Key="PagingMnu" Background="AliceBlue" AllowDrop="True" Cursor="Hand" IsEnabled="True"> <ContextMenu.Items> <MenuItem Header="Ten 10" Name="a10" /> <MenuItem Header="Twenty 20" Name="b20" /> <MenuItem Header="Thirty 30" Name="c30"/> </ContextMenu.Items></ContextMenu>
<Style TargetType="igDP:HeaderLabelArea">
<Setter Property="ContextMenu" Value="{StaticResource PagingMnu}"/>
</Style>
I just tried placing this xaml in the window resources of a test app and it works fine so I'm not sure what the issue could be. I would suggest submitting an online support request at http://ko.infragistics.com/gethelp. and provide a sample so they can repro the problem.