locked
Image doesn't appears sometime RRS feed

  • Question

  • Hey everyone!

    I have a Windows 8.1 app. On my landing screen there are a few (4) buttons with an image in it like this:

      <Button Style="{StaticResource ImageButtonStyle}" VerticalAlignment="Top" Margin="5,0,5,0" Click="MyLogosClick">
    	<Image Source="/Assets/my_logos.png" Stretch="None" />
      </Button>

    The problem is that for some reason and totally randomly these buttons disappears from the screen - this happens on screen load, for example if you are starting the screen or you are closing another screen in front of this screen. You can see that this button doesn't have a Name attribute so there is no option in the code for hiding it. I have seen this error twice, but cannot reproduce it. I agree that this is a rare error, but I want to know if this is a windows error or an error in my app?

    Thanks

    Laci

    Wednesday, October 30, 2013 7:45 AM

All replies