| 名称 | 说明 |
---|
 | 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。) |
 | CopyTo(UIElement) |
将依赖属性本地值,绑定,子元素,触发器,拷贝到另外个对象
(继承自 UIElement。) |
 | CopyTo(CpfObject, Boolean) |
将依赖属性本地值和绑定拷贝到另外个对象
(继承自 CpfObject。) |
 | CreateView | |
 | Dispose | (继承自 CpfObject。) |
 | Dispose(Boolean) | (继承自 UIElement。) |
 | Equals | (继承自 Object。) |
 | 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。) |
 | GetRadioButtonValue |
当前视图内RadioButton的值
|
 | GetType | (继承自 Object。) |
 | GetValue(Byte) |
内部使用,请勿调用
(继承自 UIElement。) |
 | GetValueT(String) | (继承自 UIElement。) |
 | HasLocalOrStyleValue | (继承自 CpfObject。) |
 | HasLocalValue |
是否已经设置了本地值
(继承自 CpfObject。) |
 | HasProperty |
是否包含这个依赖属性
(继承自 CpfObject。) |
 | HitTest |
用自己的内部坐标测试内部元素,从最深的后代元素到根(自己)
(继承自 UIElement。) |
 | HitTestCore |
确定点是否在可视对象的内部,point需要包含偏移
(继承自 Visual。) |
 | Initialize |
调用内部InitializeComponent初始化组件
(继承自 Control。) |
 | InitializeComponent |
初始化模板,重写时一般不需要调用base.InitializeComponent()
(继承自 Control。) |
 | Invalidate |
使图像无效化,下次更新的时候重绘
(继承自 UIElement。) |
 | Invalidate(Rect) | |
 | InvalidateArrange |
Invalidates the arrangement of the control and queues a new layout pass.布局
(继承自 UIElement。) |
 | InvalidateArrange(UIElement) | |
 | InvalidateMeasure |
Invalidates the measurement of the control and queues a new layout pass.测量
(继承自 UIElement。) |
 | InvalidateMeasure(UIElement) | |
 | Invoke | (继承自 UIElement。) |
 | IsAncestors |
是否是该元素的祖先
(继承自 UIElement。) |
 | LoadStyle(View) |
清除原来样式,拷贝view样式过来
|
 | LoadStyle(String, Boolean) |
css样式,比如 Button{Background:rgb(0,142,244);} #Test{Background:rgb(0,142,244);}
|
 | LoadStyleFile |
加载样式文件,可以是内嵌,或者在线或者本地的,文件需要是utf8编码
|
 | 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 | (继承自 UIElement。) |
 | OnDragEnter | (继承自 UIElement。) |
 | OnDragLeave | (继承自 UIElement。) |
 | OnDragOver | (继承自 UIElement。) |
 | OnDrop | (继承自 UIElement。) |
 | OnElementInitialize |
内部元素初始化,内部所有元素都会调用这个,可以用来代替CSS实现复杂的属性或者模板设置,重写必须保留base.OnElementInitialize。设置Control的Template来替换模板,就需要在base.OnElementInitialize之前
|
 | OnGetDefaultValue | (继承自 UIElement。) |
 | OnGotFocus | (重写 UIElementOnGotFocus(GotFocusEventArgs).) |
 | OnInitializeComputeProterty |
用于初始化计算属性,请不要调用和重写,内部使用
(继承自 CpfObject。) |
 | OnInitialized | (继承自 Control。) |
 | OnKeyDown | (继承自 UIElement。) |
 | OnKeyUp | (继承自 UIElement。) |
 | OnLayoutUpdated | (继承自 UIElement。) |
 | OnLostFocus | (继承自 UIElement。) |
 | OnMouseDown | (继承自 UIElement。) |
 | OnMouseEnter | (继承自 UIElement。) |
 | OnMouseLeave | (继承自 UIElement。) |
 | OnMouseMove | (继承自 UIElement。) |
 | OnMouseUp | (继承自 UIElement。) |
 | OnMouseWheel | (继承自 UIElement。) |
 | OnOverrideMetadata | (重写 CpfObjectOnOverrideMetadata(OverrideMetadata).) |
 | OnPreviewMouseDown | (继承自 UIElement。) |
 | OnPreviewMouseUp | (继承自 UIElement。) |
 | OnPropertyChanged | (重写 UIElementOnPropertyChanged(String, Object, Object, PropertyMetadataAttribute).) |
 | OnRaiseEventTEventArgs | (继承自 CpfObject。) |
 | OnReleaseMouseCapture | (继承自 UIElement。) |
 | OnRender | (继承自 Control。) |
 | OnSetValue | (继承自 UIElement。) |
 | OnTextInput | (继承自 UIElement。) |
 | OnUIElementAdded | (继承自 UIElement。) |
 | OnUIElementRemoved | (继承自 UIElement。) |
 | PointToClient |
将指定屏幕点的像素位置计算成工作区坐标。
(继承自 UIElement。) |
 | PointToScreen | (重写 UIElementPointToScreen(Point).) |
 | PointToView |
将指定工作区点的位置计算成相对View的位置
(继承自 UIElement。) |
 | PositionChanged | |
 | RaiseEventTEventArgs |
触发事件
(继承自 CpfObject。) |
 | ReleaseMouseCapture |
ReleaseMouseCapture 方法对于已通过使用 CaptureMouse 方法捕获鼠标的对象禁用鼠标捕获。 当对象已捕获鼠标后,它接收鼠标输入,不论鼠标指针是否在其边界区域。 对不具有鼠标捕获的对象调用 ReleaseMouseCapture 无效。
(继承自 UIElement。) |
 | RemoveHandler |
从此元素中删除指定的路由事件处理程序。
(继承自 CpfObject。) |
 | Render | (继承自 UIElement。) |
 | RenderView |
渲染整个视图
|
 | SetCursor | |
 | SetIMEEnable | |
 | SetValue(Object, Byte) |
内部使用,请勿调用
(继承自 UIElement。) |
 | SetValueT(T, String) | (继承自 UIElement。) |
 | ToString | (继承自 UIElement。) |
 | TransformPoint |
坐标转换,将自己内部坐标转换成父级坐标
(继承自 UIElement。) |
 | TransformPointInvert |
坐标转换,将父级坐标通过逆向变换为自己内部坐标
(继承自 UIElement。) |