Inheritance: Windows.UI.Xaml.Controls.ItemsControl, INotifyPropertyChanged
Example #1
0
        private static void OnArcGISPortalPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            BasemapPicker gallery  = (BasemapPicker)d;
            ArcGISPortal  oldValue = (ArcGISPortal)e.OldValue;

            if (oldValue != null)
            {
                gallery.ItemsSource = null;
            }
            ArcGISPortal newValue = (ArcGISPortal)e.NewValue;

            if (newValue != null)
            {
                if (newValue.ArcGISPortalInfo != null)
                {
                    gallery.RefreshBasemaps();
                }
            }
        }
			public ClickArcGISPortalItemCommand(BasemapPicker owner)
			{
				m_owner = owner;
			}
Example #3
0
 public ClickArcGISPortalItemCommand(BasemapPicker owner)
 {
     m_owner = owner;
 }