Home Forums WinForms controls Xceed Grid for WinForms Change Selection mode

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #17043 |

    Dear All,

    I wanted to make the gird selection mode.

    – DO NOT want to select entire row.

    – Only select clicked cell

    – NO need to color it

    – Just show bounding rectangle or cell using dotted line

     

    Imported from legacy forums. Posted by bdmsoft (had 1445 views)

    User (Old forums)
    Member
    Post count: 23064

    Simply set the selection colors to the grid colors, and you will only see the highlight rectangle around the selected cell.

    i.e.:

          gridControl1.SelectionBackColor = gridControl1.BackColor;
          gridControl1.SelectionForeColor = gridControl1.ForeColor;

     

    Imported from legacy forums. Posted by André (had 1708 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.