I have a main window which contains a grid, during the window loaded event, I will dynamically create an instance of a user control and add it to grid. In order to let the user control to adapt itself
I have a Grid inside a Canvas defined like this: <Canvas x:Name=\"outerCanvas\"> <Grid Grid.Row=\"1\" Name=\"cGrid\" ShowGridLines=\"True\" Width=\"{Binding Path=ActualWidth, RelativeSource=