Replies: 2 comments 6 replies
-
I'm afraid I don't follow the question. Can you include an example? Thanks! |
Beta Was this translation helpful? Give feedback.
5 replies
-
I still don't entirely follow what you're doing, and why you're having problems setting the width and height using two-way (?) bindings. There is a hook when the view is attached, but What you can do is: var view = (Window)Helper.Ioc.Get<IViewManager>().CreateAndBindViewForModelIfNecessary(win);
view.Width = ...
view.Height = ...
Helper.Ioc.Get<IWindowManager>().ShowWindow(win); |
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
-
@canton7 Hi!
How can I set some properties of the view before the view is not null and rendered, such as the width and height of the window and other user control properties, otherwise it may not render as expected
Beta Was this translation helpful? Give feedback.
All reactions