DefaultTickLabel

StockSharp.Xaml.Charting.Visuals.Axes

提供勾选轴标签渲染的类 。

继承自: TemplatableControl

实现: INotifyPropertyChanged

构造函数

DefaultTickLabel
public DefaultTickLabel()
defaultTickLabel = DefaultTickLabel()

初始化了 & ##DefaultTickLabel+# 类的新实例 。

属性

HorizontalAnchorPoint
public HorizontalAnchorPoint HorizontalAnchorPoint { get; set; }
value = defaultTickLabel.HorizontalAnchorPoint
defaultTickLabel.HorizontalAnchorPoint = value

获取或设置 HorizontalAnchorPoint 。 左值表示注释的 X1, Y1 坐标位位于左上水平。 Center 表示注释的 X1, Y1 坐标位位于中上水平水平。 Right 表示注释的 X1, Y1 坐标位位于右上水平 。

VerticalAnchorPoint
public VerticalAnchorPoint VerticalAnchorPoint { get; set; }
value = defaultTickLabel.VerticalAnchorPoint
defaultTickLabel.VerticalAnchorPoint = value

获取或设置 VerticalAnchorPoint 。 Top 值表示注解的 X1,Y1 坐标垂直于上; Center 值表示注解的 X1,Y1 坐标垂直于中; Bottom 值表示注解的 X1,Y1 坐标垂直于下.

方法

OnPropertyChanged
protected virtual void OnPropertyChanged(string propertyName)
defaultTickLabel.OnPropertyChanged(propertyName)

Implementation of INotifyPropertyChanged

propertyName
财产名称.

事件

PropertyChanged
public event PropertyChangedEventHandler PropertyChanged
defaultTickLabel.PropertyChanged += handler

当属性值发生变化时, 会发生什么 。

字段

DefaultForegroundProperty
public static readonly DependencyProperty DefaultForegroundProperty
value = DefaultTickLabel.DefaultForegroundProperty

定义 DefaultForeground DependencyProperty 定义

DefaultHorizontalAnchorPointProperty
public static readonly DependencyProperty DefaultHorizontalAnchorPointProperty
value = DefaultTickLabel.DefaultHorizontalAnchorPointProperty

定义 DefaultHorizontalAnchorPoint DependencyProperty 定义

DefaultVerticalAnchorPointProperty
public static readonly DependencyProperty DefaultVerticalAnchorPointProperty
value = DefaultTickLabel.DefaultVerticalAnchorPointProperty

定义 DefaultVerticalAnchorPoint DependencyProperty 定义

HorizontalAnchorPointProperty
public static readonly DependencyProperty HorizontalAnchorPointProperty
value = DefaultTickLabel.HorizontalAnchorPointProperty

定义 HorizontalAnchorPoint DependencyProperty 定义

LayoutTransformProperty
public static readonly DependencyProperty LayoutTransformProperty
value = DefaultTickLabel.LayoutTransformProperty

定义 LayoutTransform DependencyProperty 定义

PositionProperty
public static readonly DependencyProperty PositionProperty
value = DefaultTickLabel.PositionProperty

Defines the Position DependencyProperty

VerticalAnchorPointProperty
public static readonly DependencyProperty VerticalAnchorPointProperty
value = DefaultTickLabel.VerticalAnchorPointProperty

定义 VerticalAnchorPoint DependencyProperty 定义