Skip to content

BladeItem as UserControl #4009

Discussion options

You must be logged in to vote

@Pinox is your 'UserControl' still inheriting from UserControl? If you make it inherit from BladeItem instead, then it should work fine. If so, what's happening here is the parent panel is implicitly wrapping the UserControl in a BladeItem as it's not the child type for the container, so it creates one for you in case you were using a data-model and template. This is usually the standard XAML behavior.

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by michael-hawker
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question ❔ Issues or PR require more information controls 🎛️
3 participants
Converted from issue

This discussion was converted from issue #4002 on April 29, 2021 19:11.