
When I used that code in silverlight with IronPython.
xaml:<app:ButtonEx Content="PageData传值" ActionParam="a=['ss']; \r\n b=Dicationary[str,object]()\r\n" />
IronPython:
code=ButtonEx.ActionParam
editor.Document.InsertText(ActiproSoftware.Text.TextChangeTypes.DuplicateLine, 0,code);
the result is "a=['ss']; \r\n b=Dicationary[str,object]()\r\n"
why "\r\n" doesn't effect.....
I hople the result is :
a=['ss'];
b=Dicationary[str,object]();
[Modified 13 years ago]