protected override Size MeasureOverride(
Size constraints in WPF layout are hard constraints. If the constraints are exceeded, the host must clip the content within the hosted region. The implementation of this method enforces this behavior.
Supported in: 4.6, 4.5, 4, 3.5, 3.0
.NET Framework Client Profile
Supported in: 4, 3.5 SP1