I am looking at a silverlight app from ESRI website.The ShowCase example here:http://help.arcgis.com/en/webapi/silverlight/samples/TemplateGalleryWeb/start.htmWhen I open in VB I see there there are a few folders added in the Solution Explorer. (Actions, Images, Themes, User Controls)I then am looking at the code to create the button in the menu bar of the app...It seems that it is referencing the Folder "User Controls" and the xaml file "DropDownMenu" in that folder.My question is how to I recreate this .... I Created a new folder and added a new Item (xaml file)I copied the code from the Example into the xaml file and converted the cs to vb adn added in the xaml.vb file.In the code below I then get these 2 errors:Error:1. The type 'userControls:DropDownMenu' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built.2. UserControls is undeclared in prefix. Line 204, position 18Thats the code in red below. HOW DO I DECLARE THIS AND POINT TO THE XAML FILE IN THE FOLDER? AND CLEAR THE ERRORS?Is there something that I am missign to reference the new folder and xaml/vb files????Any thoughts?I would like to figure out how to use these folders and files contained within but cant figure out how to reference them.If I can do this in my MainPage.xaml and accompannied vb file that great....any ideas how?
<!--Menu bar-->
<Grid Grid.Row="1" x:Name="TopMenuGrid" Background="{StaticResource BaseColor}">
<Rectangle x:Name="BackgroundGradient" Opacity=".5" Fill="{StaticResource ReflectionGradient}" />
<StackPanel HorizontalAlignment="Left" VerticalAlignment="Center" Orientation="Horizontal">
<!-- Base layers -->
<userControls:DropDownMenu>
<userControls:DropDownMenu.MenuHeader>
<Button Margin="5,0,0,0" Cursor="Arrow">
<Button.Content>
<StackPanel Orientation="Horizontal">
<TextBlock Text="{StaticResource MapStyleMenuTitle}" Foreground="White" FontWeight="Bold" />
<Image Source="Images/Layers-32.png" Height="22" Margin="2,-3,-3,-3" />
</StackPanel>
</Button.Content>
</Button>