Own TemplatedControl does not show in VisualBrush #19183
Unanswered
JaegerChris
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Does the control show if used outside the VisualBrush? If not, could be a missing StyleInclude |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Demo.ResultViewer.zip
We have tried to use our own TemplatedControl in a VisualBrush. However, the control is not displayed in the VisualBrush.
In the example (MainWindow.axaml) we try to use our DemoPatternLocal control with a Visual Brush. It is displayed on its own, but not in the brush.
It doesn't matter if we use namespaces directly or have them mapped to an URL. It also does not matter if the control is from another assembly (DemoPattern vs. DemoPatternLocal).
Any Ideas what we are doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions