in my windows phone app, i have an application bar menu item named item_1 and radiobutton button_1 , i have put the IsEnabled property of the item_1 as false; and so when i check the button_1 the IsEnabled property of item_1 should be made true; for that i have written the following code in c#
public void button_1_checked(object sender,RoutedEventArgs e)
{
this.item_1.IsEnabled=true;
-----rest of the code----
}
but this is giving a NullReferenceException , what should i do to make the item_1 enabled?