Example #1
0
        /// <summary>
        /// Updates the linked refresh button.
        /// </summary>
        /// <param name="dependencyObject">The LiveSearchListBox.</param>
        /// <param name="eventArgs">The Dependency Property Changed Event Args.</param>
        private static void RefreshButtonName_Changed(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs eventArgs)
        {
            SyndicationFeedListBox syndicationFeedItemsControl = (SyndicationFeedListBox)dependencyObject;

            syndicationFeedItemsControl.UpdateRefreshButton();
        }
Example #2
0
        /// <summary>
        /// Refreshes the feed on a property change.
        /// </summary>
        /// <param name="dependencyObject">The syndication feed items control.</param>
        /// <param name="eventArgs">Dependency Property Changed Event Args.</param>
        private static void FeedUri_Changed(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs eventArgs)
        {
            SyndicationFeedListBox syndicationFeedItemsControl = (SyndicationFeedListBox)dependencyObject;

            syndicationFeedItemsControl.Refresh();
        }