Set Foreground for RadBarcodeQR

4 posts, 0 answers
  1. Pouya
    Pouya avatar
    2 posts
    Member since:
    Apr 2014

    Posted 12 May 2015 Link to this post

    Hello dear members.

     I have the following question:

    is it possible to set up Foreground for RadBarcodeQR control? I tried to do that in this way

    <telerikDataVisualization:RadBarcodeQR Foreground="Aqua" ... />

    But it doesn't work. I need to change the color of the QR code. How is it possible to do?

    Thank you in advance.

  2. Ivaylo Gergov
    Admin
    Ivaylo Gergov avatar
    661 posts

    Posted 15 May 2015 Link to this post

    Hi,

    By specification the QR code consists of black modules arranged in a square grid on a white background, so the foreground of the image cannot be changed.



    Regards,
    Ivaylo Gergov
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft banner
  4. Pouya
    Pouya avatar
    2 posts
    Member since:
    Apr 2014

    Posted 15 May 2015 in reply to Ivaylo Gergov Link to this post

    Thank you for reply.

    But it's possible to set Background color. Seems like some kind of inconsistency: Background is possible to change, but Foreground is impossible.

  5. Ivaylo Gergov
    Admin
    Ivaylo Gergov avatar
    661 posts

    Posted 20 May 2015 Link to this post

    Hi,

    The Template of the RadBarCodeQR consists of a Image within a Grid. Setting the background of the control changes the grid's background. The image itself cannot be modified.

    Regards,
    Ivaylo Gergov
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top
DevCraft banner