ArcGISWindowsPhoneSDK.EditingCodedValueDomains.FeatureTypeListBox_SelectionChanged C# (CSharp) 메소드

FeatureTypeListBox_SelectionChanged() 개인적인 메소드

private FeatureTypeListBox_SelectionChanged ( object sender, System e ) : void
sender object
e System
리턴 void
        private void FeatureTypeListBox_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e)
        {
            int index = FeatureTypeListBox.SelectedIndex;
            if (index > -1)
            {
                CVDTemplateItem selectedTemplate = FeatureTypeListBox.SelectedItem as CVDTemplateItem;
                if (editor.Add.CanExecute(selectedTemplate.ID))
                    editor.Add.Execute(selectedTemplate.ID);
                FeatureTypeChoicesPage.IsOpen = false;
            }
        }