Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
Can Xam Diagram and Xam Radial Menu be integrated on the same view

I have used XamDiagram to define certain images in my view, which are bound to certain objects. Now, Is it possible to integrate a Radial Menu to these images?.

Can I make the Image pop a Radial Menu when it is clicked?.

<Grid Margin="0" Height="Auto" >
<RowDefinition />
<RowDefinition />
<Image Source="{Binding ImagePath}" Height="65" Width="65" Stretch="Uniform" />
<TextBlock Text="{Binding Mode=OneWay, Path=Name}" Grid.Row="1" TextWrapping="Wrap" Margin="1" TextAlignment="Center" />

<ig:XamDiagram x:Name="mydiagram" Grid.RowSpan="2"
<ContextMenu >
<MenuItem Header="{Binding OptionMenuText}" Visibility="{Binding IsOptionMenuVisible, Converter={StaticResource BoolToVis}}" Click="MenuItem_Click"/>

<ig:NodeDefinition TargetType="-----"
<layout:CustomLayout />

No Data
  • 20
    Offline posted

    I think you can just add the xamRadialMenu to a custom context menu on any control. Then you can use the ContextMenu's Opened and Closed events to make the radial menu open and close in sync. Also, to make the central button of the xamRadialMenu appear beneath the cursor use the ContextMenu's HorizontalOffset and VerticalOffset properties.


No Data