Ooui-tws-port/Ooui/TextNode.cs

23 lines
374 B
C#

using System;
namespace Ooui
{
public class TextNode : Node
{
string text = "";
public override string Text {
get => text;
set => SetProperty (ref text, value ?? "", "data");
}
public TextNode ()
{
}
public TextNode (string text)
{
Text = text;
}
}
}