private void Render() { if (_isUpdateMode) { AcceptButton.Content = "Update"; WebElementControl.SetWebElement(_clearedObject); } else { AcceptButton.Content = "Create"; } }
private void Render() { if (_isUpdateMode) { AcceptButton.Content = "Update"; WebElementControl.SetWebElement(_sourceObjectCleaned); AllowedTagsControl.SetTags(_sourceObjectCleaned.AllowedTags); } else { AcceptButton.Content = "Create"; } }