WPF
容器:Grid
设置行
设置列
设置button在三列而行(从零算起)
Margin 外边距 规则是先左右后上下,左上右下
VerticalContentAlignment 垂直对齐
HorizontalContentAlignment 水平对齐
Padding 内边距
Grid.ColumnSpan 跨列 Grid.RowSpan 跨行
Panel.ZIndex 层次
容器 :StackPanel
orientation = vertical 垂直,horizontal 水平
容器:Canvas
和html布局类似,
容器:WarpPanel
会自动换行
Border 给容器加边框 是容器父级 属性:BorderThickness 边框粗细 ,BorderBrush 颜色,CornerRadius 圆角
容器 : ScrollViewer
滚动条,
容器 :viewbox 自动缩放
容器:GroupBox
容器:DockPanel 分区
TextBlock 行级元素 LineBrake 换行
xml:space="preserve" 命名空间
未完待续。。。。。