We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
WholeItemsPanel
1 parent 7c0f6d7 commit e36e499Copy full SHA for e36e499
source/uwp/SharedRenderer/lib/WholeItemsPanel.cpp
@@ -354,7 +354,7 @@ namespace winrt::AdaptiveCards::Rendering::Xaml_Rendering::implementation
354
for (auto child : panel.Children())
355
{
356
// Subgroups (columns) are implemented with WholeItemsPanel
357
- if (auto childAsWholeItemPanel = child.as<winrt::WholeItemsPanel>())
+ if (auto childAsWholeItemPanel = child.try_as<winrt::WholeItemsPanel>())
358
359
if (childAsWholeItemPanel.IsTruncated())
360
0 commit comments