I want to share some text using mail client on windows 8, in which I want to display new lines. It displays it correctly in notepad on using \r\n
but doesn't work with the SetText
function in DataTransferManager
.
相关问题
- how to disable caching HTTP GET in metro app, I am
- ListView in a metro app does not get its vertical
- cant use store test kit while Working with SQLite
- Windows 8 app (html & Javascript) : alternate way
- IOS Safari URL UTI share sheet
相关文章
- Working with hmacsha256 in windows store app
- Receive share file intents with Flutter
- New Windows Application - What language?
- libxml2 missing for nokogiri gem on Windows 8 x64
- Building Windows 8 Metro App on Windows 7 with Vis
- Windows 8 & MySQL? What are my options?
- Visual Studio 2012 designer error
- How to get the first element of a CollectionViewSo
The key is to set text in HTML and not send it as string.
Suppose the text you want to share is in
string textToShare;
Note that you will be sending a string in HTML, so you need to replace all new line characters with<br/>
instead of
use