Beispiel #1
0
        private static void OnPreview3UrlChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            InfoListItemUC infoListItemUc = (InfoListItemUC)d;

            // ISSUE: explicit reference operation
            InfoListItemUC.UpdatePreviewUrl((UIElement)infoListItemUc.gridPreview3, infoListItemUc.imagePreview3, e.NewValue as string);
        }
Beispiel #2
0
        private static void OnPreview2UrlChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            InfoListItemUC infoListItemUc = (InfoListItemUC)d;

            InfoListItemUC.UpdatePreviewUrl((UIElement)infoListItemUc.gridPreview2, infoListItemUc.imagePreview2, e.NewValue as string);
        }