Select to view content in your preferred language

Questions regarding ESRI applications

777
2
05-06-2011 04:29 AM
PaulHuppé
Deactivated User
Hi,

When you create a new ESRI Standard or Showcase Map Application, you get a folder in your solution called "Themes", in which there is a file called "generic.xaml".  This file loads resource dictionaries.  What I would like to know, is how is this file used/called because there is no reference to it anywhere I can find?

Also, these applications use a namespace as follows:

 
xmlns:userControls="clr-namespace:ESRI.ArcGIS.SilverlightMapApp"


How can I had this namespace to my application which I did not create from the 2 templates mentioned above?  When I try to add a namespace, it does not show up as a choice.

Thanks,
Paul
0 Kudos
2 Replies
DominiqueBroux
Esri Frequent Contributor
The default templates of the custom controls have to be defined in the Themes/generic.xaml file.

This file is automatically used by Silverlight, you don't have to reference it in your project.
0 Kudos
PaulHuppé
Deactivated User
Hi,

Thanks for the clarifications. I give this a try.

Paul
0 Kudos