sizetocontent Questions
5
I have a WPF window that changes it's size over time due to SizeToContent="WidthAndHeight". Initially the WindowStartupLocation="CenterScreen" shows the window centered correctly, and after that I ...
Nadene asked 9/5, 2013 at 6:40
7
Solved
I have a pretty large form (adapted mainly for tablets), that has a TabbedPage nesting a ScrollView and a vertical StackPanel containing many controls.
I have few occurrences where I have a ListVi...
Kit asked 20/6, 2017 at 13:54
5
There must be an elegant solution to this problem, but I can't find anything online. I have a grid that has one column and row with width/height *, containing a ListBox. I have my Window SizeToCont...
Adder asked 8/2, 2012 at 19:53
3
Solved
I want the window to respect MinWidth/MinHeight and MaxWidth/MaxHeight specifications of the content control inside.
Some suggested using SizeToContent, but this only helps to set the initial wind...
Polenta asked 3/9, 2012 at 11:48
4
Solved
If i set SizeToContent to WidthAndHeight, then WindowStartupLocation="CenterOwner" does not work properly. Instead of the center of the new window to be at the center of its parent owner, it looks ...
Layla asked 16/11, 2009 at 0:37
2
Solved
I am trying to set the MinHeight / MinWidth of a resizeable window based on its initial height (when SizeToContent="WidthAndHeight").
I have seen a couple of answers / solutions:
http://weblogs.a...
Syndicate asked 6/1, 2011 at 11:17
4
Solved
with the following code I expected to end with two ListBox with the same Width as they are into two columndefinition with With="*"
Instead of this looks like the size is determined from the size o...
Styria asked 1/2, 2012 at 17:31
2
Solved
In fact the UserControl lacks the property 'SizeToContent' that we have in Window.
So the question is:
what's the easiest and right way to simulate SizeToContent=WidthAndHeight behavior on UserC...
Loriannlorianna asked 2/8, 2010 at 20:15
1
I have a window in my WPF application that is displayed on occasion. When it is shown it is faded in with an annimation, and when closed it is faded out. Nothing fancy, just a storyboard that modif...
Mra asked 27/1, 2010 at 2:34
1
© 2022 - 2024 — McMap. All rights reserved.