I’m trying to copy an Inline inline; to a new Inline tempInline inorder to construct a TextBlock textbox = new TextBlock(tempInline); like this tempInline = inline; but the problem is that when I do that my original inline changes/ gets modified.
How can I do that, inline doesnt have a copy or clone method.
I did this,