private static void OnContentTextChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            DateTimeCustomPickerUC timeCustomPickerUc = d as DateTimeCustomPickerUC;

            if (timeCustomPickerUc == null)
            {
                return;
            }
            // ISSUE: explicit reference operation
            string newValue = e.NewValue as string;

            if (string.IsNullOrEmpty(newValue))
            {
                return;
            }
            ((ContentControl)timeCustomPickerUc.buttonContent).Content = newValue;
        }
        private static void OnTitleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            DateTimeCustomPickerUC timeCustomPickerUc = d as DateTimeCustomPickerUC;

            if (timeCustomPickerUc == null)
            {
                return;
            }
            // ISSUE: explicit reference operation
            string newValue = e.NewValue as string;

            if (string.IsNullOrEmpty(newValue))
            {
                return;
            }
            timeCustomPickerUc.textBlockTitle.Text = newValue;
        }