Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The easiest way is to create the grid manually. The default implementation of the IViewModelWrapperService checks if the direct child control is a grid and has a specific name '__catelInnerWrapper'. To prevent Catel from creating the wrapper, simply specify the name on the root grid.

Note

Note that Catel will override the DataContext binding of this grid to reflect the view model.

Customizing the IViewModelWrapperService

...