public override void VisitPropertyControl(ResolvedPropertyControl propertyControl) { var control = propertyControl.Control; var parentName = controlName; controlName = CreateControl(control); // compile control content base.VisitControl(control); emitter.EmitSetProperty(controlName, nameof(DotvvmControl.Parent), SyntaxFactory.IdentifierName(parentName)); // set the property SetProperty(parentName, propertyControl.Property, SyntaxFactory.IdentifierName(controlName)); controlName = parentName; }
public virtual void VisitPropertyControl(ResolvedPropertyControl propertyControl) { DefaultVisit(propertyControl); }