Winform Datagrid gridlines

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Vinicius

    Winform Datagrid gridlines

    I am building a form with a datagrid that should only show vertical grid
    lines. The problem is that I couldn't find a way to do this.
    Does anybody knows how it could be done (i am using a winform datagrid)?

    Tks
  • Nicholas Paldino [.NET/C# MVP]

    #2
    Re: Winform Datagrid gridlines

    Vinicius,

    I don't think that you are going to be able to do this without painting
    the control in a custom manner. This would probably be very tedious, and
    you are probably better off getting a third-party control that provides this
    for you.

    Hope this helps.


    --
    - Nicholas Paldino [.NET/C# MVP]
    - mvp@spam.guard. caspershouse.co m

    "Vinicius" <Vinicius@discu ssions.microsof t.com> wrote in message
    news:FD5112A9-7D70-488F-A848-D95230BEFAB6@mi crosoft.com...[color=blue]
    >I am building a form with a datagrid that should only show vertical grid
    > lines. The problem is that I couldn't find a way to do this.
    > Does anybody knows how it could be done (i am using a winform datagrid)?
    >
    > Tks[/color]


    Comment

    Working...