Home Forums WinForms controls Xceed Grid for WinForms GridControl.SideMargin.Borders

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

    Hi there,

    How can I remove the borders from the grid side margin?

    Thank you,
    Lauro

    Imported from legacy forums. Posted by lauro.costa (had 2321 views)

    User (Old forums)
    Member
    Post count: 23064

    You will need to create a custom GroupMargin, in which you will do the usual overriding stuff, plus override the Borders, as you did in the row/cell derivation.

    Then you will use this custom GroupMargin on the group that serves as a template to the GroupByRow GroupTemplate.

    i.e.: GroupByRow.GroupTemplate = new Group( new myGroupMargin() );

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

    User (Old forums)
    Member
    Post count: 23064

    Hi Andre,
    this actually works from the 2nd grouping on .. For the first group you can still see the right border which I believe to belong to the Grid SideMargin.. In that case, I would probably have to override the grid, but I don’t think it’s worthwhile doing such a thing because of borders.. I’ll sacrifice the design..

    Thanks!
    Lauro

    Imported from legacy forums. Posted by lauro.costa (had 3377 views)

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