private void RenderBeginWithDataBindAttribute(IHtmlWriter writer) { // if the DataContext is set, render the "with" binding if (HasBinding(DataContextProperty)) { writer.WriteKnockoutWithComment(GetValueBinding(DataContextProperty).GetKnockoutBindingExpression(Parent)); } }