KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I want that the SaveButton from my form to dissapear when the form is disabled. I do that this way: this.formStackPanel.IsEnabled = someValue; if(this.formStackPanel.IsEnabled) { this.saveButton.Visibility = Visibility.Visible; } else { this.saveButton.Visibility = Visibility.Collapsed; } Isn't there a way of binding those properties in the XAML? Is there a better way of doing that?
Tags (comma-separated)
Save Edits
Cancel