Windows Presentation Foundation (WPF) is a computer-software graphical subsystem for rendering user interfaces in Windows-based applications.

learn more… | top users | synonyms

1
vote
1answer
25 views

Why is this formatted string “n. def.”?

I'd like to show the user the current map scale. I update the current map scale in a textblock everytime the map size/scale has changed. This is my code, to show the map scale (in C#): private void ...
1
vote
1answer
140 views

How do I use actions from ArcGIS SDK for WPF in the latest version of WPF?

I understand how to use the Actions and Behaviors but there is a problem I'm not sure is solvable other than to downgrade the version of .net and WPF I'm using. I installed the latest ArcGIS SDK for ...
1
vote
1answer
262 views

Drag and Drop onto ArcGIS Runtime WPF Map

I'm looking for advice on implementing drag & drop onto the WPF map control. My goal is to drag from a list of items, and drop on the map to create a new graphic/feature at the drop location. The ...
1
vote
1answer
167 views

How to use ArcGIS for WPF custom symbol with data binding?

Esri's ArcGIS for WPF does not seem to have any real MVVM support or binding support; unless I'm mistaken. Anyway, I am creating a tracking application and it needs to track objects via GPS ...
1
vote
0answers
269 views

Drawing Curves/Bezier Lines with ESRI WPF Runtime

I'm looking for some pointers on how to draw a curved line or bezier line in WPF runtime. The WPF runtime sample application has a drawing mode for straight line, polyline, and freehand. However, no ...
1
vote
0answers
197 views

How to get hold of the Activated Event for the ArcMap window?

I am using ArcObjects 9.3 .NET. In my ArcMap dockable window, I have a single element host hosting a WPF user control (That's the only means of using WPF for ArcMap extensions as far as I know). ...
1
vote
0answers
66 views

IMapControlEvents2.OnKeyDown not hit on Alt + key

I want to catch the Alt key plus an addionally hit key in the MapControl's OnKeyDown. I did already set MapControl's KeyIntercept to esriKeyIntercept.esriKeyInterceptAlt but the event handler doesn't ...
1
vote
0answers
113 views

How to bind GraphicsLayer to RadGridView?

I'd like to bind an Esri WPF GraphicsLayer to Telerik's RadGridView control. Does anyone have any examples showing how to do this? Examples showing how to do it with Silverlight would also be ...
1
vote
0answers
313 views

Convert FeatureLayerClass to shape file error : Item not found in collection

so following this link http://edndoc.esri.com/arcobjects/9.2/NET/91e3e8a0-d355-43d2-a201-0a8ceb719334.htm I am able to convert my featureLayer into a shape file and export it. However, some how for ...
0
votes
1answer
44 views

How to set max map scale for a layer?

How can I set the maximum scale for a layer? Sometimes the layer is not visible (it disappear), when the map scale is >= 1:250000. I'd like to set it on max 1:125000. This code does not work: ...
0
votes
2answers
467 views

Using an InfoWindow with a Feature Layer and a DialogWindowBase

I need to have an infoWindow that displays the Outfields of a FeatureLayer. The infoWindow is popping up, but it is popping up no matter where you click on the map and it does not contain any of the ...
0
votes
0answers
30 views

Prompt ArcMap Add-in to save settings before closing ArcMap

I'm working on an ArcMap 10.2 add-in which runs as a C# WPF application. I've linked the add-in window as a child owned by the ArcMap window so it will close when ArcMap is closed (among other ...
0
votes
0answers
83 views

ArcGIS Runtime for WPF basemap disappears when zoomed in

I have a problem where the http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer basemap is disabled and the images are removed when you zoom in to a large scale. I've set ...
0
votes
0answers
46 views

Function of query.Like

I was wondering how ESRI's query.Text works. From what I read, it is basically the shorthand for the LIKE SQL statement, but it is not working. Maybe I am misunderstanding it's use? Any help is ...
0
votes
0answers
137 views

Display DEM in WPF application

In my application which is based on .net4/C#/wpf, I need to display a decent sized terrain file (eg. GeoTiff). It is an elevation file which should be viewed in 3D. The user should be able to draw ...
0
votes
0answers
214 views

Why does my feature layer crash on “query complete”?

In my WPF application I have an ArcGIS map with a set of various feature layers. When I execute the program on my local developer machine it works fine. Unfortunately, once it is deployed on a ...
0
votes
0answers
111 views

Scrollbars not visible in InfoWindow

I am having problems getting the scrollbars to show in my InfoWindow. Code is below. Any help would be appreciated. XAML: <DataTemplate x:Key="MyFeatureLayerInfoWindowTemplate"> ...
0
votes
2answers
515 views

Object does not exist in the namespace “http://schemas.esri.com/arcgis/client/2009”

I am trying to move all of my GIS code over the Visual Studio 2012. I have added the following references: C#: using ESRI.ArcGIS.Client; using ESRI.ArcGIS.Client.Geometry; using ...
0
votes
1answer
635 views

How to display scale on ArcGis-Engine map?

I embedded ArcEngine into a c#/wpf application and use it to display a map. Now for print my client needs to display the scale of the map like it is used on street maps (the small bar which shows how ...