1

Closed

Button enable/disable is not working

description

Comment from my blog by Neil Irving
"I am having trouble disabling or setting visiability to collapsed on a applicationBarIconButton, I can set IsEnable and Visible in the Xaml or bind to a ViewModel item fine, the items never are disable or hidden though, how do you do this?"
 
"if you modiy your BindingAppBarTesterapplications main page to incluide this it does not work:
 
Xaml on Main Page:
 
IsEnabled="{Binding Enabled}"
 
View Model:
 
public bool Enabled
 
   {
 
       get { return false; }
 
   }
"
Closed Dec 23, 2011 at 2:09 PM by deepforest
Fixed

comments