How can i get the base view's control #16816
Replies: 2 comments
-
That XAML isn't available. When I suggest finding a different pattern. Don't try to inherit classes and expect to inherit XAML. Composition is your friend here. |
Beta Was this translation helpful? Give feedback.
-
OK,thanks for your response,I just want to share some axaml code from |
Beta Was this translation helpful? Give feedback.
-
Environment
Avalonia 11.1.3
Windows
Questing
Below is my avalonia Project:
BaseAView.axaml
BaseAView.axaml.cs
AView.axaml
AView.axaml.cs
MainWindow.axaml
my question is:I can not get the
BtnTest
fromBaseAView
.Below is my debug with break point,any one can help me? thanksBeta Was this translation helpful? Give feedback.
All reactions