FlowDocument使用StackPanel布局需要之间加<Paragraph>
来源:互联网 发布:脂本 知乎 编辑:程序博客网 时间:2024/06/08 17:22
FlowDocument xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
TextOptions.TextFormattingMode="Display" ColumnWidth="400" FontSize="14" FontFamily="宋体">
<FlowDocument.Resources>
<Style TargetType="{x:Type Paragraph}"> <Setter Property="Margin" Value="0"/> </Style>
</FlowDocument.Resources>
<Paragraph>
<StackPanel Width="700">
<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="2" Height="77">
<Grid.RowDefinitions>
<RowDefinition Height="40*"/>
省略以下部分。。。
------------------------------
wpf布局控件因为继承的关系,如果不能直接放某类型的控件,可以多试试其他控件。
- FlowDocument使用StackPanel布局需要之间加<Paragraph>
- StackPanel布局
- 布局篇-StackPanel布局
- 布局篇-StackPanel布局
- [Windows Phone] StackPanel和Grid在布局中的使用
- 04-StackPanel布局
- XAML 布局StackPanel
- StackPanel控件的使用
- WPF-使用面板控制内容布局,比较Canvas,WrapPanel,StackPanel,Grid,ScrollViewer
- WPF-使用面板控制内容布局,比较Canvas,WrapPanel,StackPanel,Grid,ScrollViewer
- StackPanel
- 全面解析布局(Grid & Canvas &StackPanel &Wrappanel
- WPF(Grid , StackPanel布局等入门)
- WPF 布局 - Grid, StackPanel, DockPanel, WrapPanel
- 两个布局之间加横线(例如两个textview之间)
- IText中 Chunk Phrase Paragraph List使用
- #246 – 在文档中使用FlowDocument控件(Use FlowDocument Control to Host Entire Documents)
- #250 – 在FlowDocument中使用Section (Including a Section Block in a FlowDocument)
- Dubbo架构设计详解
- opencv 如何提取图像中一个rect内部的图像
- 【Android 多媒体开发】 MediaPlayer 状态机 接口 方法 解析
- 查看MAT中的bitmap
- Npoi操作excel
- FlowDocument使用StackPanel布局需要之间加<Paragraph>
- ::GetModuleFileName函数的一个妙用
- 反编译
- ISAP
- javascript的2种继承方式详解
- Flex&Bison: Using flex on OSX 在mac上使用Flex
- 手机移动端--上传图片功能测试
- 2、JavaScript快速入门(1)
- 摇杆的死区和曲率