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. DataGridViewColumn with multiline textboxes

DataGridViewColumn with multiline textboxes

Scheduled Pinned Locked Moved C#
question
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.
  • H Offline
    H Offline
    hain
    wrote on last edited by
    #1

    How can I have/create a DataGridView having DataGridViewColumns with multiline textboxes? (The standard DataGridViewTextBoxColumn cell are single line TextBox objects.) Is there some way to access the properties of the underlying TextBox objects in a DataGridViewTextBoxColumn (i.e., to change the Multiline property to true)? Or, do I have to create a new class inheriting from DataGridViewColumn ? Thanks! Tom

    H 1 Reply Last reply
    0
    • H hain

      How can I have/create a DataGridView having DataGridViewColumns with multiline textboxes? (The standard DataGridViewTextBoxColumn cell are single line TextBox objects.) Is there some way to access the properties of the underlying TextBox objects in a DataGridViewTextBoxColumn (i.e., to change the Multiline property to true)? Or, do I have to create a new class inheriting from DataGridViewColumn ? Thanks! Tom

      H Offline
      H Offline
      Henry Minute
      wrote on last edited by
      #2

      Do you know when Googled 'datagridviewtextboxcell multiline' The very first hit seemed to have an answer that would work. Or at the very least be a damned good place to start.

      Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”

      H 1 Reply Last reply
      0
      • H Henry Minute

        Do you know when Googled 'datagridviewtextboxcell multiline' The very first hit seemed to have an answer that would work. Or at the very least be a damned good place to start.

        Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”

        H Offline
        H Offline
        hain
        wrote on last edited by
        #3

        I swear I searched all over... (i.e., I'm embarrassed!) The sure was a good start! Thanks, Henry. Tom

        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