Wisej markup language

0
0

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

  • You must to post comments
0
0

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

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.