Caliburn.Micro ContextMenu event not work

Topics: Actions & Coroutines, Bugs
Jul 14, 2013 at 1:00 PM
Edited Jul 14, 2013 at 2:21 PM
Hi,

ContextMenu Opened event not work.
    <HierarchicalDataTemplate x:Key="TreeViewItemTemplate" ItemsSource="{Binding Types}"
            ItemTemplateSelector="{StaticResource NamespaceItemTemplateSelector}">
        <StackPanel Orientation="Horizontal">
            <Path
                    Data=""
                    Height="11.458" Margin="0,0,5,0" RenderTransformOrigin="0.5,0.5" Stretch="Fill"
                    UseLayoutRounding="False" Width="11.264">
                <Path.Fill>
                    <SolidColorBrush Color="#FF333333">
                        <SolidColorBrush.RelativeTransform>
                            <MatrixTransform Matrix="Identity" />
                        </SolidColorBrush.RelativeTransform>
                        <SolidColorBrush.Transform>
                            <MatrixTransform Matrix="Identity" />
                        </SolidColorBrush.Transform>
                    </SolidColorBrush>
                </Path.Fill>
                <Path.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform />
                        <SkewTransform />
                        <RotateTransform />
                        <TranslateTransform />
                    </TransformGroup>
                </Path.RenderTransform>
            </Path>
            <TextBlock Text="{Binding Header}" >
<TextBlock.ContextMenu>
<ContextMenu cal:Message.Attach="[Event Opened] = [Action ContextMenu_Opened($source,$eventArgs)]">
<MenuItem Header="New Child" />
<MenuItem Header="New Sibling" />
<MenuItem Header="Delete" />
</ContextMenu>
</TextBlock.ContextMenu>
            </TextBlock>
        </StackPanel>
    </HierarchicalDataTemplate>
TreeView
<TreeView x:Name="TreeView" ItemTemplate="{StaticResource TreeViewItemTemplate}" ItemsSource="{Binding Namespaces}"/>