Closed
Description
See Issue here: microsoft/microsoft-ui-xaml#7062
If you try and modify the ProtectedCursor in the initialization of a control before OnApplyTemplate has been called, then this will cause a crash.
We should add a warning/note here in the docs about this for now.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 82f75a21-bfcc-6936-51d6-bb48431a2db7
- Version Independent ID: 6dfcc512-d060-84df-4bf2-1fc7f2f946d5
- Content: UIElement.ProtectedCursor Property (Microsoft.UI.Xaml) - WinUI
- Content Source: winui-api-build/xml/Microsoft.UI.Xaml/UIElement.xml
- Product: reunion
- Technology: winui-reference
- GitHub Login: @Karl-Bridge-Microsoft
- Microsoft Alias: kbridge