SIPSorcery.AssetListMenuBar.EnableRefresh C# (CSharp) Method

EnableRefresh() public method

Used to enable or disable the Refresh button on the menu bar.
public EnableRefresh ( bool isEnabled ) : void
isEnabled bool True to enable the button so it appears on the menu bar, false to disable it.
return void
        public void EnableRefresh(bool isEnabled)
        {
            if (isEnabled)
            {
                UIHelper.SetVisibility(m_refreshButton, Visibility.Visible);
            }
            else
            {
                UIHelper.SetVisibility(m_refreshButton, Visibility.Collapsed);
            }
        }