Hi guys,
I was wondering if you could provide some insight into the Wisej markup language listed in the features of the upcoming version 4.
Best,
Alex
It is similar to .NET MAUI Markup, but for Wisej.
See https://learn.microsoft.com/en-us/dotnet/communitytoolkit/maui/markup/markup
Basically, properties become methods. It allows you to write the same amount of code, but type less.
For example, this Wisej Markup code would create a Page with a SplitContainer containing a Panel with a TreeView.
public Page1()
{
InitializeComponent();
this.Text("Main Window")
.MinimumSize(800, 600)
.Controls(
new SplitContainer()
.Dock(DockStyle.Fill)
.Panel1(
new TreeView()
.Dock(DockStyle.Fill)
.Nodes(
new TreeNode("Node 1")
.Nodes(
new TreeNode("Node 1.1"),
new TreeNode("Node 1.2")
)
)
)
)
.Show();
}
-Julie
Please login first to submit.