Coffeehouse Thread

4 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

Barcode image Created not visible when Theme changed to LIGHT

Back to Forum: Coffeehouse
  • User profile image
    ayyappakona​kalla

    Hello ,

    I have an application which creates barcodes.When the Windows Phone theme changed to Light,The Barcode image created is not visible on the screen.

    Can someone help me on the same issue.

    Thanks in Advance

    Regards,

    Ayyappa K

  • User profile image
    Dr Herbie

    Make sure to explicitly set the background colour of you barcode, rather than using the system default theme?

    Herbie

  • User profile image
    cbae

    @ayyappakonakalla: You can place the image inside a StackPanel with an explicitly-set black background. As long as it's opaque, you should be fine.

  • User profile image
    Harlequin

    , cbae wrote

    @ayyappakonakalla: You can place the image inside a StackPanel with an explicitly-set black background. As long as it's opaque, you should be fine.

    Think you mean Grid. I don't think a stackpanel sizes with it's children.Even a Border would work, as it would grow to the size it's child inside is.

    <Grid Background="Black">

    <Image x:Name="BarCodeImage" Width="100" Height="100" />

    </Grid>

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.