| DocumentStyle 类 | 
 继承层次
继承层次命名空间: CPF.Documents
 语法
语法public class DocumentStyle : CpfObject, IDocumentStyle
DocumentStyle 类型公开以下成员。
 构造函数
构造函数| 名称 | 说明 | |
|---|---|---|
|  | DocumentStyle | 
            文档元素样式
             | 
 属性
属性| 名称 | 说明 | |
|---|---|---|
|  | Attacheds | 
            用于设置附加属性,和绑定附加属性
            (继承自 CpfObject。) | 
|  | Background | 
            背景填充
             | 
|  | Bindings | 
            设置绑定
            (继承自 CpfObject。) | 
|  | CommandContext | 
            绑定的命令上下文
            (继承自 CpfObject。) | 
|  | Commands | 
            设置命令
            (继承自 CpfObject。) | 
|  | DataContext | 
            绑定的数据上下文
            (继承自 CpfObject。) | 
|  | Events | 
            事件列表,用于优化事件订阅内存
            (继承自 CpfObject。) | 
|  | FontFamily | 
            字体名称
             | 
|  | FontSize | 
            字体尺寸
             | 
|  | FontStyle | 
            字体样式
             | 
|  | Foreground | 
            前景色
             | 
|  | IsDisposed | (继承自 CpfObject。) | 
|  | IsDisposing | (继承自 CpfObject。) | 
|  | Item | (继承自 CpfObject。) | 
|  | Parent | |
|  | TextDecoration | 
            表示一个文本修饰,它是可添加到文本的视觉装饰(如下划线)。字符串格式: overline/Underline/Strikethrough/none [width[,Solid/Dash/Dot/DashDot/DashDotDot]] [color]
             | 
|  | Type | 
            当前对象的类型
            (继承自 CpfObject。) | 
 方法
方法 事件
事件| 名称 | 说明 | |
|---|---|---|
|  | PropertyChanged | (继承自 CpfObject。) | 
 扩展方法
扩展方法| 名称 | 说明 | |
|---|---|---|
|  | ConvertTo | 
            类型转换
            (由 ObjectExtenstions 定义。) | 
|  | Delay | 
            延迟操作
            (由 ObjectExtenstions 定义。) | 
|  | Equal | 
            对象是否相等
            (由 ObjectExtenstions 定义。) | 
|  | GetCreationCode | (由 ObjectExtenstions 定义。) | 
|  | GetPropretyValue | 
            获取对象属性值
            (由 ObjectExtenstions 定义。) | 
|  | GetValue | 
            快速动态获取对象的属性值
            (由 FastReflectionExtensions 定义。) | 
|  | Invoke | 
            快速动态调用对象的方法
            (由 FastReflectionExtensions 定义。) | 
|  | SetPropretyValue | 
            设置属性值
            (由 ObjectExtenstions 定义。) | 
|  | SetValue | 
            快速动态设置对象的属性值
            (由 FastReflectionExtensions 定义。) | 
 参见
参见