Skip to content

Add KeepCenterOnSizeChanged attached property#8

Merged
SamirKharchi merged 1 commit intomasterfrom
Add-KeepCenterOnSizeChanged-attached-property
May 11, 2021
Merged

Add KeepCenterOnSizeChanged attached property#8
SamirKharchi merged 1 commit intomasterfrom
Add-KeepCenterOnSizeChanged-attached-property

Conversation

@SamirKharchi
Copy link
Copy Markdown
Owner

In default, set Window.SizeToContent to Width or Height or WidthAndHeight, when the content size changed, the window will not re-center to screen or owner. After add this attached property, it will auto re-center.

In default, set Window.SizeToContent to Width or Height or WidthAndHeight, when the content size changed, the window will not re-center to screen or owner. After add this attached property, it will auto re-center.
@SamirKharchi SamirKharchi merged commit 13a9a9f into master May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants