|
POST
|
Hi Michael, I use the same Add-ins button to open or close dockpane. To close dockpane just call Hide();
... View more
11-05-2020
10:11 PM
|
0
|
0
|
1612
|
|
POST
|
Hi Than, Have you taken a look at Esri Content\ExcelDropHandler sample? It has method : private static async Task ModifyLayerSymbologyFromLyrFileAsync(FeatureLayer featureLayer, string layerFile) It applies lyrx to featurelayer, but it is possible to create layer from lyrx ant then update CIMDataConnection. If you still interested ask me and I will describe second process more detailed.
... View more
11-03-2020
04:34 AM
|
0
|
0
|
1210
|
|
POST
|
Hi Derek, Intellisense wrotes what elements of splitbutton can be button, gallery, or customcontrol. So your next level item must be customcontrol which acts as splitbutton. It would be nice if Esri would implemented possibility to add splitbutton to splitbutton. Maybe it is enough for Esri to expose existing their solution (you found) to public But you can search internet for free or commercial wpf splitbutton and add it inside your customcontrol.
... View more
10-30-2020
02:50 AM
|
0
|
0
|
6427
|
|
POST
|
Hi Derek, I thought that we can add spiltbutton to another splitbutton. But it impossible now. I have made test. So better solution would be customControl where inside you have wpf tree or bunch of expanders with styled lists of buttons. Then you can manage them on fly depending on your situation. This is more advanced way which requires more WPF knowledge. Custom control sample you can find: arcgis-pro-sdk-community-samples-master\Framework\RibbonControls It is not what you exactly need but you can find how to add custom control to ribbon and how it works with mvvm.
... View more
10-29-2020
12:26 AM
|
1
|
6
|
6427
|
|
POST
|
Hi Derek, If your structure is always the same you can define it in config.daml splitbuttons section. More info here: ProGuide Palettes and Split Buttons · Esri/arcgis-pro-sdk Wiki · GitHub
... View more
10-27-2020
11:53 PM
|
3
|
10
|
6427
|
|
POST
|
Hi Mody, You can disable all dockpane controls by binding root grid IsEnabled to to your view model property. Or you can put all your buttons to grid, stackpanel, toolbar, group or etc. and do the same as with all dockpane
... View more
10-12-2020
05:04 AM
|
0
|
0
|
1822
|
|
POST
|
Hi Alan, "CoreHost applications don't have access to any of the ArcGIS.Desktop libraries. Project belongs to ArcGIS.Desktop.Core." https://community.esri.com/thread/229393-arcgisdesktopcoregeoprocessing-in-standalone-arcgis-pro-sdk-app
... View more
10-08-2020
10:05 AM
|
0
|
1
|
3944
|
|
POST
|
Hi Alan, Have you read this: https://community.esri.com/thread/225771-corehost-licensing-queuedworkerrun-vs-queuedtaskrun "note: ArcGIS.Desktop.Framework.dll is not supported for use in CoreHost so QueuedTask's use in CoreHost is actually moot"
... View more
10-07-2020
10:28 PM
|
0
|
3
|
3944
|
|
POST
|
Hi Douglas, The same situation is with Euclidean distance geoprocessing tool. Look at this how I do in that case: https://community.esri.com/thread/245178-when-will-net-developers-get-api-reference-for-all-geoprocessing-functions
... View more
10-02-2020
12:08 AM
|
0
|
0
|
1289
|
|
POST
|
Hi Jack, It is possible to get your combobox in ArcGIS Pro way, but there is no samples with combobox. var comboBox = FrameworkApplication.GetPlugInWrapper("your_combox_id"); I have checked it returns wrapper with CommandType value ComboBox, but I don't what to do next. For example, cast to your combobox class or something like that. You can investigate that way.
... View more
08-20-2020
11:29 PM
|
2
|
0
|
1597
|
|
POST
|
Hi Jack, Take a look at: https://community.esri.com/thread/209438-combo-box-reload
... View more
08-20-2020
10:25 PM
|
2
|
3
|
1597
|
|
POST
|
Hi Sara, You can use ILayerGeneralProperties by casting from ILayer type object. More info here: https://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#ILayerGeneralProperties.htm
... View more
08-18-2020
10:37 PM
|
1
|
0
|
705
|
|
POST
|
Hi Matt, How to use windows forms controls in wpf application you can find here: https://www.wpf-tutorial.com/misc-controls/the-windowsformshost-control/. But you need to read Summary part of that web page.
... View more
08-18-2020
10:24 PM
|
1
|
1
|
1879
|
|
POST
|
Hi Daniel, Set background and foreground of DatePicker to esri colors: Background="{DynamicResource Esri_TextStyleDisabledBrush}" Foreground="{DynamicResource Esri_TextSelectionHighlightBrush}" I copied code from my progress dialog, but you can find right values here: http://esri.github.io/arcgis-pro-sdk/content/brushescolors/brushes.html
... View more
07-27-2020
12:44 AM
|
1
|
0
|
1970
|
|
POST
|
Hi Thomas, Geoprocessing function name is AddXY_management. You can run tool from geoprocessing dockpane, then go to history and Copy Python command. For example: arcpy.management.AddXY("PopulationPoints") Then change library and function names by places and add underscore between them.
... View more
07-27-2020
12:22 AM
|
0
|
0
|
1457
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 04-24-2026 08:33 AM | |
| 1 | 03-23-2026 11:44 AM | |
| 1 | 05-22-2024 11:48 PM | |
| 1 | 02-27-2026 10:33 AM | |
| 1 | 01-07-2026 10:44 AM |
| Online Status |
Offline
|
| Date Last Visited |
Thursday
|