Hello,
Marc Clifton (a C# hacker from Rhode Island) has
kicked off a new open-source BSD-licensed project over
at tigris.org titled MyXAML chartered to create a
XAML-style markup language and toolbox that lets you
build UIs for today's .Net using XML.
Marc writes:
Interested in participating in the development of
this technology? Join the open-source project @
myxaml.tigris.org This project is NOT intended to
emulate Longhorn's markup language (code named XAML)
nor the MSAvalon namespace. Rather, MyXAML supports
namespaces without using a DOM backbone, instead using
the property setters defined in the namespace classes
directly.
Marc is not all talk but has already a prototype up
and running and ready for download.
If you wonder what MyXAML looks like in action. Here
are two samples from the Code Project article titled
"MyXAML - XAML-style GUI Generator":
Defining A Menu Structure
-------------------------
<Menu>
<MenuItems>
<MenuItem Text='&File' Popup='OnPopup'>
<MenuItems>
<MenuItem Text='New'/>
<MenuItem Text='-'/>
<MenuItem Text='E&xit' Click='ExitApp'/>
</MenuItems>
</MenuItem>
<MenuItem Text='&Edit'/>
<MenuItem Text='&View'/>
</MenuItems>
</Menu>
Controls, Controls, Controls
----------------------------
<Controls>
<Button Location='225, 100' Size='80, 25'
Visible='true' BackColor='Control'
Click='OnMyEvent'>Click Event!</Button>
<Label Location='225, 50' Size='120, 40'
Visible='true'
Font='French Script MT, 22pt, style=Bold'>Font
Test!</Label>
<Label Location='10, 12' Size='50, 15'
Visible='true'>Edit 1:</Label>
<Label Location='10, 37' Size='50, 15'
Visible='true'>Edit 2:</Label>
<TextBox Location='60, 10' Size='100, 20'
Visible='true'/>
<TextBox Location='60, 35' Size='100, 20'
Visible='true' Enabled='false'>
Disabled</TextBox>
<Panel BorderStyle='Fixed3D' Top='95' Left='20'
Size='200, 178'
Visible='true' BackgroundImage='jojo.jpg'
Anchor='Bottom, Left'/>
<GroupBox Location='225, 130' Size='120, 60'
Visible='true'
Text='First Group Box' Font='MS Sans Serif, 8pt,
style=Bold'>
<Controls>
<RadioButton Location='10, 15' Size='70, 15'
Visible='true'
Font='MS Sans Serif, 8pt'
Load='InitialRadioButtonState'>
Like</RadioButton>
<RadioButton Location='10, 30' Size='70, 15'
Visible='true'
Font='MS Sans Serif, 8pt'>Don't
Like</RadioButton>
</Controls>
</GroupBox>
...
Full story @ http://www.myxaml.com
and http://myxaml.tigris.org
and
http://www.codeproject.com/cs/miscctrl/xmlGuiGenerator.asp
- Gerald
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
xul-announce mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xul-announce