DataGridCellTemplate 类 |
命名空间: CPF.Controls
public class DataGridCellTemplate : Control
DataGridCellTemplate 类型公开以下成员。
| 名称 | 说明 | |
|---|---|---|
| DataGridCellTemplate | 初始化 DataGridCellTemplate 类的一个新实例 |
| 名称 | 说明 | |
|---|---|---|
| ActualOffset |
元素偏移位置
(继承自 UIElement。) | |
| ActualSize |
获取元素呈现的尺寸
(继承自 UIElement。) | |
| AllowDrop |
获取或设置一个值,该值指示此元素能否用作拖放操作的目标。
(继承自 UIElement。) | |
| Attacheds |
用于设置附加属性,和绑定附加属性
(继承自 CpfObject。) | |
| Background |
背景填充
(继承自 Control。) | |
| Bindings |
设置绑定
(继承自 CpfObject。) | |
| BorderFill |
边框线条填充
(继承自 Control。) | |
| BorderStroke |
获取或设置线条类型
(继承自 Control。) | |
| BorderThickness |
四周边框粗细
(继承自 Control。) | |
| BorderType |
边框类型
(继承自 Control。) | |
| Cell | ||
| Children |
子级,一般自定义组件的时候使用
(继承自 UIElement。) | |
| Classes |
应用到元素上的类名,多个类用,分割
(继承自 UIElement。) | |
| ClipToBounds |
获取或设置一个值,该值指示是否剪切此元素的内容(或来自此元素的子元素的内容)使其适合包含元素的大小。这是一个依赖项属性。
(继承自 Visual。) | |
| CommandContext |
绑定的命令上下文
(继承自 CpfObject。) | |
| Commands |
设置命令
(继承自 CpfObject。) | |
| ContextMenu |
右键菜单
(继承自 UIElement。) | |
| CornerRadius |
获取或设置一个值,该值表示将 Border 的角倒圆的程度。格式 一个数字或者四个数字 比如10或者 10,10,10,10 topLeft,topRight,bottomRight,bottomLeft
(继承自 Control。) | |
| Cursor |
光标
(继承自 UIElement。) | |
| DataContext |
绑定的数据上下文
(继承自 CpfObject。) | |
| DesignMode |
是否处在设计模式
(继承自 UIElement。) | |
| DesiredSize |
获取在布局流程的度量传递过程中此元素计算所得的大小,包含margin。其实就是能包含所有内容的最小尺寸
(继承自 UIElement。) | |
| Effect |
位图特效
(继承自 UIElement。) | |
| Events |
事件列表,用于优化事件订阅内存
(继承自 CpfObject。) | |
| Focusable |
是否可以获取焦点
(继承自 UIElement。) | |
| FocusFrameFill |
按tab键切换焦点显示的聚焦框填充
(继承自 UIElement。) | |
| FocusFrameStroke |
按tab键切换焦点显示的聚焦框
(继承自 UIElement。) | |
| FocusMethod |
获取焦点的导航方式
(继承自 UIElement。) | |
| FontFamily |
Gets or sets the font family used to draw the control's text.
(继承自 Control。) | |
| FontSize |
Gets or sets the size of the control's text in points.
(继承自 Control。) | |
| FontStyle |
Gets or sets the font style used to draw the control's text.
(继承自 Control。) | |
| Foreground |
Gets or sets the brush used to draw the control's text and other foreground elements.
(继承自 Control。) | |
| Height |
默认值为 Auto。此值必须大于或等于 0。
(继承自 UIElement。) | |
| IsAntiAlias |
图形抗锯齿
(继承自 UIElement。) | |
| IsArrangeValid |
获取一个值,该值指示此元素布局中的子元素的计算大小和位置是否有效。
(继承自 UIElement。) | |
| IsDisposed | (继承自 CpfObject。) | |
| IsDisposing | (继承自 CpfObject。) | |
| IsDragOver |
获取一个值,该值指示鼠标拖拽指针是否位于此元素(包括可视树上的子元素)上
(继承自 UIElement。) | |
| IsEnabled |
是否启用
(继承自 UIElement。) | |
| IsError |
传递数据的时候是否出错
| |
| IsFocused |
是否有逻辑焦点
(继承自 UIElement。) | |
| IsHitTestVisible |
是否可以通过鼠标点击到
(继承自 UIElement。) | |
| IsInitialized |
是否初始化组件完成
(继承自 Control。) | |
| 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。) | |
| Padding |
获取或设置描述 Thickness 及其子元素之间的空间量的 Border 值。格式:all或者left,top,right,bottom
(继承自 Control。) | |
| 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。) | |
| Template |
模板,用来外部替换InitializeComponent操作,第一个参数就是当前对象,第二个就是当前对象的Children,由于Children大部分情况下是Protect,所以这里通过参数提供。初始化组件之前设置才有意义
(继承自 Control。) | |
| TextDecoration |
表示一个文本修饰,它是可添加到文本的视觉装饰(如下划线)。字符串格式: overline/Underline/Strikethrough [width[,Solid/Dash/Dot/DashDot/DashDotDot]] [color]
(继承自 Control。) | |
| 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。) | |
| Initialized | (继承自 Control。) | |
| 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 定义。) |