DocumentBlock 类 |
命名空间: CPF.Controls
public class DocumentBlock : UIElement, IDocumentStyle
DocumentBlock 类型公开以下成员。
名称 | 说明 | |
---|---|---|
![]() | DocumentBlock | 初始化 DocumentBlock 类的一个新实例 |
名称 | 说明 | |
---|---|---|
![]() | ActualOffset |
元素偏移位置
(继承自 UIElement。) |
![]() | ActualSize |
获取元素呈现的尺寸
(继承自 UIElement。) |
![]() | AllowDrop |
获取或设置一个值,该值指示此元素能否用作拖放操作的目标。
(继承自 UIElement。) |
![]() | Attacheds |
用于设置附加属性,和绑定附加属性
(继承自 CpfObject。) |
![]() | Background |
背景填充
|
![]() | Bindings |
设置绑定
(继承自 CpfObject。) |
![]() | Children |
子级,一般自定义组件的时候使用
(继承自 UIElement。) |
![]() | Classes |
应用到元素上的类名,多个类用,分割
(继承自 UIElement。) |
![]() | ClipToBounds |
获取或设置一个值,该值指示是否剪切此元素的内容(或来自此元素的子元素的内容)使其适合包含元素的大小。这是一个依赖项属性。
(继承自 Visual。) |
![]() | CommandContext |
绑定的命令上下文
(继承自 CpfObject。) |
![]() | Commands |
设置命令
(继承自 CpfObject。) |
![]() | ContextMenu |
右键菜单
(继承自 UIElement。) |
![]() | Cursor |
光标
(继承自 UIElement。) |
![]() | DataContext |
绑定的数据上下文
(继承自 CpfObject。) |
![]() | DesignMode |
是否处在设计模式
(继承自 UIElement。) |
![]() | DesiredSize |
获取在布局流程的度量传递过程中此元素计算所得的大小,包含margin。其实就是能包含所有内容的最小尺寸
(继承自 UIElement。) |
![]() | Document | |
![]() | Effect |
位图特效
(继承自 UIElement。) |
![]() | Events |
事件列表,用于优化事件订阅内存
(继承自 CpfObject。) |
![]() | Focusable |
是否可以获取焦点
(继承自 UIElement。) |
![]() | FocusFrameFill |
按tab键切换焦点显示的聚焦框填充
(继承自 UIElement。) |
![]() | FocusFrameStroke |
按tab键切换焦点显示的聚焦框
(继承自 UIElement。) |
![]() | FocusMethod |
获取焦点的导航方式
(继承自 UIElement。) |
![]() | FontFamily |
字体名称
|
![]() | FontSize |
字体尺寸
|
![]() | FontStyle |
字体样式
|
![]() | Foreground |
前景色
|
![]() | Height |
默认值为 Auto。此值必须大于或等于 0。
(继承自 UIElement。) |
![]() | IsAntiAlias |
图形抗锯齿
(继承自 UIElement。) |
![]() | IsArrangeValid |
获取一个值,该值指示此元素布局中的子元素的计算大小和位置是否有效。
(继承自 UIElement。) |
![]() | IsDisposed | (继承自 CpfObject。) |
![]() | IsDisposing | (继承自 CpfObject。) |
![]() | IsDragOver |
获取一个值,该值指示鼠标拖拽指针是否位于此元素(包括可视树上的子元素)上
(继承自 UIElement。) |
![]() | IsEnabled |
是否启用
(继承自 UIElement。) |
![]() | IsFocused |
是否有逻辑焦点
(继承自 UIElement。) |
![]() | IsHitTestVisible |
是否可以通过鼠标点击到
(继承自 UIElement。) |
![]() | IsKeyboardFocused |
键盘焦点
(继承自 UIElement。) |
![]() | IsKeyboardFocusWithin |
获取一个值,该值指示键盘焦点是否位于元素或其可视化树子元素内的任意位置
(继承自 UIElement。) |
![]() | IsMeasureValid |
获取一个值,该值指示布局度量值返回的当前大小是否有效。
(继承自 UIElement。) |
![]() | IsMouseCaptured |
该值指示此元素是否捕获了鼠标
(继承自 UIElement。) |
![]() | IsMouseOver |
获取一个值,该值指示鼠标指针是否位于此元素(包括可视树上的子元素)上
(继承自 UIElement。) |
![]() | IsRoot |
是否为根元素
(继承自 UIElement。) |
![]() | IsRootInDesignMode |
是否是设计模式下的根元素
(继承自 UIElement。) |
![]() | Item | (继承自 CpfObject。) |
![]() | Margin |
非依赖属性
(继承自 UIElement。) |
![]() | MarginBottom | (继承自 UIElement。) |
![]() | MarginLeft | (继承自 UIElement。) |
![]() | MarginRight | (继承自 UIElement。) |
![]() | MarginTop | (继承自 UIElement。) |
![]() | MaxHeight | (继承自 UIElement。) |
![]() | MaxWidth | (继承自 UIElement。) |
![]() | MinHeight | (继承自 UIElement。) |
![]() | MinWidth | (继承自 UIElement。) |
![]() | Name |
元素名称
(继承自 UIElement。) |
![]() | Parent |
父级元素
(继承自 UIElement。) |
![]() | PlayAnimationOnAddTrigger |
当添加触发器时并且触发器有设置动画,如果满足条件是否播放动画
(继承自 UIElement。) |
![]() | PresenterFor |
用作模板中的特殊元素的标记
(继承自 UIElement。) |
![]() | Presenters |
被标记了的元素
(继承自 UIElement。) |
![]() | RenderBounds |
布局之后相对于根元素的矩形剪辑区域
(继承自 UIElement。) |
![]() | RenderTransform |
渲染变换
(继承自 UIElement。) |
![]() | RenderTransformOrigin |
渲染原点
(继承自 UIElement。) |
![]() | Root |
根元素
(继承自 UIElement。) |
![]() | Site | (继承自 UIElement。) |
![]() | Size |
非依赖属性
(继承自 UIElement。) |
![]() | TabIndex |
tab键切换元素焦点时候的顺序
(继承自 UIElement。) |
![]() | Tag |
与控件关联的用户自定义数据
(继承自 UIElement。) |
![]() | Text |
获取或设置显示的文本,如果设置Document里的内容了,Text属性值不会自动变化
|
![]() | TextDecoration |
表示一个文本修饰,它是可添加到文本的视觉装饰(如下划线)。字符串格式: overline/Underline/Strikethrough/none [width[,Solid/Dash/Dot/DashDot/DashDotDot]] [color]
|
![]() | ToolTip |
获取或设置在用户界面 (UI) 中为此元素显示的工具提示对象
(继承自 UIElement。) |
![]() | Triggers |
触发器集合
(继承自 UIElement。) |
![]() | Type |
当前对象的类型
(继承自 CpfObject。) |
![]() | UseLayoutRounding |
获取或设置一个值,该值指示是否应向此元素的大小和位置布局应用布局舍入。
(继承自 UIElement。) |
![]() | Visibility |
UI元素可见性
(继承自 UIElement。) |
![]() | VisualClip |
可视对象的剪辑区域
(继承自 Visual。) |
![]() | VisualOffset |
可视化对象位置偏移
(继承自 Visual。) |
![]() | VisualTransform |
可视化对象变换
(继承自 Visual。) |
![]() | Width |
默认值为 Auto。此值必须大于或等于 0。
(继承自 UIElement。) |
![]() | ZIndex |
Z轴
(继承自 UIElement。) |
名称 | 说明 | |
---|---|---|
![]() | DesiredSizeChanged | (继承自 UIElement。) |
![]() | Disposed | (继承自 UIElement。) |
![]() | DoubleClick | (继承自 UIElement。) |
![]() | DragEnter | (继承自 UIElement。) |
![]() | DragLeave | (继承自 UIElement。) |
![]() | DragOver | (继承自 UIElement。) |
![]() | Drop | (继承自 UIElement。) |
![]() | GotFocus | (继承自 UIElement。) |
![]() | KeyDown | (继承自 UIElement。) |
![]() | KeyUp | (继承自 UIElement。) |
![]() | LayoutUpdated | (继承自 UIElement。) |
![]() | LostFocus | (继承自 UIElement。) |
![]() | MouseDown | (继承自 UIElement。) |
![]() | MouseEnter | (继承自 UIElement。) |
![]() | MouseLeave | (继承自 UIElement。) |
![]() | MouseMove | (继承自 UIElement。) |
![]() | MouseUp | (继承自 UIElement。) |
![]() | MouseWheel | (继承自 UIElement。) |
![]() | PreviewMouseDown | (继承自 UIElement。) |
![]() | PreviewMouseUp | (继承自 UIElement。) |
![]() | PropertyChanged | (继承自 CpfObject。) |
![]() | TextInput | (继承自 UIElement。) |
![]() | ToolTipOpening | (继承自 UIElement。) |
![]() | UIElementAdded |
添加可视化对象的时候
(继承自 UIElement。) |
![]() | UIElementRemoved |
移除可视化对象的时候
(继承自 UIElement。) |
名称 | 说明 | |
---|---|---|
![]() | ConvertTo |
类型转换
(由 ObjectExtenstions 定义。) |
![]() | Delay |
延迟操作
(由 ObjectExtenstions 定义。) |
![]() | Equal |
对象是否相等
(由 ObjectExtenstions 定义。) |
![]() | GetCreationCode | (由 ObjectExtenstions 定义。) |
![]() | GetPropretyValue |
获取对象属性值
(由 ObjectExtenstions 定义。) |
![]() | GetValue |
快速动态获取对象的属性值
(由 FastReflectionExtensions 定义。) |
![]() | Invoke |
快速动态调用对象的方法
(由 FastReflectionExtensions 定义。) |
![]() | SetPropretyValue |
设置属性值
(由 ObjectExtenstions 定义。) |
![]() | SetValue |
快速动态设置对象的属性值
(由 FastReflectionExtensions 定义。) |