语言

TickBar.Ticks 属性

定义

获取或设置刻度线的位置。

public:
 property System::Windows::Media::DoubleCollection ^ Ticks { System::Windows::Media::DoubleCollection ^ get(); void set(System::Windows::Media::DoubleCollection ^ value); };
[System.ComponentModel.Bindable(true)]
public System.Windows.Media.DoubleCollection Ticks { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.Ticks : System.Windows.Media.DoubleCollection with get, set
Public Property Ticks As DoubleCollection

属性值

一个 DoubleCollection ,指定刻度线的位置。 默认值为 null。

特性

注解

由 Ticks 属性定义的刻度线以及超出由属性定义的 Minimum 范围且 Maximum 属性值未显示。

Ticks设置属性时,不使用该TickFrequency属性。

Dependency 属性信息

项目 价值
标识符字段 TicksProperty
元数据属性设置为 true AffectsRender

适用于

另请参阅