Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is this properly supported in XAML Designer? #1440

Closed
daviddetweiler opened this issue Feb 2, 2019 — with docs.microsoft.com · 1 comment
Closed

Is this properly supported in XAML Designer? #1440

daviddetweiler opened this issue Feb 2, 2019 — with docs.microsoft.com · 1 comment
Assignees

Comments

Copy link

daviddetweiler commented Feb 2, 2019

A simple project done exactly as described in the documentation, when MainPage.xaml is viewed in either the designer or Blend, BgLabelControl is shown as a white box, with error message "Type BgLabelControlApp.BgLabelControl cannot be created in XAML". Project successfully compiles and runs as expected, on the other hand (Replicated in both VS2017 and VS2019).


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@daviddetweiler
Copy link
Author

Nevermind, problem was resolved by moving the custom control to a separate C++/WinRT component project.

QuinnRadich pushed a commit that referenced this issue Apr 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants