DocumentContainer


Display a Window containing a DocumentContainer (within which there is a single Button)



XAML


∇  xaml←DocumentContainerXAML
⍝ XAML for the DocumentContainer example
 xaml←⊂'<Window'
 xaml,←⊂'    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"'
 xaml,←⊂'    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"'
 xaml,←⊂'    xmlns:sftools="clr-namespace:Syncfusion.Windows.Tools.Controls;assembly=SyncFusion.Tools.WPF"'
 xaml,←⊂'    SizeToContent="WidthandHeight" >'
 xaml,←⊂'    <sftools:DocumentContainer>'
 xaml,←⊂'        <Button Content="Howdy"/>'
 xaml,←⊂'    </sftools:DocumentContainer>'
 xaml,←⊂'</Window>'


Code


∇  DocumentContainer;⎕IO;⎕ML;xaml
⍝ Simple DocumentContainer example
 ⎕IO ⎕ML←0 3
 xaml←DocumentContainerXAML
 window←#.UTIL.WPF.LoadXaml xaml(⊂'SyncTools')
 window.Show


The 'SyncTools' argument to #.UTIL.LoadXAML has the effect of adding

'SyncFusion.Windows.Tools.Controls,Syncfusion/4.5/Syncfusion.Tools.WPF.dll

 to the ⎕USING list of LoadXAML

Operation


       #.DocumentContainer.DocumentContainer

Unresolved Issues