Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I have an ironpython script which opens an xaml file containing 2 tabs . Inside of the first tab there is a listbox and there
I have an ironpython script which opens an xaml file containing tabs Inside of the first tab there is a listbox and there is a button called "Modify" underneath. How can I make it so that I can open another xaml file which contains some information about the class I selected in the listbox Lets assume it has the class properties: Views, Options, Materials, Objects, Name To give some more context, I will provide some code I made in IronPython to load the xaml file. class ViewModelmyWPF:
contextmode 'show'
viewmode 'singular'
contexttransp
contextcolor Color
warningcolor Color
countviewstotal
countviewcurrent
def initself:
pathxamlfile xamlpath
wpfLoadComponentself pathxamlfileand later on for the main I have this: if namemain:
x ViewModel
xshowwindow the wpf mentioned here just comes from ironpython doing import wpf Is this possible with XAML and IronPython? If you can give it in either ironpython or C# its fine because I can easily convert these two languages.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started