microsoft / microsoft-ui-xaml

Windows UI Library: the latest Windows 10 native controls and Fluent styles for your applications
MIT License
6.32k stars 677 forks source link

"Live Property Explorer" not showing custom controls #6285

Open arivoir opened 2 years ago

arivoir commented 2 years ago

Describe the bug

When selecting an element in the "Live Visual Tree" its properties are displayed in "Live Property Explorer"

image

But this looks only for the framework controls, custom controls show nothing

Steps to reproduce the bug

  1. Run any application having a custom control
  2. Select the custom control in the "Live Visual Tree"
  3. Observe there is nothing in the "Live Property Explorer"

Expected behavior

No response

Screenshots

No response

IDE

Visual Studio 2022-preview

NuGet package version

No response

Project type

Windows version

May 2021 Update (19043)

Additional context

Visual Studio 2022 Version 17.1.0 Preview 1.0

StephenLPeters commented 2 years ago

@evelynwu-msft FYI

sjb-sjb commented 1 year ago

Any progress on this? I have this problem as well, it makes it pretty hard to debug the XAML !

zhanggaolei001 commented 1 year ago

I hit the same problem. And I have tried to update vs2022 to 2023.07.25, but nothing helped.