How To: Change the font type/face/size? RRS feed

  • Question

  • Hi,

    How do I change the font type/face/size of LightSwitch application?

    Ex.: From 'Arial' to 'Tahoma'.

    Wednesday, May 22, 2013 8:23 PM


  • Hi,

    For Silverlight Client, there's the discussion in this post.

    For HTML Client, you can handle the postRender for any content item and either sets the CSS styles directly or add a predefined CSS class.

    myapp.Browse.Property1_postRender = function (element, contentItem) {
            "font-family": "Times New Roman",
            "font-style": "italic",
            "font-size": "20px"
        // or

    Best regards,
    • Marked as answer by Angie Xu Thursday, June 6, 2013 12:17 AM
    Friday, May 24, 2013 1:25 AM