#1,056 – Grid Clips Child Elements
April 22, 2014 1 Comment
While a Canvas panel does not clip its child elements, a Grid does clip child elements. The child elements are clipped even if you set the ClipToBounds property of the Grid to false.
<Grid Background="AliceBlue" Margin="25" > <Label Content="Each man delights in the work that suits him best." Background="Olive" VerticalAlignment="Center" Margin="10"/> </Grid>
Pingback: #1059 – Clipping vs. Resizing in a Grid | 2,000 Things You Should Know About WPF