2017-06-14 04:17:50 +00:00
|
|
|
using System;
|
|
|
|
|
|
|
|
namespace Ooui
|
|
|
|
{
|
|
|
|
public class TextNode : Node
|
|
|
|
{
|
|
|
|
string text = "";
|
|
|
|
public override string Text {
|
|
|
|
get => text;
|
|
|
|
set => SetProperty (ref text, value ?? "", "data");
|
|
|
|
}
|
|
|
|
|
|
|
|
public TextNode ()
|
2017-06-14 23:48:42 +00:00
|
|
|
{
|
2017-06-14 04:17:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public TextNode (string text)
|
|
|
|
{
|
|
|
|
Text = text;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|