Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Tim 1193 posts 2655 karma points c-trib
    Nov 18, 2010 @ 13:04
    Tim
    0

    How to Dim a Node?

    Hi,

    Does anyone know how to set a node to the dim style (like you get for completely unpublished content). I have a section for managing some DB stuff, and I'd like to grey out the node if its currently inactive.......

    It looks like XmlTreeNode has a style property, but I can't figure out how to get it to work. Any help greatly a

    :)

    Cheers,

    Tim.

  • Lee Kelleher 3945 posts 15163 karma points MVP 10x admin c-trib
    Nov 18, 2010 @ 13:28
    Lee Kelleher
    0

    Hi Tim,

    I think you just call the DimNode() method of the XmlTreeNode's Style:

    node.Style.DimNode();

    Cheers, Lee.

  • Tim 1193 posts 2655 karma points c-trib
    Nov 18, 2010 @ 14:05
    Tim
    0

    Thanks Lee!

    For some reason my intellisense wasn't picking up the method. Works perfectly!

    :)

    Cheers,

    Tim.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies