Commande passer le paramètre à la méthode dans ViewModel dans WPF?

Je suis en train de passer CommandParameter à la méthode dans mon ViewModel.
Comment faire cela?

private void Open(object sender)
{
    if (sender==this.objMainWindow.btnHistory)
    {
        objMainWindow.Container.Child = objHistory;
    }

    if (sender == this.objMainWindow.btnNew_Item)
    {
        objMainWindow.Container.Child = objNewItem;
    }

    if (sender == this.objMainWindow.btnSide_Effects)
    {
        objMainWindow.Container.Child = objSideEffect;
    }
}

C'est mon meyhod dans ViewModel que je veux passer CommandParameter. J'utilise CommandParameter pour le bouton.

OriginalL'auteur Mahsa | 2015-08-18