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. Item in C#

Item in C#

Scheduled Pinned Locked Moved C#
csharpquestion
3 Posts 2 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.
  • J Offline
    J Offline
    jojoba2010
    wrote on last edited by
    #1

    How can I have property that have something like this property:

    item : (Collection)...

    J 1 Reply Last reply
    0
    • J jojoba2010

      How can I have property that have something like this property:

      item : (Collection)...

      J Offline
      J Offline
      jojoba2010
      wrote on last edited by
      #2

      in toolstrip control we have a property name Item ,so i wanna have something like this.

      L 1 Reply Last reply
      0
      • J jojoba2010

        in toolstrip control we have a property name Item ,so i wanna have something like this.

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        Make your own "Item" property. Then make a collection, like "Items". Ex :

        private List _items = new List();

        public List Items
        {
        get { return _items; }
        }

        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