Skip to main content

Microsoft Silverlight

Answered Question AG_E_PARSER_BAD_PROPERTY_VALUE [Line: 137 Position: 192]RSS Feed

(0)

Joeri Pansaerts
Joeri Pa...

Member

Member

7 points

24 Posts

AG_E_PARSER_BAD_PROPERTY_VALUE [Line: 137 Position: 192]

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

 

Kind Regards,

Joeri Pansaerts.

From Bruges, Belgium :)

ken tucker
ken tucker

All-Star

All-Star

16276 points

2,479 Posts

Re: AG_E_PARSER_BAD_PROPERTY_VALUE [Line: 137 Position: 192]

 If you change

private void slVolume_ValueChanged
 
to
public void slVolume_ValueChanged 
does it help? 

duefectu
duefectu

Participant

Participant

788 points

241 Posts

Answered Question

Re: Re: AG_E_PARSER_BAD_PROPERTY_VALUE [Line: 137 Position: 192]

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.

 

Un saludo!
Juan Segura

Plase, "Mark as Answer..." if it solve the problem!

Joeri Pansaerts
Joeri Pa...

Member

Member

7 points

24 Posts

Re: Re: AG_E_PARSER_BAD_PROPERTY_VALUE [Line: 137 Position: 192]

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 ...

Kind Regards,

Joeri Pansaerts.

From Bruges, Belgium :)
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities