Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ComboBox x:Name="cbo1"
- IsEnabled="{Binding cbo1_IsEnabled}"
- HorizontalAlignment="Left"
- Margin="303,136,0,0"
- VerticalAlignment="Top"
- Width="120"/>
- public static bool cbo1_IsEnabled = true;
- public static void ControlsEnable()
- {
- // Disable
- ViewModel.cbo1_IsEnabled = false;
- }
Add Comment
Please, Sign In to add comment