private void MarkAllValid() { NameTextBox.ClearValue(Control.StyleProperty); LogoTextBox.ClearValue(Control.StyleProperty); StateComboBox.ClearValue(Control.StyleProperty); StadiumComboBox.ClearValue(Control.StyleProperty); }
private void ClearInputs() { MarkAllValid(); DebugIDLabel.ClearValue(Label.ContentProperty); NameTextBox.Clear(); LogoTextBox.Clear(); StateComboBox.ClearValue(ComboBox.SelectedValueProperty); StadiumComboBox.ClearValue(ComboBox.SelectedValueProperty); GoalkeeperSlider.ClearValue(Slider.ValueProperty); DefenseSlider.ClearValue(Slider.ValueProperty); MidfieldSlider.ClearValue(Slider.ValueProperty); ForwardSlider.ClearValue(Slider.ValueProperty); }