UIElement[] CreateUIElements(ISimpleAppOptionCheckBox option)
            {
                var cb = new CheckBox {
                    Content      = option.Text,
                    IsThreeState = option.IsThreeState,
                    IsChecked    = option.Value,
                    ToolTip      = option.ToolTip,
                };

                cb.Unchecked     += (s, e) => option.Value = cb.IsChecked;
                cb.Checked       += (s, e) => option.Value = cb.IsChecked;
                cb.Indeterminate += (s, e) => option.Value = cb.IsChecked;
                return(new UIElement[] { cb });
            }
 UIElement[] CreateUIElements(ISimpleAppOptionCheckBox option)
 {
     var cb = new CheckBox {
         Content = option.Text,
         IsThreeState = option.IsThreeState,
         IsChecked = option.Value,
         ToolTip = option.ToolTip,
     };
     cb.Unchecked += (s, e) => option.Value = cb.IsChecked;
     cb.Checked += (s, e) => option.Value = cb.IsChecked;
     cb.Indeterminate += (s, e) => option.Value = cb.IsChecked;
     return new UIElement[] { cb };
 }