Guest User

Untitled

a guest
Jul 16th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. <ComboBox x:Name="cbo1"
  2. IsEnabled="{Binding cbo1_IsEnabled}"
  3. HorizontalAlignment="Left"
  4. Margin="303,136,0,0"
  5. VerticalAlignment="Top"
  6. Width="120"/>
  7.  
  8. public static bool cbo1_IsEnabled = true;
  9.  
  10. public static void ControlsEnable()
  11. {
  12. // Disable
  13. ViewModel.cbo1_IsEnabled = false;
  14. }
Add Comment
Please, Sign In to add comment