Type='Required'; $this->IsRequiredWhenTrue=true; } }