Skip to content

GetChildrenInTabFocusOrder no longer a member of the generated code #1395

@martgoodall

Description

@martgoodall

Version

2.0.240111.5

Summary

after upgrading from 2.0.230706.1 to 2.0.240111.5 , GetChildrenInTabFocusOrder() is no longer a member of the generated code, so the winappsdk/winrt c++ app no longer compiles the exe.

WinUI.zip

Reproducible example

pre upgrade, the following would compile - see attachment for complete source containing the following code:-

c++
   StackPanel stackPanelItems = containerContentChangingEventArgs.ItemContainer().ContentTemplateRoot().as<StackPanel>();
   auto autoItems = stackPanelItems.GetChildrenInTabFocusOrder();

GetChildrenInTabFocusOrder is not generated as a member of the class.

Expected behavior

to still compile existing code under the new release

Actual behavior

GetChildrenInTabFocusOrder is not generated as a member of the class.

Additional comments

app is built successfully with the following:-

app fails to build by upgrading
Microsoft.Windows.CppWinRT

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions