Skip to content

Commit

Permalink
Merge pull request #118 from atc-net/feature/LabelControlsFormColumn-…
Browse files Browse the repository at this point in the history
…GetKeyValues-LabelToggleSwitch

feat: Support LabelToggleSwitch in LabelControlsFormColumn->GetKeyValues
  • Loading branch information
davidkallesen authored Mar 26, 2024
2 parents 3881f0e + 999484d commit 0274857
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Atc.Wpf.Controls/LabelControls/LabelControlsFormColumn.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ public Dictionary<string, object> GetKeyValues()
case LabelCheckBox labelCheckBox:
result.Add(control.GetFullIdentifier(), labelCheckBox.IsChecked);
break;
case LabelToggleSwitch labelToggleSwitch:
result.Add(control.GetFullIdentifier(), labelToggleSwitch.IsOn);
break;
case LabelComboBox labelComboBox:
result.Add(control.GetFullIdentifier(), labelComboBox.SelectedKey);
break;
Expand Down

0 comments on commit 0274857

Please sign in to comment.