Skip to main content
Home Forums Silverlight Design Video and Media AG_E_PARSER_BAD_PROPERTY_VALUE [Line: 137 Position: 192]
3 replies. Latest Post by Joeri Pansaerts on June 22, 2009.
(0)
Joeri Pa...
Member
7 points
24 Posts
06-22-2009 1:29 PM |
What do I wrong ?
<Slider Margin="8,258.207,0,286.793" Orientation="Vertical" Width="20" HorizontalAlignment="Left" x:Name="slVolume" ValueChanged="slVolume_ValueChanged" Maximum="1" LargeChange="0.1" Value="1"/>
private void slVolume_ValueChanged(object sender, RoutedPropertyChangedEventArgs<double> e) { mePresentation.Volume = e.NewValue; }
I get the error AG_E_PARSER_BAD_PROPERTY_VALUE [Line: 137 Position: 192] on page.g.cs
ken tucker
All-Star
16276 points
2,479 Posts
06-22-2009 2:09 PM |
If you change
private void slVolume_ValueChanged
to
public void slVolume_ValueChanged
does it help?
duefectu
Participant
788 points
241 Posts
06-22-2009 2:41 PM |
I found the problem when the control is drawing out of the control area.
Try to remove the margin or ajust for locate it inside the parent control.
06-22-2009 11:36 PM |
No this problems occures when I set the value of the slider to, for example, "0,5" . When I set nothing, I don't get the error ...