I'm not sure whether this should be posted in the RadTreeView forum, the RadDocking forum or in this forum, but here goes...
I have a RadTreeView control that lives inside a RadDocking pane. The treeview has a RadContextMenu associated with it, and if I right-click on a TreeViewItem while the rad pane is floating, the icons in the context menu disappear. Here is the markup that I am using for the TreeView:
<telerik:RadTreeView x:Name="tvProjectNav" Padding="0 0 10 0"
Background="White"
SelectionMode="Single"
ItemPrepared="TvProjectNavItemPrepared"
MouseDoubleClick="TvProjectNavMouseDoubleClick"
ExpanderStyle="{StaticResource Expander}"
telerik:TreeViewPanel.IsVirtualizing="True"
IsEditable="False">
<telerik:RadTreeViewItem
Header="{StaticResource navDiagramRootNodeText}"
ItemsSource="{Binding Source={StaticResource ProjectProvider},Path=Diagrams,UpdateSourceTrigger=PropertyChanged}"
ItemTemplate="{StaticResource DiagramItemTemplate}"/>
<telerik:RadTreeViewItem
Header="{StaticResource navTrendGroupsRootNodeText}"
ItemsSource="{Binding Source={StaticResource ProjectProvider},Path=TrendGroups,UpdateSourceTrigger=PropertyChanged}"
ItemTemplate="{StaticResource TrendGroupItemTemplate}" />
<telerik:RadContextMenu.ContextMenu>
<telerik:RadContextMenu x:Name="navContextMenu"
Opened="NavContextMenuOpened"
ItemClick="NavContextMenuItemClick"
ItemTemplate="{StaticResource contextMenuItemTemplate}"/>
</telerik:RadContextMenu.ContextMenu>
</telerik:RadTreeView>
Can anyone tell me why the images disappear when the pane is floating?
I have a RadTreeView control that lives inside a RadDocking pane. The treeview has a RadContextMenu associated with it, and if I right-click on a TreeViewItem while the rad pane is floating, the icons in the context menu disappear. Here is the markup that I am using for the TreeView:
<telerik:RadTreeView x:Name="tvProjectNav" Padding="0 0 10 0"
Background="White"
SelectionMode="Single"
ItemPrepared="TvProjectNavItemPrepared"
MouseDoubleClick="TvProjectNavMouseDoubleClick"
ExpanderStyle="{StaticResource Expander}"
telerik:TreeViewPanel.IsVirtualizing="True"
IsEditable="False">
<telerik:RadTreeViewItem
Header="{StaticResource navDiagramRootNodeText}"
ItemsSource="{Binding Source={StaticResource ProjectProvider},Path=Diagrams,UpdateSourceTrigger=PropertyChanged}"
ItemTemplate="{StaticResource DiagramItemTemplate}"/>
<telerik:RadTreeViewItem
Header="{StaticResource navTrendGroupsRootNodeText}"
ItemsSource="{Binding Source={StaticResource ProjectProvider},Path=TrendGroups,UpdateSourceTrigger=PropertyChanged}"
ItemTemplate="{StaticResource TrendGroupItemTemplate}" />
<telerik:RadContextMenu.ContextMenu>
<telerik:RadContextMenu x:Name="navContextMenu"
Opened="NavContextMenuOpened"
ItemClick="NavContextMenuItemClick"
ItemTemplate="{StaticResource contextMenuItemTemplate}"/>
</telerik:RadContextMenu.ContextMenu>
</telerik:RadTreeView>
Can anyone tell me why the images disappear when the pane is floating?