public void Populate(SharedPaperComponent.PaperBoundUserInterfaceState state) { if (state.Mode == SharedPaperComponent.PaperAction.Write) { Input.Visible = true; } var msg = new FormattedMessage(); msg.AddMarkupPermissive(state.Text); _label.SetMessage(msg); }