WPF XAML demo: Difference between revisions

Jump to navigation Jump to search
m
Change broken links to point to old APL Wiki
m (Text replacement - "</source>" to "</syntaxhighlight>")
m (Change broken links to point to old APL Wiki)
 
(3 intermediate revisions by 2 users not shown)
Line 51: Line 51:
       win.Show
       win.Show
</syntaxhighlight>
</syntaxhighlight>
The following window is displayed:
<!-- The following window is displayed:


{{attachment:Sample1.png || width=250}}
{{attachment:Sample1.png || width=250}} -->


<syntaxhighlight lang=apl inline>FixSimpleXaml</syntaxhighlight> is a function used to execute the XAML and return the root element as a .Net object.  All the other elements that are named in the XAML will be attached to their names to the root object automatically.
<syntaxhighlight lang=apl inline>FixSimpleXaml</syntaxhighlight> is a function used to execute the XAML and return the root element as a .Net object.  All the other elements that are named in the XAML will be attached to their names to the root object automatically.
Line 497: Line 497:
}}
}}


The User Command [[wpfXamlEditor||]] is designed to edit the XAML saved in the workspace and on disk.
The User Command [https://old.aplwiki.com/wpfXamlEditor wpfXamlEditor] is designed to edit the XAML saved in the workspace and on disk.


=== Inserting WPF Controls into Traditional Dyalog Windows ===
=== Inserting WPF Controls into Traditional Dyalog Windows ===
Line 633: Line 633:
=== How to install wpfXamlDemo in your workspace ===
=== How to install wpfXamlDemo in your workspace ===


# Download [[attachment:wpfXamlDemo.v1.6.txt]]
# Download [https://old.aplwiki.com/wpfXamlDemo?action=AttachFile&do=view&target=wpfXamlDemo.v1.6.txt wpfXamlDemo.v1.6.txt]
# Do a Select all (Ctrl+A) and a copy (Ctrl+C).
# Do a Select all (Ctrl+A) and a copy (Ctrl+C).
# In your workspace execute <syntaxhighlight lang=apl inline>)ed ⍟ wpfXamlDemo </syntaxhighlight>
# In your workspace execute <syntaxhighlight lang=apl inline>)ed ⍟ wpfXamlDemo </syntaxhighlight>

Navigation menu