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. regd treeView control

regd treeView control

Scheduled Pinned Locked Moved C#
questiondata-structures
6 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.
  • K Offline
    K Offline
    karteek
    wrote on last edited by
    #1

    Hi, I want the all the nodes in the tree to be expanded. How do I set this property? Karteek

    D 1 Reply Last reply
    0
    • K karteek

      Hi, I want the all the nodes in the tree to be expanded. How do I set this property? Karteek

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      :omg: Simply call the ExpandAll() method of the TreeView control:

      TreeView1.ExpandAll()
      

      I have to ask, have you ever read the documentation on the TreeView and Datagrid controls? Or have even looked through the Intellisense dropdown when you hit "."? And what's with the "regd" with every question you post? RageInTheMachine9532 "...a pungent, gastly, stinky piece of cheese!" -- The Roaming Gnome

      H 1 Reply Last reply
      0
      • D Dave Kreskowiak

        :omg: Simply call the ExpandAll() method of the TreeView control:

        TreeView1.ExpandAll()
        

        I have to ask, have you ever read the documentation on the TreeView and Datagrid controls? Or have even looked through the Intellisense dropdown when you hit "."? And what's with the "regd" with every question you post? RageInTheMachine9532 "...a pungent, gastly, stinky piece of cheese!" -- The Roaming Gnome

        H Offline
        H Offline
        Heath Stewart
        wrote on last edited by
        #3

        Agreed. This forum is for specific questions. You'll never learn anything if you don't actually try to research things - even basic research such as reading the class documentation - if you expect everyone to do the work for you. I'm a bit confused by "regd" as well. It isn't necessary.

        Microsoft MVP, Visual C# My Articles

        K 1 Reply Last reply
        0
        • H Heath Stewart

          Agreed. This forum is for specific questions. You'll never learn anything if you don't actually try to research things - even basic research such as reading the class documentation - if you expect everyone to do the work for you. I'm a bit confused by "regd" as well. It isn't necessary.

          Microsoft MVP, Visual C# My Articles

          K Offline
          K Offline
          karteek
          wrote on last edited by
          #4

          Hi, Actually I have to complete the a project within the next two weeks. It is a big one and I donno much abt C# and .Net. So I post it so that I get the answer without wasting much time. regd I mean regarding. Sorry if I distrubed u with my posts. Karteek

          H D 2 Replies Last reply
          0
          • K karteek

            Hi, Actually I have to complete the a project within the next two weeks. It is a big one and I donno much abt C# and .Net. So I post it so that I get the answer without wasting much time. regd I mean regarding. Sorry if I distrubed u with my posts. Karteek

            H Offline
            H Offline
            Heath Stewart
            wrote on last edited by
            #5

            Putting "regarding", "re", or "regd" in a subject is pointless: obviously your post relates to whatever the subject says - that's what a subject is for. It doesn't matter how much time you have to do a project. Not reading about what you're doing is counter-productive and no very smart. You should just jump into something - especially for an important project - without having any idea of what you're doing. Besides, while your developing your project you should be reading about what you're doing. Not only will you learn while you develop your project, reading may help to make your project better by either providing you with alternative means to perform some task or to make your project more stable. There's simply no valid excuse why someone can't read even something as simple and quick as class library documentation, at least for the classes the person is using. None.

            Microsoft MVP, Visual C# My Articles

            1 Reply Last reply
            0
            • K karteek

              Hi, Actually I have to complete the a project within the next two weeks. It is a big one and I donno much abt C# and .Net. So I post it so that I get the answer without wasting much time. regd I mean regarding. Sorry if I distrubed u with my posts. Karteek

              D Offline
              D Offline
              Dave Kreskowiak
              wrote on last edited by
              #6

              karteek wrote: I donno much abt C# and .Net. So I post it so that I get the answer without wasting much time. Actually, posting your question and waiting for an answer will take more time than reading the class documentation. It would have taken you about 2 minutes to find the answer to this one just reading the class documentation on the TreeView control. ...and you probably would have learned something else in the process too... RageInTheMachine9532 "...a pungent, gastly, stinky piece of cheese!" -- The Roaming Gnome

              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