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. Visual Basic
  4. How to browse class's fields in property grid ?

How to browse class's fields in property grid ?

Scheduled Pinned Locked Moved Visual Basic
csstutorialquestion
5 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.
  • K Offline
    K Offline
    Ky Nam
    wrote on last edited by
    #1

    Class Class1 Public Field1 as Integer End Class I'm sure that many coders want browse Class1.Field1 in designer property grid , why Microsoft doesn't support it ?

    S D L 3 Replies Last reply
    0
    • K Ky Nam

      Class Class1 Public Field1 as Integer End Class I'm sure that many coders want browse Class1.Field1 in designer property grid , why Microsoft doesn't support it ?

      S Offline
      S Offline
      Steven J Jowett
      wrote on last edited by
      #2

      I think the clue is in the word "Property"

      Steve Jowett ------------------------- Sometimes a man who deserves to be looked down upon because he is a fool, is only despised only because he is an 'I.T. Consultant'

      1 Reply Last reply
      0
      • K Ky Nam

        Class Class1 Public Field1 as Integer End Class I'm sure that many coders want browse Class1.Field1 in designer property grid , why Microsoft doesn't support it ?

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

        Ky Nam wrote:

        I'm sure that many coders want browse Class1.Field1 in designer property grid

        Speak for yourself. I don't want it to.

        Ky Nam wrote:

        why Microsoft doesn't support it ?

        Because exposing fields as public is bad practice...? You're supposed to be exposing PRIVATE fields through nice little public Property accessors.

        A guide to posting questions on CodeProject[^]
        Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
             2006, 2007

        1 Reply Last reply
        0
        • K Ky Nam

          Class Class1 Public Field1 as Integer End Class I'm sure that many coders want browse Class1.Field1 in designer property grid , why Microsoft doesn't support it ?

          L Offline
          L Offline
          Lucky Sheikh
          wrote on last edited by
          #4

          hey guy if u r in ur home u follow ur home,s rule not to other,s same like when u work in microsoft it has also there rule ok don,t ask this type of question. read it private, public, partial property to set the class byeeeee hope u understand:laugh: lucky

          D 1 Reply Last reply
          0
          • L Lucky Sheikh

            hey guy if u r in ur home u follow ur home,s rule not to other,s same like when u work in microsoft it has also there rule ok don,t ask this type of question. read it private, public, partial property to set the class byeeeee hope u understand:laugh: lucky

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

            Speaking of rules... Do NOT use SMS Speak in the fourms. It makes your posts quite difficult to read. You've got a 101+ key keyboard in front on your, use it!

            Lucky Sheikh wrote:

            hope u understand:

            Barely, just barely.

            A guide to posting questions on CodeProject[^]
            Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                 2006, 2007

            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