Open
Description
Servus,
i tried to Center this control horizontally AND vertically. Both are not working, because both properties are using the Top Left Corner of the Control. So if i write:
HorizontalAlignment="Center"
and VerticalAlignment="Center"
the top left corner of the control is in the mid of my Window.
Is there any solution for this? Why there is this behaviour?
.NET or .NET Framework
Check the .NET target framework(s) being used, and include the version number(s). Put an x
between the [ ]
to check it.
- .NET (5 or Core)
- .NET Framework
Technology
Check the .NET target framework(s) being used, and include the version number(s). Put an x
between the [ ]
to check it.
- WPF
- Windows Forms