I am showing the mac address in a WPF application. I want the MAC address to be optional to copy / paste, so I use ReadOnly TextBox
When the user double-clicks, I want to select the entire MacAddress
The default behavior in WPF and Windows is to double-click to select the part of the number between the colon so when the MAC address is: 00: 55: 66: 77: 99
and the user double-clicks, only one part of the MAC address will be selected (for example, 55) Is there a way without a code to make a choice for all the content for the text field
or maybe I shouldn't use a text box?
thanks
source share