TickBar 类 |
命名空间: CPF.Controls
public class TickBar : UIElement
TickBar 类型公开以下成员。
| 名称 | 说明 | |
|---|---|---|
| ActualOffset |
元素偏移位置
(继承自 UIElement。) | |
| ActualSize |
获取元素呈现的尺寸
(继承自 UIElement。) | |
| AllowDrop |
获取或设置一个值,该值指示此元素能否用作拖放操作的目标。
(继承自 UIElement。) | |
| Attacheds |
用于设置附加属性,和绑定附加属性
(继承自 CpfObject。) | |
| Bindings |
设置绑定
(继承自 CpfObject。) | |
| Children |
子级,一般自定义组件的时候使用
(继承自 UIElement。) | |
| Classes |
应用到元素上的类名,多个类用,分割
(继承自 UIElement。) | |
| ClipToBounds |
获取或设置一个值,该值指示是否剪切此元素的内容(或来自此元素的子元素的内容)使其适合包含元素的大小。这是一个依赖项属性。
(继承自 Visual。) | |
| CommandContext |
绑定的命令上下文
(继承自 CpfObject。) | |
| Commands |
设置命令
(继承自 CpfObject。) | |
| ContextMenu |
右键菜单
(继承自 UIElement。) | |
| Cursor |
光标
(继承自 UIElement。) | |
| DataContext |
绑定的数据上下文
(继承自 CpfObject。) | |
| DesignMode |
是否处在设计模式
(继承自 UIElement。) | |
| DesiredSize |
获取在布局流程的度量传递过程中此元素计算所得的大小,包含margin。其实就是能包含所有内容的最小尺寸
(继承自 UIElement。) | |
| Effect |
位图特效
(继承自 UIElement。) | |
| Events |
事件列表,用于优化事件订阅内存
(继承自 CpfObject。) | |
| Fill | ||
| Focusable |
是否可以获取焦点
(继承自 UIElement。) | |
| FocusFrameFill |
按tab键切换焦点显示的聚焦框填充
(继承自 UIElement。) | |
| FocusFrameStroke |
按tab键切换焦点显示的聚焦框
(继承自 UIElement。) | |
| FocusMethod |
获取焦点的导航方式
(继承自 UIElement。) | |
| Height |
默认值为 Auto。此值必须大于或等于 0。
(继承自 UIElement。) | |
| IsAntiAlias |
图形抗锯齿
(继承自 UIElement。) | |
| IsArrangeValid |
获取一个值,该值指示此元素布局中的子元素的计算大小和位置是否有效。
(继承自 UIElement。) | |
| IsDirectionReversed |
获取或设置刻度线的增加值的方向。
| |
| 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。) | |
| IsSelectionRangeEnabled | ||
| Item | (继承自 CpfObject。) | |
| Margin |
非依赖属性
(继承自 UIElement。) | |
| MarginBottom | (继承自 UIElement。) | |
| MarginLeft | (继承自 UIElement。) | |
| MarginRight | (继承自 UIElement。) | |
| MarginTop | (继承自 UIElement。) | |
| MaxHeight | (继承自 UIElement。) | |
| Maximum | ||
| MaxWidth | (继承自 UIElement。) | |
| MinHeight | (继承自 UIElement。) | |
| Minimum | ||
| MinWidth | (继承自 UIElement。) | |
| Name |
元素名称
(继承自 UIElement。) | |
| Parent |
父级元素
(继承自 UIElement。) | |
| Placement |
刻度线相对于该控件实现的 Track 的位置
| |
| PlayAnimationOnAddTrigger |
当添加触发器时并且触发器有设置动画,如果满足条件是否播放动画
(继承自 UIElement。) | |
| PresenterFor |
用作模板中的特殊元素的标记
(继承自 UIElement。) | |
| Presenters |
被标记了的元素
(继承自 UIElement。) | |
| RenderBounds |
布局之后相对于根元素的矩形剪辑区域
(继承自 UIElement。) | |
| RenderTransform |
渲染变换
(继承自 UIElement。) | |
| RenderTransformOrigin |
渲染原点
(继承自 UIElement。) | |
| ReservedSpace |
获取或设置包含为 TickBar 指定的刻度线的区域的空间缓冲区。
| |
| Root |
根元素
(继承自 UIElement。) | |
| SelectionEnd | ||
| SelectionStart | ||
| Site | (继承自 UIElement。) | |
| Size |
非依赖属性
(继承自 UIElement。) | |
| TabIndex |
tab键切换元素焦点时候的顺序
(继承自 UIElement。) | |
| Tag |
与控件关联的用户自定义数据
(继承自 UIElement。) | |
| TickFrequency | ||
| Ticks |
获取或设置刻度线的位置。
| |
| 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。) |
| 名称 | 说明 | |
|---|---|---|
| AddHandler |
为指定的事件添加事件处理程序,并将该处理程序添加到当前元素的处理程序集合中。
(继承自 CpfObject。) | |
| Arrange |
Arranges the control and its children.
(继承自 UIElement。) | |
| ArrangeCore |
The default implementation of the control's arrange pass.
(继承自 UIElement。) | |
| ArrangeOverride |
Positions child elements as part of a layout pass.
(继承自 UIElement。) | |
| BeginInvoke | (继承自 UIElement。) | |
| CaptureMouse |
捕获鼠标,只有鼠标在元素范围内按下,而且IsEnabled为TRUE的时候才能捕获。当对象已捕获鼠标后,它接收鼠标输入,不论鼠标指针是否在其边界区域。 通常只有在执行模拟拖动操作时才捕获鼠标。 若要释放鼠标捕获,请对具有捕获的对象调用 ReleaseMouseCapture 方法。
(继承自 UIElement。) | |
| ClearLocalValue |
清除本地值
(继承自 CpfObject。) | |
| Clone |
克隆依赖属性,绑定,子元素,触发器
(继承自 UIElement。) | |
| CopyTo(UIElement) |
将依赖属性本地值,绑定,子元素,触发器,拷贝到另外个对象
(继承自 UIElement。) | |
| CopyTo(CpfObject, Boolean) |
将依赖属性本地值和绑定拷贝到另外个对象
(继承自 CpfObject。) | |
| 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。) | |
| GetType | (继承自 Object。) | |
| GetValue(Byte) |
内部使用,请勿调用
(继承自 UIElement。) | |
| GetValueT(String) | (继承自 UIElement。) | |
| HasLocalOrStyleValue | (继承自 CpfObject。) | |
| HasLocalValue |
是否已经设置了本地值
(继承自 CpfObject。) | |
| HasProperty |
是否包含这个依赖属性
(继承自 CpfObject。) | |
| HitTest |
用自己的内部坐标测试内部元素,从最深的后代元素到根(自己)
(继承自 UIElement。) | |
| HitTestCore |
确定点是否在可视对象的内部,point需要包含偏移
(继承自 Visual。) | |
| 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 |
在派生类中重写时,测量子元素或者内容在布局中所需的大小,availableSize不包含当前对象的Margin和Padding,并确定由 UIElement 派生的类的大小。
(继承自 UIElement。) | |
| MemberwiseClone | (继承自 Object。) | |
| NotifyPropertyChanged |
触发INotifyPropertyChanged的PropertyChanged事件
(继承自 CpfObject。) | |
| OnAttachedChanged | (继承自 UIElement。) | |
| OnAttachedToVisualTree |
Called when the control is added to a visual tree.
(继承自 UIElement。) | |
| 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。) | |
| OnGetDefaultValue | (继承自 UIElement。) | |
| OnGotFocus | (继承自 UIElement。) | |
| OnInitializeComputeProterty |
用于初始化计算属性,请不要调用和重写,内部使用
(继承自 CpfObject。) | |
| OnKeyDown | (继承自 UIElement。) | |
| OnKeyUp | (继承自 UIElement。) | |
| OnLayoutUpdated | (继承自 UIElement。) | |
| OnLostFocus | (继承自 UIElement。) | |
| OnMouseDown | (继承自 UIElement。) | |
| OnMouseEnter | (继承自 UIElement。) | |
| OnMouseLeave | (继承自 UIElement。) | |
| OnMouseMove | (继承自 UIElement。) | |
| OnMouseUp | (继承自 UIElement。) | |
| OnMouseWheel | (继承自 UIElement。) | |
| OnOverrideMetadata |
该类型的第一个对象构造的时候调用,重写属性元数据,一般重写属性的代码写在base.OnOverrideMetadata后面
(继承自 CpfObject。) | |
| OnPreviewMouseDown | (继承自 UIElement。) | |
| OnPreviewMouseUp | (继承自 UIElement。) | |
| OnPropertyChanged | (继承自 UIElement。) | |
| OnRaiseEventTEventArgs | (继承自 CpfObject。) | |
| OnReleaseMouseCapture | (继承自 UIElement。) | |
| OnRender | (重写 VisualOnRender(DrawingContext).) | |
| 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。) |
| 名称 | 说明 | |
|---|---|---|
| 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 定义。) |