Click here to Skip to main content
13,095,921 members (55,401 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as


13 bookmarked
Posted 21 Jul 2011

RowHeader Style in DataGridView - Remove Shape

, 21 Jul 2011
Rate this:
Please Sign up or sign in to vote.
Remove the triangle and star symbol from the row header in a DataGridView.
Me.DataGridView1.RowHeadersDefaultCellStyle.Padding = New Padding(3)

Use this code to avoid the triangle shape in the current row selection.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Ramanujam Shankar
Web Developer Mahindra Logisoft Business Solution Limited, Chenn
India India
No Biography provided

You may also be interested in...

Comments and Discussions

GeneralReason for my vote of 5 Even though it's closed, this is wha... Pin
swdev.bali4-Nov-11 4:38
memberswdev.bali4-Nov-11 4:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.170813.1 | Last Updated 21 Jul 2011
Article Copyright 2011 by Ramanujam Shankar
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid