public ICommand CloneWaterbody { get; private set; }
this.CloneWaterbody = new DelegateCommand(CloneWaterbodyExecute, CloneWaterbodyCanExecute);
<Button x:Name="ButtonCloneWaterbody" DataContext="" Margin="4" Width="24" Height="24" Command="{Binding CloneWaterbody}" CommandParameter="{Binding CurrentFeature}" Click="ButtonCloneWaterbody_Click" ToolTipService.ToolTip="Clone 24K Hydro Feature"> <Button.Content> <Image Source="images/clonewaterbody.png" Stretch="None" /> </Button.Content> </Button>
//setup so we can interact with the map EditWidget.DrawObject.IsEnabled = true; EditWidget.DrawWidget = EditWidget.GetType(); EditWidget.DrawObject.DrawMode = DrawMode.Point; EditWidget.MapControl.Cursor = Cursors.Arrow;
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.