diff --git a/butterflow-ui/App.xaml b/butterflow-ui/App.xaml index 97d5d62..6b0f03f 100644 --- a/butterflow-ui/App.xaml +++ b/butterflow-ui/App.xaml @@ -7,6 +7,7 @@ + diff --git a/butterflow-ui/ButterflowOption.cs b/butterflow-ui/ButterflowOption.cs index 9f17366..0025f6b 100644 --- a/butterflow-ui/ButterflowOption.cs +++ b/butterflow-ui/ButterflowOption.cs @@ -12,29 +12,26 @@ namespace butterflow_ui { #region Properties + /// Gets or sets the label value. + /// The label value. public string LabelValue { get; set; } + /// Gets or sets the description value. + /// The description value. public string DescriptionValue { get; set; } - public Visibility ToolTipVisibility - { - get - { - //return string.IsNullOrWhiteSpace(this.DescriptionValue) ? Visibility.Hidden : Visibility.Visible; - return Visibility.Hidden; - } - } - #endregion #region Dependency Properties + /// The label value property. public static DependencyProperty LabelValueProperty = DependencyProperty.Register("LabelValue", typeof(string), typeof(ButterflowOption)); + /// The description value property. public static DependencyProperty DescriptionValueProperty = DependencyProperty.Register("DescriptionValue", typeof(string), typeof(ButterflowOption)); - public static DependencyProperty ToolTipVisibilityProperty = DependencyProperty.Register("ToolTipVisibility", typeof(Visibility), typeof(ButterflowOption)); #endregion + /// Default constructor. public ButterflowOption() { // diff --git a/butterflow-ui/Controls.xaml b/butterflow-ui/Controls.xaml index 7cb9e80..0372c63 100644 --- a/butterflow-ui/Controls.xaml +++ b/butterflow-ui/Controls.xaml @@ -13,16 +13,11 @@