Skip to content

ProtectedCursor needs to be updated once control is in Visual Tree #112

Closed
@michael-hawker

Description

@michael-hawker

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.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions