Home > Net >  C # WPF controls on layout can not fully show but run control can only show half
C # WPF controls on layout can not fully show but run control can only show half

Time:12-30

Problem: c # WPF controls can fully display layout, but running only shows half, below is the problem of figure,
I try to change the layout of the page tag format, centered, can display part, the other on the left or right can't display completely,
This figure is no runtime figure,


The figure below is running figure,

CodePudding user response:

Don't direct child controls with the stackpanel or grid with page
The stackpanel directly add the grid points in the three columns and each column is a child control
Now should be to control the parent is absolute size lead to show is not complete

CodePudding user response:

Xaml files posted and have a look

CodePudding user response:

https://www.c-sharpcorner.com/uploadfile/raj1979/uniformgrid-in-wpf/
  •  Tags:  
  • C#
  • Related