Replies: 1 comment 5 replies
-
If all you need is a reference to a ( A. Create a view with an outlet: https://funcui.avaloniaui.net/common-questions#2.-obtain-a-view-reference-via-an-outlet B. Use |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to get a calendar to work based on the examples from Avalonia C# and the
FindControl
method. I have a feeling it has to do with some nesting issues, but can't figure it out.I have a TabControl inside a DockPanel in the shell.fs file where I shove the Window (this) into the state as "parent". So,
state.parent
contains the main window. Then, in my update method for the calendar I have tried the following but all end up not being foundWhat am I doing wrong?
EDIT: To save on space I didn't include the shell.fs setup as it hasn't been changed other than adding the tab item and I provided
.name
to the relevant controls.Beta Was this translation helpful? Give feedback.
All reactions