Powershell Pass by Reference and WPF Controls

function Disable-ComboBox ([ref][System.Windows.Forms.ComboBox]$comboBox)
{
$comboBox.Value.IsEnabled = $false
}
function Enable-Button ([ref][System.Windows.Forms.Button]$button)
{
$button.Value.IsEnabled = $True
}

Disable-ComboBox($myCombobox)