Open rigdern opened 7 years ago
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.
view
Expected result: view is no longer clipped.
This can be fixed by setting _fe.Clip = null in ClipToBoundsHandler's Detach method.
_fe.Clip = null
ClipToBoundsHandler
Detach
Repro
For example, if you execute the following code:
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
inClipToBoundsHandler
'sDetach
method.