I added xmlns:userControls="clr-namespace:ESRI.ArcGIS.SilverlightMapApp"I then added the code in the MainPage.xamlI then created two folders â??Themesâ?� and â??UserControlsâ?�In Themes I added a new item â??Silverlight Resource Dictionaryâ?� and added the code, Changing Showcase with my project name<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/gislis2010_live;component/UserControls/DropDownMenu.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
I then created a new Silverlight User Control and called it DropDownMenu, pasting the xaml code from the example into my project.I then converted the CS code and pasted that into the DropDownMenu.xaml.vb file Here is the part with the NamespaceImports System.Windows
Imports System.Windows.Controls
Imports System.Windows.Input
Imports System.Windows.Markup
Imports System.Windows.Media
Namespace ESRI.ArcGIS.SilverlightMapApp
''' <summary>
''' Resizable and draggable custom window control
''' </summary>
Public Class DropDownMenu
Inherits ContentControl
''' <summary>
AS SOON AS I ADD THE CODE from the xaml.cs page I get errors telling me that: Type ESRI.ArcGIS.Client.Symbols.SimpleFillSymbol is not defined Type ESRI.ArcGIS.Client.Map is not defined Type ESRI.ArcGIS.Client.ToolKit.FeatureDataGrid is not defined Type ESRI.ArcGIS.Client.Toolkit.MapTip is not definedAlso on the MainPage.xaml page I get the blue squiggly lines on this: xmlns:userControls="clr-namespace:ESRI.ArcGIS.SilverlightMapApp" with the error: Undefined CLR Namespace. The clr-namespace URI refers to a namespace â??ESRI.ArcGIS.SilverlightMapAppâ?? that is not included in the assembly.I just cant figure out how to get it all read properlyâ?¦There has to be something that I am missingâ?¦Why is the code in the xaml.vb file creating the errors above...why are they now undefined?