Crainiate Community

Support and discussion for users of Crainiate component software products
Welcome to Crainiate Community Sign in | Join | Help
in Search

sort StencilItems

Last post 01-13-2008 10:23 PM by James Westgate. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 01-10-2008 9:33 AM

    • steen
    • Top 25 Contributor
    • Joined on 12-06-2007
    • Posts 4

    sort StencilItems

    Is there a way to sort the stencil items.
     

    I have a custom stencil where I add custom stencilItems, these stencilitems all have an Id.
    Now I wan't to sort them by the ID, because it looks like the default sort is by Hashtable of the label?

     Is this possible and how can I do this?

     

    thanks Steen
     

    • 212.203.16.194
  • 01-13-2008 10:23 PM In reply to

    Re: sort StencilItems

    The sort order is based on ZOrder. You can modify the zorder of each item to change the order, or you can use a different IComparer on the Renderlist collection in the Palette.

    Filed under: ,
    • 86.140.72.160
Page 1 of 1 (2 items)