public function setShowCalendar($value) { $this->setViewState('ShowCalendar', TPropertyValue::ensureBoolean($value), true); }