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. Help panel position in PropertyGrid

Help panel position in PropertyGrid

Scheduled Pinned Locked Moved C#
helpquestion
4 Posts 4 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.
  • R Offline
    R Offline
    rbuchana
    wrote on last edited by
    #1

    Is there any way to change the position of the help panel in a PropertyGrid in code?

    T V 2 Replies Last reply
    0
    • R rbuchana

      Is there any way to change the position of the help panel in a PropertyGrid in code?

      T Offline
      T Offline
      TJoe
      wrote on last edited by
      #2

      Sorry, I don't think so. If you use Reflector[^] to view the source for the PropertyGrid you can see that the private method OnLayoutInternal positions the help panel (this is called doccomment in OnLayoutInternal). The best you can do is hide it. You may be able to request such a feature from a third-part vendor (such as SmartPropertyGrid[^]).

      Take care, Tom ----------------------------------------------- Check out my blog at http://tjoe.wordpress.com

      J 1 Reply Last reply
      0
      • R rbuchana

        Is there any way to change the position of the help panel in a PropertyGrid in code?

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

        As Tom said, the MS PropertyGrid can't do it. However, Smart PropertyGrid.Net can definitely position the comments area the way you want (some of my customers wrote a piece of code so that the size is adaptable to the height of the comments).

        Best regards, Nicolas Cadilhac Smart PropertyGrid.Net @ VisualHint Microsoft PropertyGrid Resource List Free PropertyGrid for MFC Smart FieldPackEditor.Net / DateTimePicker

        1 Reply Last reply
        0
        • T TJoe

          Sorry, I don't think so. If you use Reflector[^] to view the source for the PropertyGrid you can see that the private method OnLayoutInternal positions the help panel (this is called doccomment in OnLayoutInternal). The best you can do is hide it. You may be able to request such a feature from a third-part vendor (such as SmartPropertyGrid[^]).

          Take care, Tom ----------------------------------------------- Check out my blog at http://tjoe.wordpress.com

          J Offline
          J Offline
          jawnhewz
          wrote on last edited by
          #4

          How do you hide it? I have a situation where I want a fairly simple PropertyGrid, but I do not want the help panel to display. Thanks, John

          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