WindowProperties
该项目展示了一个简单的Windows应用程序,该程序使用几个属性(特性)来显示其主窗口的大小。显示内容随用户重设窗口大小而自动更新。
(1) 创建项目
创建WPF Application项目:WindowProperties。
(2) 设计界面
<Window x:Class="WindowProperties.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"