Xaml error..?

in continuation to my previous post about starting to learn WPF, I have created a small form which works fine inside VS but gives me a error through RPS Py revit .



Although I knew that non dynamo stuffs are not entertained in this forum, I believe this may be used inside of dynamo as well with little tweaks so request to kindly bear with this.

EDIT:
Sorry forgot add this that It worked fine without any content after removing this line from xaml

It might be the indentation of your code-behind which looks incorrect, specifically the button click event method and its statement body - the code itself appears to be fine.

1 Like

yea…! now works fine…! thanks