diff --git a/butterflow-ui/App.xaml b/butterflow-ui/App.xaml index 94062ab..97d5d62 100644 --- a/butterflow-ui/App.xaml +++ b/butterflow-ui/App.xaml @@ -4,6 +4,10 @@ xmlns:local="clr-namespace:butterflow_ui" StartupUri="MainWindow.xaml"> - + + + + + diff --git a/butterflow-ui/ButterflowOption.cs b/butterflow-ui/ButterflowOption.cs new file mode 100644 index 0000000..ca9109b --- /dev/null +++ b/butterflow-ui/ButterflowOption.cs @@ -0,0 +1,30 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; + +namespace butterflow_ui +{ + public class ButterflowOption : ContentControl + { + #region Properties + + public string LabelValue { get; set; } + + #endregion + + #region Dependency Properties + + public static DependencyProperty LabelValueProperty = DependencyProperty.Register("LabelValue", typeof(string), typeof(ButterflowOption)); + + #endregion + + public ButterflowOption() + { + // + } + } +} diff --git a/butterflow-ui/ButterflowOption.xaml b/butterflow-ui/ButterflowOption.xaml deleted file mode 100644 index 0708388..0000000 --- a/butterflow-ui/ButterflowOption.xaml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/butterflow-ui/ButterflowOption.xaml.cs b/butterflow-ui/ButterflowOption.xaml.cs deleted file mode 100644 index 8d90c10..0000000 --- a/butterflow-ui/ButterflowOption.xaml.cs +++ /dev/null @@ -1,50 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.Windows.Navigation; -using System.Windows.Shapes; - -namespace butterflow_ui -{ - /// - /// Interaction logic for ButterflowOption.xaml - /// - public partial class ButterflowOption : UserControl - { - #region Properties - - public string LabelValue - { - get - { - return (string)GetValue(LabelValueProperty); - } - set - { - SetValue(LabelValueProperty, value); - } - } - - #endregion - - #region Dependency Properties - - public static DependencyProperty LabelValueProperty = DependencyProperty.Register("LabelProperty", typeof(string), typeof(ButterflowOption)); - - #endregion - - public ButterflowOption() - { - InitializeComponent(); - } - } -} diff --git a/butterflow-ui/Controls.xaml b/butterflow-ui/Controls.xaml new file mode 100644 index 0000000..27ac339 --- /dev/null +++ b/butterflow-ui/Controls.xaml @@ -0,0 +1,22 @@ + + +