Inheritance: Windows.UI.Xaml.Controls.ItemsControl, INotifyPropertyChanged
Exemplo n.º 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;
			}
Exemplo n.º 3
0
 public ClickArcGISPortalItemCommand(BasemapPicker owner)
 {
     m_owner = owner;
 }