0

I have used a scroll viewer in my WP App C# and some image viewers. For setting my scroll viewer height i want to use a dynamic code. so in class i have code :

private void load(object sender, RoutedEventArgs e)
{
    int a ;
    a=60;
    Scr.Height=
}

i want something that can count my imageviewers that are recognized in Xml for example i have 10 image viewers and their height is 60. i want something like this :

private void load(object sender, RoutedEventArgs e)
{
    int a;
    a=60;
    Scr.Height=10*a
}

Thanks

Domysee
  • 12,718
  • 10
  • 53
  • 84
Amir Jobs
  • 11
  • 5

0 Answers0