Beispiel #1
0
 static IControl UneditablePlaceholder(IObservable <Optional <string> > uneditableElementMessage)
 {
     return(Layout.StackFromTop(
                Icons.CannotEditPlaceholder().WithPadding(bottom: new Points(20)),
                Label.Create(
                    text: uneditableElementMessage.Select(x => x.OrDefault()).AsText(),
                    font: Theme.DefaultFont,
                    color: Theme.DisabledText))
            .Center());
 }