Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8952353
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T13:51:19+00:00 2026-06-15T13:51:19+00:00

I am working on a windows phone application and i need Menu like Ipad

  • 0

I am working on a windows phone application and i need Menu like Ipad text selected (Cut,copy,paste) and also want some custom menus. When i Select text in windows phone only one option Copy text is visible.

Suggest me the Solution to my problem.

Thanx

EDIT

<Border BorderThickness="3" Padding="6">
    <toolkit:GestureService.GestureListener>
        <toolkit:GestureListener Tap="GestureListener_Tap" />
    </toolkit:GestureService.GestureListener>
    <toolkit:ContextMenuService.ContextMenu>
        <toolkit:ContextMenu>
            <toolkit:MenuItem Header="item1" Click="Item1_Click" />
            <toolkit:MenuItem Header="item2" Click="Item2_Click" />
            <toolkit:MenuItem Header="item3" Click="Item3_Click" />
        </toolkit:ContextMenu>
    </toolkit:ContextMenuService.ContextMenu>
    <TextBlock Text="Tap" />
</Border>

private void GestureListener_Tap(object sender, GestureEventArgs e)
{
    Border border = sender as Border;
    ContextMenu contextMenu = ContextMenuService.GetContextMenu(border);
    if (contextMenu.Parent == null)
    {
        contextMenu.IsOpen = true;
    }
}

I have used This code but it Generates a context menu like list items which i Not required I requires a Round corner Image icons like Copy and paste Or it would like the ipad or iphone selection text menu.

I want menu like

Text Selection

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T13:51:21+00:00Added an answer on June 15, 2026 at 1:51 pm

    See my Question and Answer Here

    and then Add Gesture event listner like below code Also note that you have to include the Microsoft.Phone.Controls.Toolkit reference.

    GestureListener listener = new GestureListener();
            listener.Hold += (sender, args) =>
            {
                // some logic here
                textSelectionMenu.Tag = args;
                textSelectionMenu.SelectedItem = null;
                textSelectionMenuPopup.IsOpen = true;
                activePopup = textSelectionMenuPopup;
                textSelectionMenu.Measure(new Size(double.PositiveInfinity, double.PositiveInfinity));
                Size selectionMenuSize = textSelectionMenu.DesiredSize;
                System.Windows.Point pt = args.GetPosition(textSelectionMenu);
                double offsetX = 50;
                double offsetY = pt.Y;
    
                // Finally, make sure it's on the screen
                //offsetX = Math.Max(0, Math.Min(offsetX, selectionMenuSize.Width));
                //offsetY = Math.Max(0, Math.Min(offsetY, selectionMenuSize.Height));
    
                textSelectionMenuPopup.HorizontalOffset = offsetX;
                textSelectionMenuPopup.VerticalOffset = offsetY;
            };
            this.Browser.SetValue(GestureService.GestureListenerProperty, listener);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to create an application bar like IE has in Windows Phone 7.1
We're working on a Windows Phone 7 prototype application and we need a Graphing/Charting
I'm busy working on a windows phone application that calls a servlet that then
I am working on a Windows Phone 7 app and I want to give
Presently I'm working on a Windows Phone application that will work in both online
I am working on Windows Phone 7.1 application. I have a UserControl which has
I'm currently working on a application that would run on any device like: Windows
I am working on a Windows Phone 7 application with an SQLite Local Database
I am working on a Windows phone 7 application. I am using this implementation
I am working on a windows phone 7 application that uses the FluidMoveBehavior in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.