Hey there,
I feel a bit stupid asking that question..
Imagin that you have a TextBox and a Label. The text you put into a TextBox gets transformed into an UpperCase representation of that text.
class M
{
public readonly Cell<string> OutString;
public M(Cell<string> inString)
{
OutString = inString.Map(s => s.ToUpper());
}
}
So far so good.
Now I Add a clear button. that should clear the TextBox by setting the inString-Cell to string.Empty
How would you do that?