Skip to content

Alignment Center not possible? #1121

Open
@SonOfKorriban

Description

@SonOfKorriban

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Pri3Low prioritysupport-requestSupport-style question;customer needs help solving a problem [org][type][category]

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions