Error 1 The tag 'ToggleLayerAction' does not exist in XML namespace 'http://schemas.esri.com/arcgis/client/2009'. Error 4 A value of type 'ToggleLayerAction' cannot be added to a collection or dictionary of type 'TriggerActionCollection'.
<UserControl xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit" x:Class="RTLA_Silverlight.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:esri="http://schemas.esri.com/arcgis/client/2009" xmlns:esriExtensibility="http://schemas.esri.com/arcgis/client/extensibility/2010" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="600" xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" xmlns:ei="clr-namespace:Microsoft.Expression.Interactivity.Core;assembly=Microsoft.Expression.Interactions" xmlns:userControls="clr-namespace:ESRI.ArcGIS.SilverlightMapApp" xmlns:actions="clr-namespace:ESRI.ArcGIS.SilverlightMapApp.Actions" > <CheckBox Content="Landsat5 TM" ToolTipService.ToolTip="Landsat5TM" ClickMode="Press" > <i:Interaction.Triggers> <i:EventTrigger EventName="Click"> <esri:ToggleLayerAction LayerID="Landsat5TM" TargetName="Map"/> </i:EventTrigger> </i:Interaction.Triggers> </CheckBox>
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.