zoukankan
html css js c++ java
wpf学习笔记StackPanel
StackPanel为容器控件,可与DockPanel进行比较,下面为常用属性示例
1.Orientation属性用法与web控件中的DatList的
RepeatDirection
属性相同
2.HorizontalAlignment和VerticalAlignment
效果
(1)全局
<
StackPanel
HorizontalAlignment
="Left"
Orientation
="Vertical"
>
<
Button
>
Button One
</
Button
>
<
Button
>
Button Two
</
Button
>
<
Button
>
Button Three
</
Button
>
<
Button
>
Button Four
</
Button
>
<
Button
>
Button Five
</
Button
>
<
Button
>
Button Six
</
Button
>
</
StackPanel
>
(2)局部
<
StackPanel
Orientation
="Vertical"
>
<
Button
>
Button One
</
Button
>
<
Button
>
Button Two
</
Button
>
<
Button
>
Button Three
</
Button
>
<
Button
>
Button Four
</
Button
>
<
Button
>
Button Five
</
Button
>
<
Button
HorizontalAlignment
="Left"
>
Button Six
</
Button
>
</
StackPanel
>
结束
查看全文
相关阅读:
C#------对SQLServer进行简单的增,删,改,查
WinForm------点击Control弹出MessageBox
WinForm------窗体初始化位置的显示
WinForm------GridControl的部分属性介绍
C#------编码规范
vs------安装window net.framework 出现严重错误解决方法
jsp------实现MD5加密
jquery------捕获异常处理
jquery------显示加载的js时出现中文乱码解决方法
sublime3 常用功能总结
原文地址:https://www.cnblogs.com/Clingingboy/p/663325.html
最新文章
paste命令详解
split命令详解
cut命令详解
head和tail命令详解
more和less命令详解
tac命令详解
md5sum命令详解
file命令详解
squid代理docker
squid 3.5.2配置文件
热门文章
squid代理使用yum源
ssh连接报错
jenkins提示反向代理设置有误
docker容器和宿主机之间复制文件
docker下载镜像加速
docker扩容
Mycat入门核心概念
在亚马逊Red Hat 7.1 linux上安装mysql
插入排序和归并排序
vs------各种错误解决方法
Copyright © 2011-2022 走看看