Thanks that worked out great.....as I said I think my problem was the Private sub and its parameters...In my example I was unable to do this "Dim Value = e.NewValue"The only way I could get mine to work was like this....but that was only with my specific layers not the ESRI ArcGISTiledMapServiceLayer map services...
Dim value As Double = MySlider.Value
Dim l_Parcels As ArcGISDynamicMapServiceLayer = TryCast(Me.MyMap.Layers("MG_Parcels"), ArcGISDynamicMapServiceLayer)
Dim l_Parcels2 As ArcGISDynamicMapServiceLayer = TryCast(Me.MyMap.Layers("MG_Streets"), ArcGISDynamicMapServiceLayer)
l_Parcels.Opacity = value
l_Parcels2.Opacity = 1 - value Was trying this... Private Sub MultiLayerOpacityTurnOn1_Click(ByVal sender As Object, ByVal e As RoutedEventArgs)
Your example...I am confused on where and when to use RoutedPropertyChangedEventArgs or RoutedEventArgs...Maybe you can shed some light on that? Private Sub Slider_ValueChanged(ByVal sender As Object, ByVal e As RoutedPropertyChangedEventArgs(Of Double))
THANKS FOR YOUR HELP.....