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

learn more… | top users | synonyms

5
votes
1answer
279 views

Converting Between Similar Classes in ArcObjects and WPF Runtime Libraries (C#)?

There seems to be an "impedance mismatch" (if I can borrow the term) between similar classes in ArcObjects and the WPF runtime libraries. For example, there is a ESRI.ArcGIS.Client.Geometry.Polyline ...
7
votes
1answer
1k views

How do you draw a polygon (programmatically) on an ESRI map? [WPF]

I would like to programmatically draw a polygon on an ESRI map. I'm using this code to draw a polygon with the mouse but I'm really new to this technology and I'm a little bit lost ... Here is my ...
5
votes
3answers
2k views

How to add pins (graphics) to ArcGIS map in wpf?

I have a wpf app with an ArcGIS map, I used the extent property to zoom and pan to Canada (the location I want) and added the pins (images) by adding a graphics layer, see code below. currently I'm ...
2
votes
0answers
260 views

How can I free esriControls.ControlsSelectTool? Or is it leaking memory?

In my application I have isues with unfreed memory. After several tries I broke down the problem to a simplified WPF project. It opens a simple System.Windows.Window with a Button, which starts the ...
5
votes
1answer
2k views

How to make a WPF Window be a well-behaved child window of ArcMap?

I am pretty familiar with Windows Forms in ArcGIS but WPF, which I'm just starting to tinker with, seems to be a different animal. I've created an ArcMap add-in with a button that displays a Window ...
0
votes
1answer
632 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 ...
2
votes
0answers
553 views

Implementing custom IRenderer for ArcGis 10.0/WPF

EDIT: Updates in the bottom As a followup to my earlier question, I'm trying to implement custom symbol rendering for my WPF/ArcGIS application. I'm accessing layers that have been published on the ...
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
1answer
294 views

Set size of map in PageLayoutControl to print ScaleBar underneath, not within map

For printing we have a PageLayoutControl where the user can select the map extent, he wants to print. I like the map to fill only a square in the middle of the page so that the title, the ScaleBar and ...
4
votes
1answer
2k views

Feature Layer Attribute table to Datatable and make it editable

Hi Currently i'm using this to turn it into a data table featureCursor = layer.FeatureClass.Search(que, false); row = featureCursor.NextFeature(); if (row != ...
1
vote
0answers
312 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 ...
2
votes
1answer
460 views

ArcSDE 10 FeatureLayer is read only, FeatureTypes property is null, not sure why

I have a WPF FeatureLayer backed by an ArcSDE feature class that I hope to use for editing. After the layer is done initializing its readOnly property is true, I think that this points to some problem ...
2
votes
1answer
497 views

Drag and Drop with Arcengine MapControl within WindowsFormsHost in WPF

I have an application that requires dragging and dropping onto Arcengine's Mapcontrol in a Windowsformhost. I have set the Allowdrop property on both the host and the control itself and it still does ...
2
votes
1answer
694 views

ArcGis Engine, select object(s) by mouse

I've got a standalone program using ArcGis Engine, showing a map on the screen like this: AxMapControl _mapControl; AxToolbarControl _toolbarControl; // in constructor: _mapControl = new ...
3
votes
2answers
2k views

ArcGis Engine, how to zoom&pan to selected objects?

I'm writing a program using ArcGis Engine, and need to zoom&pan into the map to show the selected content. Loading and displaying the map does work using something like this: AxMapControl ...
3
votes
1answer
542 views

Is it possible to figure out which “Path”(PointCollection) is clicked on within a PolyLine?

I am using ArcGIS WPF's Polyline to plot several lines (PointCollections). Adding a Path(PointCollection) looks something like this. PointCollection collection = new PointCollection(); PolyLine ...
4
votes
1answer
849 views

Is there a TOC control available for Esri's Silverlight/WPF SDK?

I've got a requirement calling for a TOC control on a Silverlight/WPF application. Does anyone know of a TOC control (analogous to the TOCControl in ArcEngine) that I can hook into Esri's Map ...
5
votes
1answer
277 views

Can GeoProcessor use credentials?

I've set up a web service that uses ESRI's REST API spec. This allows me to make requests using the (Silverlight)/WPF SDK. If I turn on windows authentication though, I get a 401 error when using ...
3
votes
1answer
610 views

Where is ESRI.ArcGIS.Client.Tasks.Utils.JSON documentation?

I'm using the WPF assemblies from the freely downloadable ESRI WPF/Silverlight 2.0 SDK. As I type in a "using" statement in visual studio, I can use intellisense to expand out into: using ...