protected override void InitBindings()
        {
            ForumNewTopicPageEditor.Text = ViewModel.Message;
            if (!string.IsNullOrEmpty(ViewModel.Message))
            {
                ViewModel.PreviewCommand.Execute(null);
            }

            ForumNewTopicPageEditor.TextChanged += ForumNewTopicPageEditorOnTextChanged;

            Bindings.Add(
                this.SetBinding(() => ViewModel.Header,
                                () => ForumNewTopicPageTitle.Text));

            Bindings.Add(
                this.SetBinding(() => ViewModel.Title,
                                () => ForumNewTopicPageTitleTextBox.Text, BindingMode.TwoWay));

            Bindings.Add(this.SetBinding(() => ViewModel.IsSendButtonEnabled).WhenSourceChanges(() =>
            {
                ForumNewTopicPageAcceptButton.Enabled = ViewModel.IsSendButtonEnabled;
            }));

            ForumNewTopicPagePreview.SetBackgroundColor(new Color(ResourceExtension.BrushAnimeItemBackground));

            ForumNewTopicPageAcceptButton.SetOnClickListener(new OnClickListener(view =>
            {
                if (ViewModel.IsSendButtonEnabled)
                {
                    ViewModel.CreateTopicCommand.Execute(null);
                }
            }));
        }
 private void ViewModelOnUpdatePreview(object sender, string s)
 {
     ForumNewTopicPagePreview
     .LoadDataWithBaseURL(null, ResourceLocator.CssManager.WrapWithCss(s.Replace("\n", "<br>")),
                          "text/html; charset=utf-8", "UTF-8", null);
 }