且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

两种宽高比(4:3和16:9)的两种布局-自动更改

更新时间:2022-11-20 22:51:20

LayoutAwarePage随附项目模板,该模板提供可视状态,可用于根据ApplicationView更改布局(填充,捕捉等).如果需要,可以扩展该外观覆盖InvalidateVisualState的行为.

Project Templates comes with LayoutAwarePage that provides visual states you can use to change layout according to ApplicationView (Filled, Snapped etc...) If needed you could extend that behavior there overriding InvalidateVisualState.