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 2675 karma points MVP 4x 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 4026 posts 15836 karma points MVP 13x 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 2675 karma points MVP 4x 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.

Please Sign in or register to post replies

Write your reply to:

Draft