private void InitializeConditions(DisasterConditions disasterConditions) { ConditionsControl conditionsControl = new ConditionsControl(disasterConditions); ConditionsHolder.Children.Add(conditionsControl); }
public ConditionsControl(DisasterConditions conditions) { this.InitializeComponent(); this.DataContext = conditions; }