Home Forums WPF controls Xceed DataGrid for WPF Access cell from code.

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

    hello,
    i need to access a random cell of the grid and change it’s background.

    how do i do that?

    Imported from legacy forums. Posted by david (had 1764 views)

    Xceed Support
    Member
    Post count: 5658

    Create an implicit style that targets DataCell in which you have a DataTrigger that sets the background of the desired cell.

    Note: Cells only exist when they are in the viewport.

    Imported from legacy forums. Posted by Jenny [Xceed] (had 2904 views)

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