WPF LayoutTransform -改变布局
LayoutTransform会影响布局,让grid显示分割线时候,可以看出
<Window x:Class="wpf180709.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Window1" Height="300" Width="300">
<Grid ShowGridLines="True">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"></ColumnDefinition>
<ColumnDefinition></ColumnDefinition>
</Grid.ColumnDefinitions>
<TextBlock Text="Hello Transform" FontSize="20" HorizontalAlignment="Left" VerticalAlignment="Bottom">
<TextBlock.LayoutTransform>
<RotateTransform Angle="-90"></RotateTransform>
</TextBlock.LayoutTransform>
</TextBlock>
</Grid>
</Window>
最新文章
- Elasticsearch初步使用(安装、Head配置、分词器配置)
- scala and machine learning
- 在无修改权限的情况下修改文件hosts中的内容
- [Nodejs]十分钟快速编写简单静态文件服务器
- 【VerySky原创】RPR_ABAP_SOURCE_SCAN
- MacOSX和Windows 8的完美融合
- python学习小结2:if和while控制语句
- 通过wifi调试Android程序
- 关于 yii 验证码显示, 但点击不能刷新的处理
- 国际化标签 <;fmt:bundle>;&;<;fmt:message>;的使用
- IT资源专业搜索-www.easysoo.cn
- 讲解——Trie树(字典树)
- linuxlab下虚拟板与主机通信
- hdu_5879_Cure(打表)
- 从parcel.js打包出错,到拥抱nvm
- Chapter 5 Blood Type——32
- Python 中的 10 个常见安全漏洞,以及如何避免(上)
- MySQL表与表之间的SQL Joins图介绍
- sublime text2 插件 - ctags的使用
- centos 主机名突然变成bogon的解决方法