we created a dockpane listing vector data from a postgresql database, which is working fine unless you want to use the option symbol layer drawing and then export the map. the data is correctly shown in arcgis pro, but the export is empty
the correspoding error message:
System.Windows.Data Error: 5 : Value produced by BindingExpression is not valid for target property. Boolean:'False' BindingExpression:Path=DisplayPosition; DataItem='ExportDockPaneVM' (HashCode=31098481); target element is 'TextBlock' (Name='pos'); target property is 'Visibility' (type 'Visibility')
my UserControl:
<UserControl.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<extensions:DesignOnlyResourceDictionary Source="pack://application:,,,/ArcGIS.Desktop.Framework;component\Themes\Default.xaml"/>
</ResourceDictionary.MergedDictionaries>
<BooleanToVisibilityConverter x:Key="BoolToVisibilityConverter"/>
</ResourceDictionary>
</UserControl.Resources>
I have absolutely no idea where the issue might be. chatgpt suggested somewhere in my UserControl, but I'm none the wiser. could anyone give me directions as where to look? thanks in advance!