Skip to content

WPF DynamicGrid python and XAML layout files #185

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

den-run-ai
Copy link
Contributor

based on @tonyroberts example from mailing list:

https://mail.python.org/pipermail/pythondotnet/2015-June/001653.html

This version allows to design XAML in Visual Studio using ironpython project and run it in both ironpython and pythonnet later.

@tonyroberts
Copy link
Contributor

I think it would be better to get rid of the IronPython references as it's a pythonnet demo. Having it work with both might be nice, but I think it could be seen as a bit confusing.

@den-run-ai
Copy link
Contributor Author

The reason why ironpython is added - to make sure that Visual Studio XAML
designer can be used to design and check for errors interactively and with
intellisense using PTVS.

@tonyroberts, PTVS is officially supported by Python team at Microsoft.

So is there any alternative to not reference ironpython, e.g. to design
XAML without project? apparently this was possible in older versions of VS:

http://stackoverflow.com/questions/28375682/edit-standalone-xaml-with-visual-studio-intellisense

On Tuesday, March 15, 2016, Tony Roberts notifications@github.com wrote:

I think it would be better to get rid of the IronPython references as it's
a pythonnet demo. Having it work with both might be nice, but I think it
could be seen as a bit confusing.


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#185 (comment)

@tonyroberts
Copy link
Contributor

XAML is just a text file, so you can edit it using whatever text editor you like - VS is not required. I've used http://www.kaxaml.com/ in the past.

@den-run-ai
Copy link
Contributor Author

@tonyroberts I only agree partially with you. XAML is not just text file - it is rendered as GUI and for newcomers this visual part of designing in VS is essential. In VS 2015 you can even debug XAML! People may have success with kaxaml, but it has not been developed for 5 years - no issues, no pull requests! if there is any other alternative to VS WPF XAML designer, please let me know?

https://github.com/thinkpixellab/kaxaml

@tonyroberts
Copy link
Contributor

vim? notepad? My point is that these demos should be what you minimally need to demonstrate a feature. If you want to write blog posts or whatever about how to debug xaml using visual studio then that would be great, but cluttering code with reference to ironpython when it's not strictly necessary (and with no explanation of why it could be desirable) isn't the best way to highlight features.

@den-run-ai
Copy link
Contributor Author

@tonyroberts apparently it is possible to switch the interpreter in PTVS, so no issues with removing ironpython refs:

microsoft/PTVS#1156

@den-run-ai
Copy link
Contributor Author

@tonyroberts I removed ironpython refs long ago

BTW, here is another WPF demo:

https://github.com/hhspiny/WPFPy

@tonyroberts
Copy link
Contributor

I think a WPF demo should include some data binding.

@den-run-ai
Copy link
Contributor Author

According to contributing guidelines this pull has to be open for 2 weeks
for addressing comments, before closing.

On Thursday, June 23, 2016, Tony Roberts notifications@github.com wrote:

Closed #185 #185.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#185 (comment), or mute
the thread
https://github.com/notifications/unsubscribe/AHgZ5Xine4sdiaqwITdMEybQxb-3l2RZks5qOlbhgaJpZM4HvfsC
.

@tonyroberts
Copy link
Contributor

It was closed as a side effect of the develop branch being deleted. Please feel free to re-open against the master branch.

@tonyroberts
Copy link
Contributor

Which reminds me... I need to update the contributing file to say that PRs against master are now preferred!

@den-run-ai
Copy link
Contributor Author

Thanks for clarifying!

On Thursday, June 23, 2016, Tony Roberts notifications@github.com wrote:

Which reminds me... I need to update the contributing file to say that PRs
against master are now preferred!


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#185 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AHgZ5ZykDowtInDvBxegQIusDd5KcuxDks5qOmqhgaJpZM4HvfsC
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants