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 8028015
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T23:59:42+00:00 2026-06-04T23:59:42+00:00

Currently in my WPF app I have a multiple textbox readonly. So the user

  • 0

Currently in my WPF app I have a multiple textbox readonly. So the user can select text and then Ctrl+C Ctrl+V. But I want to make this task more simple :

  • If the user just left click on the textbox (or another control that display my text), all the text is copy to clipboard

But the user still has the possibility to select the text as before

Any idea to do that in a XAML style ?


It is solve, I will automatically copy to clipboard any text selected. Knowing that if you doubleclick on a textbox it select all text, the user will just have to doubleclick to copy all the text in his clipboard.

  • 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-04T23:59:44+00:00Added an answer on June 4, 2026 at 11:59 pm

    For your clipboard problem, you can create an onclick handler and use the built-in clipboard functionality in C# (How to copy data to clipboard in C#).

    For the tooltip, you’ll need to use an onload handler and the built-in tooltip functionality in C#:

    System.Windows.Forms.ToolTip ToolTip1 = new System.Windows.Forms.ToolTip();
    ToolTip1.SetToolTip(this.textBox1, "Hello");
    

    Haven’t done much with animations, but if I’m not mistaken, you can set an onhover handler as well. (Edit: The MouseHover event handler is probably what you’re looking for.)

    Edit: Basically, event handlers are your friends.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently learning WPF and have stumbled upon the concept of weak events but
I have a WPF 4 app which I want to enable drag and drop
I've got a simple WPF 4.0 app that currently has no concept of user
I have a WPF app that is currently driven completely from XAML. All fields,
I'm currently creating a WPF app in C# and have been following this diagram
I'm I'm currently making a wpf c# app. I have some storyboards which animate
I'm currently designing a smart client app (WPF) which needs to operate in an
I am currently working within a WPF user control (the root element of my
I'm currently creating a user interface using WPF and would like to display a
I'm currently working out the layout of a WPF Application and seem to have

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.