ValueChanged event not fired

Sep 9, 2015 at 4:27 PM
SwitchButton.WindowsSwitchButton.ValueChanged += ValueChange;
    private void ValueChange(object sender, PropertyChangedEventArgs e)
    {
        if (windowsSwitchButton1.Activated == true)
            MessageBox.Show("on");
                else
            MessageBox.Show("off");
    }