Repro
For example, if you execute the following code:
// Start clipping the view
WinRTXamlToolkit.Controls.Extensions.FrameworkElementExtensions.SetClipToBounds(view, true);
// Stop clipping the view
WinRTXamlToolkit.Controls.Extensions.FrameworkElementExtensions.SetClipToBounds(view, false);
Unexpected result: view is still clipped even though you've requested that it no longer be clipped to its bounds.
Expected result: view is no longer clipped.
Fix
This can be fixed by setting _fe.Clip = null in ClipToBoundsHandler's Detach method.
Repro
For example, if you execute the following code:
Unexpected result:
viewis still clipped even though you've requested that it no longer be clipped to its bounds.Expected result:
viewis no longer clipped.Fix
This can be fixed by setting
_fe.Clip = nullinClipToBoundsHandler'sDetachmethod.