c# - How to Resize a Grid exactly as the size Origninal canvas when Window is Maximized -


i'm new using wpf , having problem on how responsively resize grids when set window state maximized.

please take on design on canvas when not maximized:

http://imageshack.com/a/img921/3706/3e8e1f.png

and here's of maximized window:

http://imageshack.com/a/img922/9510/0f2dsq.png

  1. set horizontalalignment="streach" , verticalalignment="streach"
  2. remove harcoded height , width value.
  3. instead can set minheight, minwidth if required.
  4. set margin accordingly if set.

Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -