private static void UpateText(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            NewsControl newsControl = (NewsControl)d;

            if (e.NewValue != null)
            {
                newsControl.Text.Text = e.NewValue.ToString();
            }
        }
        private static void UpateState(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            NewsControl newsControl = (NewsControl)d;

            if (((int)e.NewValue) == 0)
            {
                newsControl.Marked.Visibility    = Visibility.Hidden;
                newsControl.NotMarked.Visibility = Visibility.Visible;
            }
            else
            {
                newsControl.Marked.Visibility    = Visibility.Visible;
                newsControl.NotMarked.Visibility = Visibility.Hidden;
            }
        }
        private static void UpateDate(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            NewsControl newsControl = (NewsControl)d;

            newsControl.Date.Content = e.NewValue.ToString();
        }