Alan392
Alan392

Reputation: 685

WPF window maximize

On my WPF window, I have set

me.Width = "300"  me.Height = "300"

When I maximize the window, the property Width and Height always have the same values (300).

How do I get the new values?

Upvotes: 0

Views: 85

Answers (1)

Arsen Mkrtchyan
Arsen Mkrtchyan

Reputation: 50712

Check for me.ActualWidth and me.ActualHeight

Upvotes: 1

Related Questions