Windows phone 7 在WP7中更改复制和粘贴图标,并在Windows phone中添加复制和粘贴等自定义菜单

Windows phone 7 在WP7中更改复制和粘贴图标,并在Windows phone中添加复制和粘贴等自定义菜单,windows-phone-7,windows-phone-7.1,Windows Phone 7,Windows Phone 7.1,我想更改Windows Phone 7中的复制和粘贴图标,还想在Webbrowser控件中添加自定义菜单,如Windows Phone中的复制和粘贴,例如高亮显示和书签等 问题1:当选择文本时,我是否可以生成类似副本的控件。 问题2:我可以在选择文本时添加圆形图标吗 我尝试了列表和WindowsPhone7工具栏的上下文菜单,但我想对WindowsPhone使用相同的方案 如果有人有相关信息,请帮助 Thanx添加带有列表框的弹出窗口 <Popup Name="textSelectionM

我想更改Windows Phone 7中的复制和粘贴图标,还想在Webbrowser控件中添加自定义菜单,如Windows Phone中的复制和粘贴,例如高亮显示和书签等

问题1:当选择文本时,我是否可以生成类似副本的控件。 问题2:我可以在选择文本时添加圆形图标吗

我尝试了列表和WindowsPhone7工具栏的上下文菜单,但我想对WindowsPhone使用相同的方案

如果有人有相关信息,请帮助


Thanx

添加带有列表框的弹出窗口

<Popup Name="textSelectionMenuPopup">

            <ListBox Name="textSelectionMenu" Margin="0,0,0,100" ItemContainerStyle="{StaticResource myLBStyle}" SelectionChanged="OnTextSelectionMenuSelectionChanged">
                <ListBox.ItemsPanel>
                    <ItemsPanelTemplate>
                        <toolkit:WrapPanel/>
                    </ItemsPanelTemplate>
                </ListBox.ItemsPanel>
                <ListBoxItem Content="Copy">
                    <ListBoxItem.Background>
                        <ImageBrush ImageSource="/Images/Copy.png"/>
                    </ListBoxItem.Background>
                </ListBoxItem>
                <ListBoxItem Content="Highlights">
                    <ListBoxItem.Background>
                        <ImageBrush ImageSource="/Images/Highlights.png"/>
                    </ListBoxItem.Background>
                </ListBoxItem>
                <ListBoxItem Content="Tag">
                    <ListBoxItem.Background>
                        <ImageBrush ImageSource="/Images/Tag.png"/>
                    </ListBoxItem.Background>
                </ListBoxItem>
                <ListBoxItem Content="Note">
                    <ListBoxItem.Background>
                        <ImageBrush ImageSource="/Images/Note.png"/>
                    </ListBoxItem.Background>
                </ListBoxItem>

            </ListBox>
        </Popup>
 void OnTextSelectionMenuSelectionChanged(object sender, SelectionChangedEventArgs args)
    {
        ListBox lstbox = sender as ListBox;

        if (lstbox.SelectedItem != null)
        {
            textSelectionMenuPopup.IsOpen = false;

            string command = (lstbox.SelectedItem as ListBoxItem).Content as string;

            switch (command)
            {
                case "Copy":

                    break;

                case "Highlights":

                    break;

                case "Tag":

                    break;

                case "Note":
                    break;

                case "cancel":
                    break;
            }
        }