Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. CollectionBase to PropertyGrid

CollectionBase to PropertyGrid

Scheduled Pinned Locked Moved C#
tutorialquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    Hello... I have a collection, derive from CollectionBase. If I put that collection to PropertyGrid, I cannot see the item in list. It shows only Capacity and Count. How to do that ? Thx...

    D V 2 Replies Last reply
    0
    • L Lost User

      Hello... I have a collection, derive from CollectionBase. If I put that collection to PropertyGrid, I cannot see the item in list. It shows only Capacity and Count. How to do that ? Thx...

      D Offline
      D Offline
      darkelv
      wrote on last edited by
      #2

      http://www.codeproject.com/KB/cs/dzcollectioneditor.aspx[^]

      1 Reply Last reply
      0
      • L Lost User

        Hello... I have a collection, derive from CollectionBase. If I put that collection to PropertyGrid, I cannot see the item in list. It shows only Capacity and Count. How to do that ? Thx...

        V Offline
        V Offline
        visualhint
        wrote on last edited by
        #3

        Hi, If you want to see the items of the collection as child properties in the grid, you need to assign your collection property a TypeConverter that will publish the items as properties (override GetPropertiesSupported and GetProperties). Best regards, Nicolas Cadilhac @ VisualHint Smart PropertyGrid.Net Microsoft PropertyGrid Resource List Free PropertyGrid for MFC Smart FieldPackEditor.Net / DateTimePicker

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups