Prado\Web\UI\WebControls\TWizard::applySideBarProperties PHP Method

applySideBarProperties() protected method

Applies properties to the wizard sidebar
protected applySideBarProperties ( )
    protected function applySideBarProperties()
    {
        $this->_sideBar->setVisible($this->getShowSideBar());
        if ($this->_sideBarDataList !== null && $this->getShowSideBar()) {
            $this->_sideBarDataList->setDataSource($this->getWizardSteps());
            $this->_sideBarDataList->setSelectedItemIndex($this->getActiveStepIndex());
            $this->_sideBarDataList->dataBind();
            if (($style = $this->getViewState('SideBarButtonStyle', null)) !== null) {
                foreach ($this->_sideBarDataList->getItems() as $item) {
                    if (($button = $item->findControl('SideBarButton')) !== null) {
                        $button->getStyle()->mergeWith($style);
                    }
                }
            }
        }
        if (($style = $this->getViewState('SideBarStyle', null)) !== null) {
            $this->_sideBar->getStyle()->mergeWith($style);
        }
    }
TWizard