Forums
Forums are Read-Only. Use the new Support Center. To start a general discussion, use the General category when submitting your question.

Adding generic IList<T> auto-property template

Last post 7/7/2009 3:27 AM by Rory Becker - DevExpress. 1 replies.
Sort Posts: Previous Next
  • Nick Kirkes

    Adding generic IList<T> auto-property template

    7/6/2009 7:10 PM
    • Not Ranked
    • Joined on 2/7/2009
    • Posts 1

    I'm diving into creating my own templates, and I use the auto-property templates heavily.  I'd like to add an IList<T> property and auto-property.  I started by looking at the implementations of the List<T> (pl.) and it's associated auto-prop (al.).  I also looked at the IEnumerable<T> versions for reference.  I think I get the general syntax, but can't seem to find how to add IList to the available types that get rendered from ?Generic1Type?.

    Any pointers would be helpful.

     

    Nick

    [Cross-posting on StackOverflow.com]

    Filed under:
  • Rory Becker - DevExpress

    Re: Adding generic IList<T> auto-property template

    7/7/2009 3:27 AM
    • Top 25 Contributor
    • Joined on 5/4/2007
    • Dorset, England
    • Posts 1,909
    Hello Nick,

    > I think I get the general
    > syntax, but can't seem to find how to add IList to the available types
    > that get rendered from ?Generic1Type?.
    >
    > Any pointers would be helpful.


    I think you're after the "Dynamic Lists" Option Page:
    -------------------------------------------------------------
    Follow these steps to get to the Dynamic Lists options page:

    1. From the DevExpress menu, select "Options...".
    2. In the tree view on the left, navigate to this folder:

    Core

    3. Select the "Dynamic Lists" options page.
    This page level is Advanced, and will only be visible if the Level combo
    on the lower-left of the Options dialog is set to Advanced or Expert.
    -------------------------------------------------------------
More from DevExpress
Live Chat
Have a pre-sales question?
Need assistance with your evaluation?
We are here to help.
Chat is one of the many ways you can contact members of the DevExpress Team. We are available Monday-Friday between 8:30am and 5:00pm Pacific Time.
If you need additional product information, require pre-sales assistance, or want help with your order, write to us at info@devexpress.com or call us at
+1 (818) 844-3383.