When I set the SizeToContent="WidthAndHeight" property in my window, WPF renders weird lines around my window: Is there anything I can do to avoid ...
When I set the SizeToContent="WidthAndHeight" property in my window, WPF renders weird lines around my window: Is there anything I can do to avoid ...
I'm trying to figure out how to resize the Window of my application after an Expander control has been expanded or collapsed. It must grow or shrink. ...
hi i want Set usercontrol size According to the Controls inside it how i can do this? long time ago I used the propretis SizeToContent , but I can not ...
I know WPF windows have the 'SizeToContent' property and it works great and is almost what I want in this case. However what I have is slightly differ ...
Here I have the following simple window: The upper part is a DataGrid, below is a TextBox. The window is set to size to content's width. This is th ...
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 window with SizeToContent = "WidthAndHeight",startup location sets to manual. This window contains one grid with two rows: first with height "1 ...
In my scenario I have a window which I want to use to display on two different ways. One way when the window has WindowState = WindowState.Normal; and ...
I want to set initial size of listview. ListView is docked in DockPanel as a last child with property LastChildFill = true. The Window has SizeToConte ...
I've created style for type Window with set Template property. It works fine if I set Height and Width properties for window. But when I've tried to s ...
We're stuck on an issue about the appropriate use of SizeToContent=WidthandHeight and WindowStartupLocation=CenterScreen in WPF. After resizing, our w ...
I have a window that uses SizeToContent="WidthAndHeight" and I have a column that has three rows in it. Rows are defines as such: Content is made u ...
I want to have a circle which grows from the middle of the screen to about 500px in diameter. I'm going to have this circle act as the window for my a ...
I have a WPF window that changes it's size over time due to SizeToContent="WidthAndHeight". Initially the WindowStartupLocation="CenterScreen" shows t ...
Whenever I try to make a window and I set the SizeToContent to WidthAndHeight, on opening the window correctly sizes to it's contents, but it adds a s ...
I'm trying to achieve the same animation than VS2012 setup window, autosizing and centering on every content size change in a nice animated way. The ...
Here's the XAML code for a very simple WPF window: When I open this window, the text Short text is displayed in full; however, the title bar only d ...
I want the window to respect MinWidth/MinHeight and MaxWidth/MaxHeight specifications of the content control inside. Some suggested using SizeToConte ...
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 *, co ...
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 lo ...