点击或拖拽改变大小

DataGridCellTemplate 方法

DataGridCellTemplate 类型公开以下成员。

方法
  名称说明
公共方法AddHandler
为指定的事件添加事件处理程序,并将该处理程序添加到当前元素的处理程序集合中。
(继承自 CpfObject。)
公共方法Arrange
Arranges the control and its children.
(继承自 UIElement。)
受保护的方法ArrangeCore
The default implementation of the control's arrange pass.
(继承自 UIElement。)
受保护的方法ArrangeOverride (继承自 Control。)
公共方法BeginInvoke (继承自 UIElement。)
公共方法CaptureMouse
捕获鼠标,只有鼠标在元素范围内按下,而且IsEnabled为TRUE的时候才能捕获。当对象已捕获鼠标后,它接收鼠标输入,不论鼠标指针是否在其边界区域。 通常只有在执行模拟拖动操作时才捕获鼠标。 若要释放鼠标捕获,请对具有捕获的对象调用 ReleaseMouseCapture 方法。
(继承自 UIElement。)
公共方法ClearLocalValue
清除本地值
(继承自 CpfObject。)
公共方法Clone (继承自 Control。)
公共方法Convert
数据转换
公共方法ConvertBack
数据转换
公共方法CopyTo(UIElement)
将依赖属性本地值,绑定,子元素,触发器,拷贝到另外个对象
(继承自 UIElement。)
公共方法CopyTo(CpfObject, Boolean)
将依赖属性本地值和绑定拷贝到另外个对象
(继承自 CpfObject。)
公共方法Dispose (继承自 CpfObject。)
受保护的方法Dispose(Boolean) (继承自 UIElement。)
公共方法Equals (继承自 Object。)
公共方法Error
受保护的方法Finalize (继承自 CpfObject。)
公共方法FindT
查询所有内部元素,包含所有层
(继承自 UIElement。)
公共方法FindPresenterT
查找标记了的特殊元素
(继承自 UIElement。)
公共方法FindPresenterT(FuncT, Boolean)
查找标记了的特殊元素,绑定的时候使用
(继承自 UIElement。)
公共方法FindPresenterByNameT(String)
通过Name查找标记了的特殊元素
(继承自 UIElement。)
公共方法Focus (继承自 UIElement。)
公共方法Focus(NavigationMethod) (继承自 UIElement。)
公共方法GetChildren
获取子元素
(继承自 UIElement。)
公共方法GetClipBounds
获取相对于父级的正矩形剪辑区域
(继承自 UIElement。)
公共方法GetClipBounds(Rect)
获取内部相对于父级的正矩形剪辑区域
(继承自 UIElement。)
公共方法GetContentBounds (继承自 UIElement。)
公共方法GetCreationCode (继承自 CpfObject。)
公共方法GetHashCode (继承自 Object。)
公共方法GetHasLocalValueProperties
获取有LocalValue的属性和值
(继承自 CpfObject。)
公共方法GetHostClipBounds
获取在View上对应的剪辑区域
(继承自 UIElement。)
公共方法GetIntPtr
获取对象唯一地址
(继承自 UIElement。)
公共方法GetMatrixToParent
获取该元素相对Parent的变换矩阵
(继承自 UIElement。)
公共方法GetMatrixToRoot
获取该元素相对Root的最终变换矩阵
(继承自 UIElement。)
公共方法GetPropertyMetadata (继承自 CpfObject。)
公共方法GetType (继承自 Object。)
受保护的方法GetValue(Byte)
内部使用,请勿调用
(继承自 UIElement。)
公共方法GetValueT(String) (继承自 UIElement。)
公共方法HasLocalOrStyleValue (继承自 CpfObject。)
公共方法HasLocalValue
是否已经设置了本地值
(继承自 CpfObject。)
公共方法HasProperty
是否包含这个依赖属性
(继承自 CpfObject。)
公共方法HitTest
用自己的内部坐标测试内部元素,从最深的后代元素到根(自己)
(继承自 UIElement。)
公共方法HitTestCore
确定点是否在可视对象的内部,point需要包含偏移
(继承自 Visual。)
公共方法Initialize
调用内部InitializeComponent初始化组件
(继承自 Control。)
受保护的方法InitializeComponent (重写 ControlInitializeComponent.)
公共方法Invalidate
使图像无效化,下次更新的时候重绘
(继承自 UIElement。)
公共方法InvalidateArrange
Invalidates the arrangement of the control and queues a new layout pass.布局
(继承自 UIElement。)
公共方法InvalidateMeasure
Invalidates the measurement of the control and queues a new layout pass.测量
(继承自 UIElement。)
公共方法Invoke (继承自 UIElement。)
公共方法IsAncestors
是否是该元素的祖先
(继承自 UIElement。)
公共方法Measure
测量期望尺寸
(继承自 UIElement。)
受保护的方法MeasureCore
测量期望尺寸
(继承自 UIElement。)
受保护的方法MeasureOverride (继承自 Control。)
受保护的方法MemberwiseClone (继承自 Object。)
公共方法NotifyPropertyChanged
触发INotifyPropertyChanged的PropertyChanged事件
(继承自 CpfObject。)
受保护的方法OnAttachedChanged (继承自 UIElement。)
受保护的方法OnAttachedToVisualTree (继承自 Control。)
受保护的方法OnCaptureMouse (继承自 UIElement。)
受保护的方法OnChildDesiredSizeChanged (继承自 UIElement。)
受保护的方法OnDetachedFromVisualTree
Called when the control is removed from a visual tree.
(继承自 UIElement。)
受保护的方法OnDoubleClick (重写 UIElementOnDoubleClick(RoutedEventArgs).)
受保护的方法OnDragEnter (继承自 UIElement。)
受保护的方法OnDragLeave (继承自 UIElement。)
受保护的方法OnDragOver (继承自 UIElement。)
受保护的方法OnDrop (继承自 UIElement。)
受保护的方法OnGetDefaultValue (继承自 UIElement。)
受保护的方法OnGotFocus (继承自 UIElement。)
受保护的方法OnInitializeComputeProterty
用于初始化计算属性,请不要调用和重写,内部使用
(继承自 CpfObject。)
受保护的方法OnInitialized (继承自 Control。)
受保护的方法OnKeyDown (重写 UIElementOnKeyDown(KeyEventArgs).)
受保护的方法OnKeyUp (继承自 UIElement。)
受保护的方法OnLayoutUpdated (继承自 UIElement。)
受保护的方法OnLostFocus (继承自 UIElement。)
受保护的方法OnMouseDown (重写 UIElementOnMouseDown(MouseButtonEventArgs).)
受保护的方法OnMouseEnter (继承自 UIElement。)
受保护的方法OnMouseLeave (继承自 UIElement。)
受保护的方法OnMouseMove (继承自 UIElement。)
受保护的方法OnMouseUp (重写 UIElementOnMouseUp(MouseButtonEventArgs).)
受保护的方法OnMouseWheel (继承自 UIElement。)
受保护的方法OnOverrideMetadata (重写 CpfObjectOnOverrideMetadata(OverrideMetadata).)
受保护的方法OnPreviewMouseDown (继承自 UIElement。)
受保护的方法OnPreviewMouseUp (继承自 UIElement。)
受保护的方法OnPropertyChanged (继承自 UIElement。)
受保护的方法OnRaiseEventTEventArgs (继承自 CpfObject。)
受保护的方法OnReleaseMouseCapture (继承自 UIElement。)
受保护的方法OnRender (继承自 Control。)
受保护的方法OnSetValue (继承自 UIElement。)
受保护的方法OnTextInput (继承自 UIElement。)
受保护的方法OnUIElementAdded (继承自 UIElement。)
受保护的方法OnUIElementRemoved (继承自 UIElement。)
公共方法PointToClient
将指定屏幕点的像素位置计算成工作区坐标。
(继承自 UIElement。)
公共方法PointToScreen
将指定工作区点的位置计算成屏幕坐标。像素坐标
(继承自 UIElement。)
公共方法PointToView
将指定工作区点的位置计算成相对View的位置
(继承自 UIElement。)
公共方法RaiseEventTEventArgs
触发事件
(继承自 CpfObject。)
公共方法ReleaseMouseCapture
ReleaseMouseCapture 方法对于已通过使用 CaptureMouse 方法捕获鼠标的对象禁用鼠标捕获。 当对象已捕获鼠标后,它接收鼠标输入,不论鼠标指针是否在其边界区域。 对不具有鼠标捕获的对象调用 ReleaseMouseCapture 无效。
(继承自 UIElement。)
公共方法RemoveHandler
从此元素中删除指定的路由事件处理程序。
(继承自 CpfObject。)
公共方法Render (继承自 UIElement。)
受保护的方法SetValue(Object, Byte)
内部使用,请勿调用
(继承自 UIElement。)
公共方法SetValueT(T, String) (继承自 UIElement。)
公共方法ToString (继承自 UIElement。)
公共方法TransformPoint
坐标转换,将自己内部坐标转换成父级坐标
(继承自 UIElement。)
公共方法TransformPointInvert
坐标转换,将父级坐标通过逆向变换为自己内部坐标
(继承自 UIElement。)
Top
扩展方法
  名称说明
公共扩展器方法ConvertTo
类型转换
(由 ObjectExtenstions 定义。)
公共扩展器方法Delay
延迟操作
(由 ObjectExtenstions 定义。)
公共扩展器方法Equal
对象是否相等
(由 ObjectExtenstions 定义。)
公共扩展器方法GetCreationCode (由 ObjectExtenstions 定义。)
公共扩展器方法GetPropretyValue
获取对象属性值
(由 ObjectExtenstions 定义。)
公共扩展器方法GetValue
快速动态获取对象的属性值
(由 FastReflectionExtensions 定义。)
公共扩展器方法Invoke
快速动态调用对象的方法
(由 FastReflectionExtensions 定义。)
公共扩展器方法SetPropretyValue
设置属性值
(由 ObjectExtenstions 定义。)
公共扩展器方法SetValue
快速动态设置对象的属性值
(由 FastReflectionExtensions 定义。)
Top
参见